One of my php scripts get called like:
http://www.mydomain.com/script.php?todo=doit&id=200
The variables contain:
todo: doit
id: 200
But sometimes it gets called like:
http://www.mydomain.com/script.php?todo=doit&id=200
The variables contain:
todo: doit
id: ?? (empty)
For some reason php doesn't seems to split the url correct when & is used as seperator.
Is there a way i can get the & sperator to work in my script? BTW: most of my scripts do use the & seperator, so i don't want to change the sepertor on system level, cause that means i have to rewrite all my scripts. Is it possible to change is at script level, if not, is there a eay way to parse the url by myself?
Best regards,
Twan