Re: php -> html: passing parameters (GET)

From: Date: Mon, 19 Jun 2000 06:49:12 +0000
Subject: Re: php -> html: passing parameters (GET)
Groups: php.general 
Request: Send a blank email to php-general+get-2179@lists.php.net to get a copy of this message
Good morning everabody! I guess you haven't noticed the second message I posted immediately after this one. There I mentionned that everything is on Win32 (PHP3). I tried your proposal the way you wrote it, but the part QUERY_STRING="id=page1" must be non-DOS. MS-DOS says: Command or file not found... Have a good week! Steff |-------------> |(Embedded | |image moved | |to file: | |pic09658.pcx)| | | |-------------> >------------------------------------------------------------------------| |Rasmus Lerdorf <rasmus@php.net> | |18.06.2000 00:23 | >------------------------------------------------------------------------| To: Stephan Schöll <stephan.schoell@altavista.net> cc: php-general@lists.php.net (bcc: Stephan Schoell/CHHOS/ABB) Subject: Re: [PHP-GENERAL] php -> html: passing parameters (GET) Security Level:? Internal QUERY_STRING="id=page1" php -q source.php3 > dest.html On Fri, 16 Jun 2000, Stephan [iso-8859-1] Schöll wrote: > Hi all, > > In the last few days I got the great hint how to generate static html > docs from php files using "php -q source.php3 > dest.html" in the > command line (CGI) *from this list*. Thank you very much! > > The next obstacle on my way is now: how can I pass variables (GET) to > the source file? > something like > php -q source.php3?id=page1 > dest.html > ...and I think it will be the last one. > > Thanx in advance > > Steff > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#2179) next »