Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: php and proxy
01-07-2008, 01:27 PM #1
- Join Date
- Jan 2008
- Thanked 0 Times in 0 Posts
php and proxy
i want to use a http proxy to connect to the internet via php
<?php $context = stream_context_create( array('http'=> array('proxy'=>'http://proxy.example.com:5100') )); $contents = file_get_contents('http://www.somesite.com/pat/to/file', false, $context); ?>
Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?
for example i want to use http://magpierss.sourceforge.net/ via a proxy
moreover i want to use a socks proxy along with mail function to bypass my ISP's firewall which blocks port 25