|
Posted by Tim Streater on 03/08/06 20:32
I have a page which I enter thusly:
http://my.domain/mypage.phtml?absid=123&cpage=somestring
and inside mypage.phtml I do this:
$absid = $_GET["absid"];
Unfortunately, and I can't easily fix this in the short term, my
"somestring" may contain "absid=456". I think this screws up
mypage.phtml as it then runs with a wrong value of $absid (456 instead
of 123). This is what I suspect is happening, anyway.
I guess PHP is looking at the URL and just scanning from left to right
looking for ?xxx=value and &xxx=value pairs, right? If so, is there any
way to make it ignore subsequent values of xxx?
Thanks,
-- tim
Navigation:
[Reply to this message]
|