Unable to access files

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Unable to access files

Postby Bapixx2 » 16. August 2009 18:17

I have a applicatio structure "

|_ myapplication
| |- class
| |- abc.class.php
|- 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?
Posts: 1
Joined: 16. August 2009 18:00

Re: Unable to access files

Postby 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


You see the difference?
Posts: 11868
Joined: 09. March 2008 13:04

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests