Posted by Janwillem Borleffs on 11/27/07 11:44
Wyngs schreef:
> <?php
> $ourFileName = "testFile.txt";
> $ourFileHandle = fopen($0urFileName, 'W') or die("can't open file");
> fclose($ourFileHandle);
> ?>
Notice the difference between '$ourFileName' and '$0urFileName'.
Variable names are case-sensitive in PHP. Tip: increase your error level
to E_ALL (either in your php.ini file or through the error_reporting
function).
JW
[Back to original message]
|