Posted by Richard Levasseur on 03/08/06 21:00
One rule of web development is you cannot rely on the GET/POST data at
all as the client can forge it very very easiy. You shoul do some data
checking and error handling to prevent this.
If you are trying to pass multiple values for the same parameter name,
append [] to them and they will come in as an array.
ie: ?asdf[]=foo&asdf[]=bar
You can try parse_url(), but that is probably what php uses to parse
$_GET anyways, so you'd have to write your own function to parse it and
take the first value and ignore the subsequent values.
Navigation:
[Reply to this message]
|