Query String Help!
| From: | Michael Scappa | Date: | Mon, 31 Mar 2003 18:47:08 +0000 |
| Subject: | Query String Help! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10462@lists.php.net to get a copy of this message | ||
I just finished installing PHP 4.3.1, and for some reason when a page has a query string, it
won't read the first key/value pair of the string. All of the rest seem to work fine, just not
the first. It reads it as being blank (however it appearently is setting the variable name).
For example:
results.php?term=023S&Program_Code=ART&Submit=Search
is my qs. The term=023S does not get set, although $term (or specifically $_GET[term]) does become a
variable (just the value is not set). This works with any order, whichever key/value pair comes
first (so I know its not a problem with $term being overwritten later).
Whats even more interesting, is after I'm onthe results.php page (And the $term doesn't
work), I can hit refresh and it does all of a sudden. Any thoughts? Anyone? Please i'm lost on
this, it worked before the upgrade which makes me thing possibly its a configuration thing? Heck
call me at the # below if you have any ideas :-) or just email back.
Michael Scappa
Web Developer
Verve Internet Solutions
> for higher education
228 Krams Ave., Suite 300
Philadelphia, PA 19127
p: 215.508.4920
f: 215.508.4590
toll free: 1 866-672-2666
http://www.verveinternet.com
>Verve is a division of MRB Communications, Inc