|Changing $_SERVER values on the fly. [message #768560]
||Tue, 20 December 2011 06:20
|| cluesome Missing name
Registered: November 2010
Location: Edinburgh, Scotland
I'm creating a website app using PDT and xdebug with a virtual host set up for the development.|
I'm pulling info. from the $_SERVER global.
In the Variables tab I see $_SERVER['REMOTE_ADDR'] is set '127.0.0.1' due to my set-up.
I'd like to change this on the fly to simulate real-world IP hits for testing. I can change it programatically by adding code to my source but that defeats the purpose; I'm trying to use the Change Value... right click option. When I do that I get the message:
"An exception occurred attempting to change the variable value.
Program under debug rejected value change."
Is it possible? Please help.
[Updated on: Tue, 20 December 2011 13:43]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06690 seconds