note 11951 added to function.die.php

From: Date: Thu, 15 Mar 2001 00:21:53 +0000
Subject: note 11951 added to function.die.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12409@lists.php.net to get a copy of this message
THIS IS NOT THE SAME AS...<br> $filename = "/etc/group"; $fp = @fopen($filename, "r") or die ("Can't open file $filename on Line: " . __LINE__ . " in File: " . __FILE__); <BR> THIS <br> $filename = "/etc/group"; $fp = @fopen($filename, "r") || die ("Can't open file $filename on Line: " . __LINE__ . " in File: " . __FILE__); You probably are looking for the former. Just thought someone might be interested. http://www.php.net/manual/en/function.die.php

« previous php.notes (#12409) next »