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 Easier
     ASP, PHP, CGI, WEBMAIL, And More
 Packages as Low as $9.99 - No Set Up fees
        http://www.cinchhost.com/
********************************************





-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to