Posted by Toby A Inkster on 03/12/07 15:50
Jonah Bishop 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?
There's the HTTP_Request PEAR library; you could use system() to call a
command-line tool such as "/usr/bin/wget" or "/usr/bin/GET"; or you could
use plain old TCP sockets and your own code to make the requests (as HTTP
is a very simple text-based protocol).
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
[Back to original message]
|