Date: 06/11/01
- Next message: Valter Santos: "RE: [phplib] php4/win2K/Query_String"
- Previous message: Adam Robertson: "RE: [phplib] php4/win2K/Query_String"
- Maybe in reply to: John Lucas: "[phplib] php4/win2K/Query_String"
- Next in thread: Valter Santos: "RE: [phplib] php4/win2K/Query_String"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You don't need to parse the query string yourself php does this for you.
e.g.
test.php?one=1&two=2
When you run the script global variables entitled $one and $two with values
1 and 2 respectively will exist.
-Stewart
-----Original Message-----
From: John Lucas [mailto:lucasj <email protected>]
Sent: 11 June 2001 14:27
To: phplib <email protected>
Subject: [phplib] php4/win2K/Query_String
Hi there,
I am new to PHP however I am finding it great fun.
The current problem I am having, which I hope someone can assist with, is
when I try and parse the Query_String:
parse_str ($HTTP_SERVER_VARS['QUERY_STRING']);
I get a parse error if there is no Query_String present.
Any suggestions please?
Regards
John Lucas
PS: Please note my new email address!
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Valter Santos: "RE: [phplib] php4/win2K/Query_String"
- Previous message: Adam Robertson: "RE: [phplib] php4/win2K/Query_String"
- Maybe in reply to: John Lucas: "[phplib] php4/win2K/Query_String"
- Next in thread: Valter Santos: "RE: [phplib] php4/win2K/Query_String"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

