fopen

From: Date: Wed, 05 Mar 2003 22:22:14 +0000
Subject: fopen
Groups: php.general 
Request: Send a blank email to php-general+get-138376@lists.php.net to get a copy of this message
#http://www.php.net/manual/en/function.fopen.php $contents = fopen ("/home/pathto/file.txt", "r"); if ($contents){echo"<textarea>$contents</textarea>";} else{echo "no contents there";} Questions: What is the use of "@fopen"? Does anyone see a better way?

« previous php.general (#138376) next »