|
Posted by Alan Searle on 05/14/05 00:23
Hi have a piece of code with an include statement ...
<?php
include("dbconnect.php");
.... code continues ...
.... and find that the program seems to find the include file but, rather
than executing the commands, it returns the text (ie source code).
That's strange, isn't it?
How can I get it to excute? Do I need to change a setting somewhere?
Maybe in php.ini? Or is there a library (php_xxxx.dll) that needs to be
made available?
In the meantime, I'm putting all my code into one file and it works OK
(but I'm starting to lose the overview).
Anyway, ideas would be gratefully received.
Regards,
Alan Searle.
PS: I'm using PHP5 under Windows on Apache.
Navigation:
[Reply to this message]
|