I am an extreme newbie at PHP and walking my walk through an e-book... On one example/lesson they have us request the _FILE_ variable contents to be 'echoed'. Additional lines request the PHP_VERSION and PHP_OS values as well.
Here's the question: Why do the version and OS values pop, but the word _FILE_ appears instead of the File name? Since this is such a simple script I can see that the syntax is the same across each line of code... simply:
<?
echo "<br>here is my file "._FILE_;
echo "<br>here is the OS ".PHP_OS;
//etc...
?>
OUTPUT is similar to:
here is my file _FILE_
here is the OS PHP4.3.3
Same problem with _LINE_ variable
Thanks,
Thadeus
Here's the question: Why do the version and OS values pop, but the word _FILE_ appears instead of the File name? Since this is such a simple script I can see that the syntax is the same across each line of code... simply:
<?
echo "<br>here is my file "._FILE_;
echo "<br>here is the OS ".PHP_OS;
//etc...
?>
OUTPUT is similar to:
here is my file _FILE_
here is the OS PHP4.3.3
Same problem with _LINE_ variable
Thanks,
Thadeus