pneudralics Posted June 1, 2009 Share Posted June 1, 2009 I want to check the url on a page. if (url = 'http://localhost/a.php?id=3'){ //do this } Link to comment https://forums.phpfreaks.com/topic/160510-solved-how-do-i-check-for-url/ Share on other sites More sharing options...
jxrd Posted June 1, 2009 Share Posted June 1, 2009 $_SERVER['REQUEST_URI'] Link to comment https://forums.phpfreaks.com/topic/160510-solved-how-do-i-check-for-url/#findComment-847080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.