|
Posted by NC on 03/13/07 04:56
On Mar 12, 6:47 am, "Jonah Bishop" <jgbis...@gmail.com> wrote:
>
> Assuming I was unable to use the cURL library in my PHP
> code (due to mostly non-technical reasons), what alternatives
> do I have to do user authentication and checking the resulting
> HTTP response codes?
The good old fsockopen(). You can send raw HTTP headers and receive
responses, just like browsers do. If you have OpenSSL enabled, you
can do HTTPS just as easily. For a simple example, see my old post to
alt.php:
http://groups.google.com/group/alt.php/msg/b461757c923ebf40
Cheers,
NC
[Back to original message]
|