note 10567 deleted from function.readline by nicos

From: Date: Mon, 14 Oct 2002 14:40:55 +0000
Subject: note 10567 deleted from function.readline by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38053@lists.php.net to get a copy of this message
apparently, i havent enough read the langage manual because in can't stop rewrite functions, i wrote a readline() similar one a week ago without knowing existence of readline(): (i post that now cause i think it would be usefull for php version under 4b4) function readline($prompt) { echo $prompt; flush(); exec("read var\necho \$var",output); return($output[0]); } example: $hostname = readline("please enter your hostname: "); echo "hostname is $hostname\n"; have a nice day :)

« previous php.notes (#38053) next »