Click to See Complete Forum and Search --> : sending POST data without form?


CrazyMerlin
03-26-2007, 05:52 PM
Hey guys!

I've just written a handful of methods that accept a HTTP POST array and process some data based on that.

This will all go into a larger application soon, but for testing purposes how do I send the POST data to a url without having to create a form for each of my test conditions?

I know I can populate $_POST without a form, but how do I send that data to a header?

Thanks for your help.
//erlin!

NogDog
03-26-2007, 06:43 PM
You might want to take a look at the CURL (http://www.php.net/curl) or HTTP (http://www.php.net/http) functions, if either or both are installed.

CrazyMerlin
03-26-2007, 06:46 PM
thx Dog!