?
Solved

Why doesn't QUERY_STRING work in PHP 5?

Posted on 2007-10-11
3
Medium Priority
?
490 Views
Last Modified: 2010-05-18
Going from PHP4 to 5: I know I have  to change HTTP_GET_VARS to _GET.
Is there a new form for QUERY_STRING?
0
Comment
Question by:cshilepsky
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 200 total points
ID: 20056330
$_SERVER['QUERY_STRING']

To get a full list for your server ...

Save this as phpinfo.php on your web server and run it via your browser.

<?php phpinfo(); ?>
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 20056337
http://www.php.net/manual/en/reserved.variables.php for a full list of built variables.
0
 

Author Comment

by:cshilepsky
ID: 20056433
Thank you!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question