soycharliente Posted June 26, 2007 Share Posted June 26, 2007 I noticed that the forum uses ; to separate variables in the URL. Is that the same as using &? And what's the difference? Is it so that you can put the URL in a link easier and it will parse better? Link to comment https://forums.phpfreaks.com/topic/57317-solved-using-in-url/ Share on other sites More sharing options...
cooldude832 Posted June 26, 2007 Share Posted June 26, 2007 probably, except you are returning only 1 in the $_GET instead of an array of varibles Link to comment https://forums.phpfreaks.com/topic/57317-solved-using-in-url/#findComment-283361 Share on other sites More sharing options...
soycharliente Posted June 26, 2007 Author Share Posted June 26, 2007 What? Are you saying that you can only return one variable? I'm used GET with more than one before. Example link to look at: the logout link on the bar at top. action=logout;sesc=garbage Link to comment https://forums.phpfreaks.com/topic/57317-solved-using-in-url/#findComment-283375 Share on other sites More sharing options...
cooldude832 Posted June 26, 2007 Share Posted June 26, 2007 no i'm saying it returns one variable $_GET['action'] and then they explode it at the ; Link to comment https://forums.phpfreaks.com/topic/57317-solved-using-in-url/#findComment-283380 Share on other sites More sharing options...
soycharliente Posted June 26, 2007 Author Share Posted June 26, 2007 AH ok. Thanks. Link to comment https://forums.phpfreaks.com/topic/57317-solved-using-in-url/#findComment-283386 Share on other sites More sharing options...
cooldude832 Posted June 26, 2007 Share Posted June 26, 2007 its probably faster that way because it reduces the server load gathering $_REQUEST, also it allows them to only dedicate the name action instead of lots of pre named super globals Link to comment https://forums.phpfreaks.com/topic/57317-solved-using-in-url/#findComment-283389 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.