Results 1 to 2 of 2

Thread: Change Absolute Path

  1. #1
    Join Date
    Aug 2009

    Change Absolute Path

    I just set-up apache on my windows computer and I'm trying to find out how to turn my absolute path from

    into this:
    The reason why is I have a variable in my php script that stores the absolute path so I don't have to retype it over and over again. The current set up works fine on my includes but when it comes to images it doesn't display the images I keep getting the error

    Not allowed to load local resource: ...

    But if I remove the "D:/" then the image will load but it won't include the PHP files. I keep getting an error failed to open stream: No such file or directory in ...

    So if anyone can help me that would be great and Thank you!

  2. #2
    Join Date
    Jul 2013
    Show the code. Both the config and the script.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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