1. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Apr 2000
    Rep Power
    I'm trying to open a socket to a web page
    that uses SSL.

    If I specify port 80 (obviously wrong, I know),
    I get an error stating that the page uses SSL,
    and that I should use https:// to specify the
    address. Of course, since I'm trying to open
    the page using fsockopen this doesn't help.

    If I specify port 443 the script just times

    When I try the same script on a non-SSL page
    using port 80 it works great, so I know the
    basic script is ok. Is there any way to specify
    that you want to connect securely in the
    HTTP request header? I've been looking for
    info on this everywhere and haven't had any

    Any help/insights appreciated.


  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    You should have more luck doing it with Perl.

    Download the following:
    1) http://www.perl.com/CPAN-local/modul...ay-0.16.tar.gz

    2) http://www.perl.com/CPAN-local/modul...rl-5.48.tar.gz

    Read the following:
    1) http://www.perl.com/CPAN-local/modul...ay-0.16.readme

    2) http://www.perl.com/CPAN-local/modul...rl-5.48.readme

    3) Readme.ssl once you extracted libwww-perl-5.48.tar.gz

    >>I've been looking for info on this everywhere and haven't had any luck.

    Well, in case PHP can't perform the tasks, you've got to go for Perl, which can do almost everything.

IMN logo majestic logo threadwatch logo seochat tools logo