note 31972 added to features.commandline

From: Date: Sun, 11 May 2003 07:48:45 +0000
Subject: note 31972 added to features.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-47833@lists.php.net to get a copy of this message
A similar question like the ones before, but with some difference. I want to 'fool' my locally installed php.exe (yes, on Windows... exe version 4.2.x) to read parameters he usually would get from cookie and or post vars.. I know I could do it via a webserver (in fact I have two installed and use them), but to do some quick previews of the page it would be convenient do be able to do it from the preview function of my editor... HOW do I have to pass arguments to php.exe in a way php 'thinks' it's comming from a server ?? Thanks of beforehand Wilko -- http://www.php.net/manual/en/features.commandline.php http://master.php.net/manage/user-notes.php?action=edit+31972 http://master.php.net/manage/user-notes.php?action=delete+31972 http://master.php.net/manage/user-notes.php?action=reject+31972

« previous php.notes (#47833) next »