Forum Moderators: coopster
I used
$link=$_SERVER['PHP_SELF'];
But it gave me only pages.php if the current link is [url]http://www.example.com/pages.php?catid=1&id=3[/url]
This is required as i am storing the url in a social bookmarking site
What to do?
[edited by: dreamcatcher at 12:05 pm (utc) on Sep. 2, 2007]
[edit reason] Use example.com, thanks. [/edit]