I have many folders and subfolders on server. As I would like to add code on each page to detect server URL, I need help with this.
Code is: $_PATH1="http://" . $_SERVER['HTTP_HOST']."/";
Why I have to add on link for images also / that it will work as it is already there / in
Link is like. <img src="<?=$_PATH1?>images/myimage.jpg" ></a>



Reply With Quote


Bookmarks