Perad Posted October 7, 2008 Share Posted October 7, 2008 Is it possible to send POST data with PHP? i.e. instead of header('location: page.php?age=10'); just sending the user to the location and the age information separately? Link to comment https://forums.phpfreaks.com/topic/127369-send-post-data-with-php/ Share on other sites More sharing options...
DarkWater Posted October 7, 2008 Share Posted October 7, 2008 Store it in a session. Link to comment https://forums.phpfreaks.com/topic/127369-send-post-data-with-php/#findComment-658888 Share on other sites More sharing options...
Orio Posted October 7, 2008 Share Posted October 7, 2008 I've never done that, but it should be possible. Sending post data is simply sending extra headers. You just need to know how to do that properly. Check out this link: http://netevil.org/blog/2006/nov/http-post-from-php-without-curl Or other links by Google: http://www.google.com/search?hl=en&q=php+send+post+data+headers Orio. Link to comment https://forums.phpfreaks.com/topic/127369-send-post-data-with-php/#findComment-658890 Share on other sites More sharing options...
dilum Posted October 7, 2008 Share Posted October 7, 2008 simply you can change the form action, <form action = 'page.php' ......> or try to use curl. Link to comment https://forums.phpfreaks.com/topic/127369-send-post-data-with-php/#findComment-658892 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.