Posted by NC on 10/11/44 11:36
Paul Dodowa wrote:
>
> Is it possible (i.e. are there any modules out there) that allows
> one to do HTTP tunneling from PHP?
Yes. You will need to work with raw HTTP headers, however.
> I'm working with PHP5 so ideally, the code is PHP5 (or
> at least OO).
It's not that difficult. Basically, all you need to do is to establish
a connection with your proxy server using fsockopen() and then send a
CONNECT request... It's rather straightforward, so you can wrap it up
in all the OOP you want...
Cheers,
NC
[Back to original message]
|