views:

19

answers:

4

I have a form which uses the "GET" method.

This might be a stupid question...

I would need to view the full querystring somehow, of the form when submitting it?

I have Firebug if that would help somehow...

Thanks

+1  A: 

In PHP, you can use $_SERVER['QUERY_STRING'].

In Firebug, it's a matter of going to the Network tab and selecting the request. The query string will be in the request line after the first ?.

Artefacto
Thanks, that worked...
Camran
A: 

You can use the window.location.search from javascript or $_SERVER['QUERY_STRING'] from php.

Sarfraz
A: 

Personally, I use the FireFox extension Tamper Data for this. It's easy to use, and lets you change or view any piece of information about the request prior to its being submitted... I highly recommend it if you want to request parameters on the fly...

ircmaxell
A: 

For the client side, here is a pretty decent article on parsing in Javascript:

http://support.internetconnection.net/CODE_LIBRARY/javascript_Parsing_Query_String.shtml

Mark Schultheiss