Re: how to debug on windows

From: Date: Wed, 13 Aug 2003 17:29:58 +0000
Subject: Re: how to debug on windows
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3700@lists.php.net to get a copy of this message
> On linux I was testing using php CGI and passing in a script parameter > which gets into the script as a $_GET variable. It seems that under > windows it is a CLI and so I'm not getting the variable. (Maybe thats > not exactly right, I've not quite solved it yet, but anyway the > variables are not getting into the script) mm. You can use either on doze too, but I think we're _meant_ to use cli (it's smaller). > As a result the script should exit with a "Please enter a location" > error message. It's just that the print statement don't seem to be > getting to the DOS window so I assumed there was an error. You might find it helpful to put flush(); on the line following the print/echo command. Depending on which version of doze you're using, some of them seem to need it.

« previous php.gtk.general (#3700) next »