Page 1 of 1

HTTPS server interaction with PHP

Posted: Fri Dec 15, 2006 4:16 am
by Shendemiar
Is it possible, is it easy, is it problematic?

What i would like to do is to log in to https site automaticly using php, do automaticly some interacting with the pages (sending and order basicly) and logout.

Its pretty easy in case of http, but i have no idea whats involved when https is the case. Any advide?

Posted: Fri Dec 15, 2006 4:22 am
by onion2k
You might need to add a couple of options if you're using cURL, otherwise it's pretty much identical.

Posted: Fri Dec 15, 2006 4:30 am
by Shendemiar
So its more or less everyday stuff, with more than one possible approach?

If the serverholder wanted to make it impossible, can he prevent it by other means than CAPTCHA, for php script to do things on the site?

Posted: Fri Dec 15, 2006 4:35 am
by onion2k
Shendemiar wrote:If the serverholder wanted to make it impossible, can he prevent it by other means than CAPTCHA, for php script to do things on the site?
No. I've written stuff that, as far as the server is concerned, is exactly the same as a user browsing the site with Firefox.

Posted: Fri Dec 15, 2006 4:39 am
by Shendemiar
Thanks, i feel encouraged now to start cracking this... and send shipments automaticly ;D