read a file through firewall with file

From: Date: Wed, 07 Aug 2002 04:48:39 +0000
Subject: read a file through firewall with file
Groups: php.general 
Request: Send a blank email to php-general+get-111469@lists.php.net to get a copy of this message
I am behind a firewall at work. I have a script that uses file() to read a url $read_file = file(http://www.somewhere.com); If I type the url in my browser it connects. However, when I use the file() command, it fails and I'm reasonably sure it's because I'm not passing it through some firewall syntax. Assuming the name of the firewall is "firewall", is there a way to read this file using the file() command from PHP? Thanks, -- Gaylen

« previous php.general (#111469) next »