Jump to content

Find current path in website


mah-skeet

What is this for?  

  1. 1. What is this for?

    • Anyone know?
      0
    • Anyone?
      0


Recommended Posts

Hi Everyone,

 

I am brand new to php.  I've adopted a website that is mostly php with some asp.  I copied the code to my local machine.  I go to run the website and all of my raw text is there, but none of the stylesheets/images load.  Is there a way to see where I am in the website (as far as the path)?  What I mean is, the root of my website exists in C:\Website\root.  The default page is index.php.  Index.php references several other php pages and finally displays the page (main.php) that the user sees.  Main.php is located in C:\Website\root\source.  Like I said, I know absolutly nothing about php.  If anyone cares to help, I would greatly appreciate it.  I can provide source code...whatever you need.  FYI...I'm using PHP5.

 

Many Thanks,

 

Mark

Link to comment
https://forums.phpfreaks.com/topic/128927-find-current-path-in-website/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.