Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: include file

  1. #1
    New Coder
    Join Date
    Dec 2008
    Location
    india
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    include file

    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
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    The easy solution is to not use quotes in filenames.

  • #3
    Regular Coder
    Join Date
    Mar 2009
    Location
    Troutdale, OR
    Posts
    147
    Thanks
    12
    Thanked 6 Times in 6 Posts
    This should fix your problem. Why did you even use ' in the file name? php is sensitive language, so he didn't like it
    PHP Code:
    include("L\'ornement.php"); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •