Re: SSL
| From: | Jason Sheets | Date: | Sun, 23 Mar 2003 04:43:00 +0000 |
| Subject: | Re: SSL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140735@lists.php.net to get a copy of this message | ||
Hello Rodney,
You can use Curl to send post requests, take a look at http://www.php.net/curl
If you have compiled PHP --with-openssl you can also access https locations with functions such as file_get_contents.
If Curl is not an option and you have PHP compiled with streams and --with-openssl you can use streams to post data over SSL, take a look at
Example 2 at http://us2.php.net/manual/en/ref.stream.php.
Jason
Rodney Green wrote:
Greetings! Is there a PHP function that will allow a script to connect to a web server using SSL? I would need to post data from a script to a remote server securely. The remote server has SSL enabled. Thanks, Rod ******************************************** CinchHost.com - Web Hosting Made EasierASP, PHP, CGI, WEBMAIL, And MorePackages as Low as $9.99 - No Set Up feeshttp://www.cinchhost.com/********************************************