Redirect and post data

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
Frederick
Forum Newbie
Posts: 13
Joined: Fri Nov 15, 2002 9:42 am

Redirect and post data

Post by Frederick »

Hi.

The following code:

Code: Select all

header("Location: http://www.whatever.com/test.php");
Will redirect a browser to http://www.whatever.com/test.php

Is there a way to send POST data to test.php using this method, or a similiar way?


thanks!
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Perhaps http://www.zend.com/zend/tut/tutorial-t ... p#Heading8 might interest you. It's about using cURL and libcurl.
Post Reply