Problems with the Windows version of XAMPP, questions, comments, and anything related.
by Bapixx2 » 16. August 2009 18:17
I have a applicatio structure "
htdocs
|_ myapplication
|-com
| |- class
| |- abc.class.php
|-app
|- cdf.php
cdf.php is the main running script. It call "abc.class.php" with "include_once(../myapplication/com/class/abc.class.php)".
When i run the cdf.php it give error. It says - "Warning: include() [function.include]: URL file-access is disabled in the server configuration in C:\xampp\htdocs\myapplication1\app\cdf.php.php on line 10"
Why cdf.php cann't access abc.class.php file?
-
Bapixx2
-
- Posts: 1
- Joined: 16. August 2009 18:00
by Nobbie » 16. August 2009 21:47
The error message does not match the include-Statement you are showing us.
Due to the message, on line 10 is an include (or include_once or similar) which does NOT simply include a file (path), but an URI. The include-Statement which fits to the error message looks like:
include ("http://domainname.xxx/blabla/blabla.php")
and NOT(!) like
include_once("../myapplication/com/class/abc.class.php")
You see the difference?
-
Nobbie
-
- Posts: 13180
- Joined: 09. March 2008 13:04
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 147 guests