Re: PHP Standalone scripting?

From: Date: Tue, 18 Jul 2000 14:59:56 +0000
Subject: Re: PHP Standalone scripting?
Groups: php.general 
Request: Send a blank email to php-general+get-7080@lists.php.net to get a copy of this message
Hi Sune That's the question I bored the list twice already - many tips, but nothing more. I'm working with win95 as dev system (php3, apache, mysql). Perhaps there are ways to get it running on NT. The core problem is (i think) to set the environment variable QUERY_STING (instead of passing parameters via URL). A string containing more than 1 equal signs won't work, e.g. QUERY_STRING="id=timetable" or QUERY_STRING=id=timetable... :-( If you have no parameters to pass you can simply say: c:\php\php.exe -q inputfile.php3 which works fine. You can also define an output, like: c:\php\php.exe -q inputfile.php3 > outfile.htm if you want to generate static html code from your php stuff. Try it out, perhaps it's enough for your needs. However, if you find a way out of the passing-parametermess, I would greatly appreciate another php lesson.. :-))))))))) - Steff www.posh.ch webmaster@posh.ch

« previous php.general (#7080) next »