Posted by Wyngs on 11/28/07 03:34
Janwillem Borleffs wrote:
> 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
Dang me! I went over this a dozen times to make sure I wasn't posting a
typo here, and I did anyhow. Many thanks.
I still haven't checked to see if I have access to php.ini with my host,
but I've made a note here to do so.
Navigation:
[Reply to this message]
|