Form Action

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
scs3rd
Forum Newbie
Posts: 16
Joined: Mon Jan 30, 2006 6:17 am

Form Action

Post by scs3rd »

Please help, I have scoured the web but to no avail.

I wish to post data to a different page than the next page to be visited.
Therefore the form action posts the data to the next page but that is the not the page I want the data to be posted too! Is there any way around this?

I hope this makes sense.

Thanks in advance
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

Post the data to the next page, and then send a POST request to the page you want the data to go to.
You'll either be using cURL or fsockopen().
duk
Forum Contributor
Posts: 199
Joined: Wed May 19, 2004 8:45 am
Location: London

Post by duk »

why you just dont store DATA in a SESSION and then use it in the other page ?
scs3rd
Forum Newbie
Posts: 16
Joined: Mon Jan 30, 2006 6:17 am

Post by scs3rd »

Yeah, that was what I was looking for.

Thanks for your replies.
Post Reply