note 50679 added to features.commandline

From: Date: Mon, 07 Mar 2005 09:21:31 +0000
Subject: note 50679 added to features.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-86030@lists.php.net to get a copy of this message
This is the most simple way to get the named parameter. Write the script test.php as ... <? echo "Yo! my name is ".$_REQUEST["name"]."\n"; ?> and run this program as follows # php -f test.php name=Jerry Yo! my name is Jerry I am using PHP 4.3.3 (CGI) in Fedora Core 1 and It is working perfectly God Bless You! ---- Manual Page -- http://www.php.net/manual/en/features.commandline.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50679 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50679&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50679&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50679&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50679&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50679&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50679&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86030) next »