Re: file_exists()
| From: | Eugenio Tacchini | Date: | Wed, 26 Jun 2002 14:25:47 +0000 |
| Subject: | Re: file_exists() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14424@lists.php.net to get a copy of this message | ||
At 10.25 26/06/2002 -0500, Anthony Ritter wrote:
I have a question about the PHP function file_exists(): This is taken from a textbook entitled "PHP Professional Projects" by Wilfred, Gupta, Bhatnagar (Premier Press 2002 - ISBN1-931841-53-5) on page 261 under the chapter titled "Handling Files". The authors write... "Consider the following code to understand the file_exists() function. <? if (!(file_exists("data.dat"))) { echo "The file exists"; } else { echo "The file does not exist."; }I think it could be a mistake by the author. Eugenio.