Re: PHP and Jigsaw
| From: | Richard Lynch | Date: | Tue, 16 Jul 2002 05:13:10 +0000 |
| Subject: | Re: PHP and Jigsaw | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107803@lists.php.net to get a copy of this message | ||
>With Jigsaw's debug facility Enabled, I get two lines on the page and the
>same two lines (without html tags of any sort) in "view source" display:
>X-Powered-By: PHP/4.2.1
>Content-type: text/html
If these two lines are showing up in the BROWSER, then something is pretty
wrong...
They're supposed to be headers...
So something could be sending out a blank line or something before these,
somehow...
If they are just showing up in debugging output, and they *ARE* headers,
then PHP *IS* getting invoked, and then dying when it tries to execute your
code.
Try using *JUST* this in your PHP document:
<?php phpinfo();?>
It's pretty hard to screw up something that short, so you'll know the PHP is
valid :-)
And, if it works, you get a wonderfully long HTML document spewed out. It's
so fun to type so little and get so much :-)
--
Like Music? http://l-i-e.com/artists.htm