I have a strange problem which I cannot seem to resolve.
I am running PHP 4.0.6 on my Mac OSX using apache and MySQL.
Everything works fine except for one problem. Like many developers I make
extensive use of the include funtion but it does not seem to work correctly
on this installation.
when
> 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
> 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
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
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] in
5 matches
Mail list logo