NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to preset a value in $_GET before debugging


Joined: 18 Oct 2006
Posts: 75
Reply with quote
I have a small script i am debugging which normally receives a value from it caller via $_GET. When I invoke the debugger in PhpEd ny having the file open and clicking the D> button, there is no obvious way I can see of easily setting something up in $_GET prior to the debugger starting.

I could write another script that does a redirect with a url containing the parm i want in the query string part, but out of curiosity I wondered if there is and easy way to do this sort of setup in PhpEd?

TIA,
Nick.
View user's profileFind all posts by nickweaversSend private messageVisit poster's websiteYahoo Messenger
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
If you start the debugging session using the editor itself then check out the Run > Parameters item Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 18 Oct 2006
Posts: 75
Reply with quote
Wow, fantastic.

And you can capture the settings for different php files under the Launch Box ... even better.

What a great tool PhpEd is. I had to dig deep in my pockets to find the cash to buy it, but what an investment it is turning out to be!

Thanks a million for your help Blizz!
View user's profileFind all posts by nickweaversSend private messageVisit poster's websiteYahoo Messenger
How to preset a value in $_GET before debugging
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