RE: [phplib] php4/win2K/Query_String From: Taylor, Stewart (Stewart.Taylor <email protected>)
Date: 06/11/01

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>