...

View Full Version : include file



divinequran
03-27-2009, 06:24 PM
hi,

i have to include a file name with L'ornement. i do it with

include "L'ornement.php";
If i do it i get the following error..


Warning: include(L\'ornement.php) [function.include]: failed to open stream: No such file or directory in ...

but i have a file with L'ornement.php, help please.

Fumigator
03-27-2009, 07:46 PM
The easy solution is to not use quotes in filenames.

RomanTaylor
03-27-2009, 08:22 PM
This should fix your problem. Why did you even use ' in the file name? php is sensitive language, so he didn't like it :)


include("L\'ornement.php");



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum