HTTPS server interaction with PHP

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
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

HTTPS server interaction with PHP

Post 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?
Last edited by Shendemiar on Fri Dec 15, 2006 4:26 am, edited 1 time in total.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

You might need to add a couple of options if you're using cURL, otherwise it's pretty much identical.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post 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?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post 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.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

Thanks, i feel encouraged now to start cracking this... and send shipments automaticly ;D
Post Reply