RE: [PHP] RE: @file problems w/ remote files

From: Date: Tue, 11 Dec 2001 13:23:30 +0000
Subject: RE: [PHP] RE: @file problems w/ remote files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77291@lists.php.net to get a copy of this message
Thanks Tim, I had aready tried that and it didn't work either - go figure. I did, however, manage to work around the problem by setting error_reporting(0) before the operation, then returning error_reporting to it's previous value, and continuing on my mery way. Thanks for all the suggestions, Joseph -----Original Message----- From: Tim Ward [mailto:Tim.ward@stivesdirect.com] Sent: December 11, 2001 4:55 AM To: PHP General Mailing List; Joseph Fung Subject: [PHP] RE: @file problems w/ remote files How about wrapping the "@file(...);" in an "if(file_exists(...)) {...}" Doesn't seem to give an error at all , even without the @. I've tested this on non-existant domain names and with my firewall internet connection blocked. Tim http://www.chessish.com/ <http://www.chessish.com/> Thanks for any help - sorry for the miscommunication earlier. Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#77291) next »