Link to home
Start Free TrialLog in
Avatar of keepwalking
keepwalking

asked on

PHP post information to a website

So i need some information how to do this. I want that my script to log in on a website, and then make another post. I have to make about 4 posts. I mean : I log in, and then i complete another form, and the another form. But all this time o have to stai logged in. Is posible ?
ASKER CERTIFIED SOLUTION
Avatar of ThomasFranke
ThomasFranke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Marcus Bointon
curl is preferred, but if you don't have it compiled in, you can use PEAR's HTTP_Client class to do similar things. The key thing you need to be able to handle is cookies between requests.

http://pear.php.net/package/HTTP_Client