RE: [PHP] include ("foo.php") not working

2001-07-25 Thread Rudolf Visagie
I've found that when I forget to start and end the include file's code with it sometimes does exactly what you're getting. Regards Rudolf -Original Message- From: Jon Hubbard [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 01:42 To: [EMAIL PROTECTED] Subject: [PHP] include ("foo.php") no

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread maatt
Errr... feel embaressed asking but I've done the same... You do have tags around your code? Easy to leave off when there's no HTML in the page. Matt "Ilari Kaartinen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > when I include the statement then rather

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread ilari . kaartinen
> when I include the statement then rather than > parsing the file and displaying the results the whole file is just dumped to > screen as a text file. Interesting the same problem occurs whatever the > file extension so the same thing happens for foo.htm, foo.html and foo.txt! >From PHP manual

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread Andy Warwick
> I am running PHP 4.0.6 on my Mac OSX using apache and MySQL. > when I include the statement then rather than > parsing the file and displaying the results the whole file is just dumped to > screen as a text file. Interesting the same problem occurs whatever the > file extension so the same th