Re: https post using php
| From: | Paul Burney | Date: | Thu, 28 Mar 2002 14:33:03 +0000 |
| Subject: | Re: https post using php | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17998@lists.php.net to get a copy of this message | ||
on 3/27/02 11:45 PM, mailing list at mailing_list@BNFUSA.com appended the
following bits to my mbox:
> I am attempting to POST to a https://whatever.url.com server
> and return
> the result from the server into the script without the user knowing using
> a php script. I can not use CURL becuase the shared server I have hosting
> this site was not compiled -with-curl. I downloaded HTTP_POST PHP script
> from: http://px.sklar.com/code.html?code_id=313. Here is my
> code that I
> am using to call the functions:
> Reason: You're speaking plain HTTP to an SSL-enabled server port.
> Instead use the HTTPS scheme to access this URL, please.
1) Since this post is non-database related, it should be posted to the
PHP-General list.
2) That said, I don't think it's possible to do what you want without curl.
There's much more to an SSL/HTTPS connection that talking on a different
port.
Paul
<?php
while ($self != "asleep") {
$sheep_count++;
}
?>