Page 1 of 1
Querystring mystery!
Posted: Thu Jul 08, 2004 12:10 am
by JamesManke
Hey there, I have just upgraded to easyphp 1.7 from 1.6 and am having trouble with querystrings. Its almost like it doesn't reconize a querystring. Link goes to the first part of the url and leaves the string out. Is there a setting in the php.ini file that needs to be changed in order to read querystrings?
Thanks for any advice you can give me

Posted: Thu Jul 08, 2004 12:48 am
by ol4pr0
Maby its not easyphp ?! And if it is maby its a bug, which needs to be reported to them
Posted: Thu Jul 08, 2004 1:03 am
by JamesManke
This is a possibility I guess. Seems to me that that would be a pretty BIG bug if that were the case as a good part of linking pages includes querystrings. Its sends the query string over BUT with empty values. It may be noted that I have Globals turned On in the php.ini file.
Posted: Thu Jul 08, 2004 1:15 am
by markl999
When you say "it sends them with empty values" do you mean the values are missing from the url or that your 'receiving script' reports them as empty?
If it's the latter, then post an example of where you're trying to get at the query var.
Posted: Thu Jul 08, 2004 1:24 am
by JamesManke
Link on homepage...
content.php?text=yes&id=32
When I echo the query on content.php page it reads content.php?text=&id=
The values are not passing to the next page. I would post an example but it seems to
be a server side error. I am almost convinced that it has something to do with the ini
settings as I didn't have a problem using querystrings with version 1.6
Posted: Thu Jul 08, 2004 11:16 am
by John Cartwright
what do you mean when you echo
content.php?text=yes&id=32 on content.php it comes out as
content.php?text=yes&id=
Do you mean you are echo'ing the vars in the URL?
I know this is a longshot but try
echo $_GET["id"]; on content.php
Posted: Thu Jul 08, 2004 5:31 pm
by JamesManke
Solved, the problem was in the php.ini as I suspected. It was set to error_reporting(0); when it should have been set to error_reporting = none.
Phenom - I meant when I echo'd (print) the query on the second page it showed Empty values in the querystring. I may not be explaining myself correctly as I am very new to PHP. Thanks for all the insight guys, muchly appreciated:)