fetch data from secure site

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
urnetmate
Forum Commoner
Posts: 27
Joined: Wed Sep 27, 2006 1:09 am

fetch data from secure site

Post by urnetmate »

How to fetch data from secure site or https remote server?
I want to submit posted value to remote sercure server and get response from the same page.
I used fsockopen. fsockopen is working for normal http site. but this function is not working for sercure site.

Please help!!!!!!!!!!!!!!!!
Last edited by urnetmate on Fri Nov 17, 2006 6:17 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If PHP has the SSL packages installed, file_get_contents() quite often. The url would be ssl://domain/path/file.ext
Post Reply