Forum Moderators: coopster

Message Too Old, No Replies

Automatically submitting a form via the header

         

ryan_b83

3:45 pm on Jun 4, 2007 (gmt 0)

10+ Year Member



Hello, I was wondering if it is possible to automaticlly submit a form via the post method through the PHP headers.

Basically i want someone to click on a link which will run a script that submits a form. Hopfully this can be done all in PHP in the headers, but I am not sure if its possible.

Thanks!
Ryan

barns101

4:06 pm on Jun 4, 2007 (gmt 0)

10+ Year Member



I believe that it can be done with fsockopen() [php.net]

jatar_k

4:29 pm on Jun 4, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



also with cURL [php.net]