Hi there
Got a problem with a script on my testbed laptop - Win XP(localhost). Ive installed php 4.3.8, Apache 2, PHP myadmin etc and it all seemed ok. phpinfo was fine, webpages ok,could create and administer databases etc.....but I have discovered that my includes dont seem to work!..and hence my whole script wont!
When running the script I am getting a T_STRING error cant parse line 28 in admin.inc.php (or very similiar wording)My include path in PHP ini is....
include_path= ".;C:\www\webroot\auction\includes"
The line 28 is the path to my uploaded folder for images in this auction script (commercial not mine!)....and on line 26 is the includes path line...if I comment this line out I get exactly the same error!!(showing I think, the includes are not working!)
The error appears in my browser as I've temporarily turned error reports to the screen "on" to make debugging easier!
With error reports off I just get a blank page. The source code is missing too and is just very basic blank page stuff!!
Does anyone have any ideas what could be the problem with the includes could the( .inc.php) extension be causing a problem?
Tho I dont think normal includes (.inc,.php etc) work as I have run a very basic test
..webroot/test.php:
<? include 'include.inc' ?>
..webroot/includes/include.inc:
<? echo FILE ?>
and it doesnt seem to work!!
Is there any other way to set the path other than php ini if am running php as a module with apache?
Any help gratefully received!
TIA