Re: When my PHP file opens, I want it to automatically submit
| From: | Wei Weng | Date: | Tue, 05 Nov 2002 03:38:37 +0000 |
| Subject: | Re: When my PHP file opens, I want it to automatically submit | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90492@lists.php.net to get a copy of this message | ||
Basically, you need to do a HTTP post to the URL where it had that submit button and wrap the global IP address of computer along with other information you want to pass to that URL in the post data area.
You can search the PHP-General mailing list archive, I asked how to submit HTTP post request on that mailing list a couple of days ago. There were some sample code I think you can use. :)
Hope this helps.
Wei
At 11:08 AM 11/5/2002 +1100, Luke wrote:
Hello, On my website, I have a php form which submits the global Ip address of the computer its on to a specific email address, I want it to automatically "click" the submit button on the website without questions, it already has an email address specified in it, but you have to open the document and click "submit".. any ideas? Thanks, Luke -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php