Jochen Buennagel wrote:
[color=blue]
> Yes. The easiest is to use a library or class that someone else wrote
> for the purpose. Check this search and see if there is anything you can
> use:
> http://www.phpclasses.org/search.htm...and&sort=score[/color]
The cHTTP class worked wonderfully.
Thanks.
--
Sugapablo - russpghREMOVE@stargate.net
http://www.sugapablo.com | ICQ: 902845
Hi, I just tryed also the cHTTP class, but didn't worked as expected for me:
When I execute my code, nothing happens. I was expecting to be redirected to the URL where I want to send data in POST.
here is my code:
<?
include("cHTTP.php");
//create instance of the class
$http = new cHTTP();
// to make posts
// clear all fields
$http->clearFields();
$http->addField ( 'email' , 'post1' );
$http->addField ( 'password' , 'post2' );
$http->postPage("http://www.sxmone.com/aroundme/testReader.php");
?>
Did you do it different? How can I be redirected to "testReader.php" with my info posted?