NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Checcking for $_GET is null


Joined: 16 Apr 2008
Posts: 40
Reply with quote
In some code I'm checking isset($_SERVER['QUERY_STRING']). Of course this condition is always false when debugging as DBGSESSID is set. Is there a way round this in the IDE or do I have to do it programmatically add isset($_GET['DBGSESSID']?
View user's profileFind all posts by southcotSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
no, this query string is not always set. If you run debug session using debugger toolbar, the URL is not changed. Also, if the page is navigated from another page, you'll see clear URL too. In these cases DBGSESSID is set in the cookies, not in _GET.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Apr 2008
Posts: 40
Reply with quote
Which toolbar are you referring to?
View user's profileFind all posts by southcotSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
I believe Dmitri is referring the debugger toolbar in your web browser. PhpEd installs a toolbar called NuSphere ToolBar in Internet Explorer. There is also one available for Firefox called DBGbar, developed by Ian Flory, one of the users here.

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website


Joined: 16 Apr 2008
Posts: 40
Reply with quote
Thanks for gettting back to me. I never develop using IE so haven't see this. Thanks for the heads up on the Firefox add in, I'll look that over.

Charlie
View user's profileFind all posts by southcotSend private message
Checcking for $_GET is null
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic