1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

include a file

Discussion in 'PHP' started by divinequran, Mar 27, 2009.

  1. divinequran

    divinequran New Member

    Joined:
    Oct 9, 2008
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Home Page:
    hi,

    i have to include a file name with L'ornement. i do it with
    Code:
    include "L'ornement.php";
    If i do it i get the following error..
    Code:
    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.
     
  2. Mordax Praetorian

    Mordax Praetorian New Member

    Joined:
    Mar 28, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    its probably that apostrophe (') in the file name that's doing it, try renaming the file to something without
     
  3. divinequran

    divinequran New Member

    Joined:
    Oct 9, 2008
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Home Page:
    Thanks, i renamed the file without quote
     

Share This Page