Forum Moderators: coopster

Message Too Old, No Replies

How can i redirect where my form posts to?

i would like to see the data posted

         

verb

3:07 pm on May 27, 2005 (gmt 0)

10+ Year Member



I have successfully submited info to a form with cURL in the past but I have a form on my website that i attempted to post to with cURL with no luck.

the form normally posts to itself. How can i change the post action so that the info is sent somewhere that will allow me to seeall data that is sent when posting?

[edited by: ergophobe at 8:40 am (utc) on May 28, 2005]
[edit reason] no personal URLs please - see site Usage Agreement [/edit]

ramoneguru

9:44 pm on May 27, 2005 (gmt 0)

10+ Year Member



You can't just change the action portion of the form to redirect to where you please? Then use the POST variable to extract the data you need? Then again I don't know much about CURL, so that might not work...

echo '<form name = "some_form" action = "go_here.php" method = "POST">';

--Nick