I have a remote server which contains a page of ever-changing data. On this page are HTML forms next to each entry on the page (about 20 are shown, if I remember correctly) Each HTML form is just a simple:
<form method="POST" action="http://foo.com/view.php?id=342452346"> <input type="hidden" name="password" value="yourpass"> <input type="submit" name="submit" value="submit"> </form>
So, I mirrored this page using a fopen() call to the URL. The reason I'm mirroring is that I want it to auto-refresh, which I can do on my own server via PHP. ALL OF THAT IS DONE, by the way. The page works fine.
***What I'm wanting to do now is have the ability for the user(me) to enter a search term, and if one of the entries on the screen contains that term, then tell the browser to submit the form and load the next page.***
Entering the search term is simple. I can get that setup and into a variable, and I can even flag when it finds it.
What I DON'T know is how I can "submit" the form - possibly using a redirect, but how do I get the form's fields into the URL to redirect to? Isn't a hidden field not shown in the URL?