|
Posted by Benjamin Esham on 08/06/06 17:49
Steve wrote:
> Benjamin Esham wrote:
>
> > As another poster suggested, try using "<?php" instead of just "<?".
>
> Something must definitely be wrong in my PHP setup. As soon as I change
> "<?" to "<?php" at the beginning of functions.php, nothing is displayed at
> all - even the view source is completely blank.
>
> Why would phpinfo() work, but it doesn't read this file correctly?
I don't know. At the beginning of the include file, after the <?php but
before any of the function definitions, insert
echo '<h1>functions.php</h1>';
phpinfo();
When you run your script again you should see "functions.php" and the output
from phpinfo(). If this doesn't appear, then your file is not being
included. If it does appear, your problem lies somewhere in one of your
functions or function calls.
HTH,
--
Benjamin D. Esham
bdesham@gmail.com | AIM: bdesham128 | Jabber: same as e-mail
"In the beginning the Universe was created. This has made a lot
of people very angry and been widely regarded as a bad move."
— Douglas Adams
Navigation:
[Reply to this message]
|