are you using a .cfg extension?!?

you are going to need to add the path to php at the top if you are.... :D

----- Original Message -----
From: "LRW" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 1:31 AM
Subject: [PHP] problems with include()


> I got a plain test to work...made a test.php that included the following:
> <html><head><title>PHP Test</title></head>
> <body>
> <?php echo "Hello World<p>";?>
> <br>
> <?include("texttest.txt");?>
> <br>
> </body></html>
>
> (texttest.txt just has some randome words in it.)
>
> But when I try to make a page with tables, and have it place the text in a
> cell, I get the following error:
> "CGI Error
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are:"
> Followed by nothing.
>
> The code is:
> <html><head><title>New Page 1</title></head>
> <body>
> <h1>Test</h1>
> <div align="left">
>   <table border="2" cellspacing="1" width="100%">
>     <tr>
>       <td width="33%">Boo</td>
>       <td width="33%">&nbsp;</td>
>       <td width="34%">&nbsp;</td>
>     </tr>
>     <tr>
>       <td width="33%">&nbsp;</td>
>       <td width="33%">
>       <?php
>       include("texttest.txt");
>       ?></td>
>       <td width="34%">&nbsp;</td>
>     </tr>
>     <tr>
>       <td width="33%">&nbsp;</td>
>       <td width="33%">&nbsp;</td>
>       <td width="34%">
>         <p align="right">Ya</td>
>     </tr>
>   </table>
> </div>
> </body>
> </html>
>
> Pretty simple and straightforward I would think. I named it tabtest.php.
>
> Any ideas why it'll work in the 1st but not the 2nd example?
>
> Thanks for all your help! =)
>
> Liam
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to