Best Tutorials website


Get the full URL of your page using PHP

Get the full URL of your page using PHP

Very often we need to have the ful URL of the page and use it somehow in our code, for example a dynamic script with social bookmarks or anything else we can think of. This can be done using Javascript but I prefer to use PHP since it's not based on the client side and it works with or without Javascript turned on in our browsers.




Views: 924 | Rating star | by Mathew




View this tutorial
Broken link Report broken link?