You can use the CURL module to do this fairly easily as it has a proxy 
setting. Some example code available at:

Rob wrote:
> hi,
> i'm trying to get phpMySetiStats (
> running on my NT4 box (Apache 2.0.39, PHP 4.2.3 and MySQL 3.23.52). 
> problem is that i am behind a proxy server and can not get the 'file'
> function to work to retrieve my stats from the Berkeley server ...
> i've searched the net & groups and noticed that i'm not the first one
> to run into this problem ; but could not find any answers ...
> anybody here knows how to use 'file' thru a proxy ?
> Rob

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to