Results 1 to 2 of 2

Thread: Help! Pathing broken!

  1. #1
    Join Date
    Feb 2011

    Help! Pathing broken!

    Links or paths that I try to reference in my subdirectories wont work.

    For instance, in my root folder I can access everything in my subfolders using <a href="">,<img src="">, or <?include('')?>, however this is not the case in my subfolders, where attempting to access them online gives me an error saying that something went wrong with the server request... why is this happening?

    I am hosting this computer on localhost, it is in the development stage.
    I am using, Apache, mySQL, and PHP.

  2. #2
    Join Date
    Nov 2010
    Los Angeles, CA
    assuming you've set up your application root in your Apache config correctly, you're free to use relative paths.

    You can use "/" to access the root directory, "../" to access the parent directory. What kind of paths are you trying to use?

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