note 104182 added to function.readline
| From: | Anonymous at osu1 dot php dot net | Date: | Mon, 30 May 2011 16:12:26 +0000 |
| Subject: | note 104182 added to function.readline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180097@lists.php.net to get a copy of this message | ||
Calling readline() always enables filename autocompletion even if not requested. It does so by
looking for files in the current working directory.
This current working directory can be changed with the chdir() function.
But I don't know if there is any way to disable filename autocompletion other than set the
current working directory to an empty directory.
----
Server IP: 69.147.83.197
Probable Submitter: 85.228.18.29
----
Manual Page -- http://www.php.net/manual/en/function.readline.php
Edit -- https://master.php.net/note/edit/104182
Del: integrated -- https://master.php.net/note/delete/104182/integrated
Del: useless -- https://master.php.net/note/delete/104182/useless
Del: bad code -- https://master.php.net/note/delete/104182/bad+code
Del: spam -- https://master.php.net/note/delete/104182/spam
Del: non-english -- https://master.php.net/note/delete/104182/non-english
Del: in docs -- https://master.php.net/note/delete/104182/in+docs
Del: other reasons-- https://master.php.net/note/delete/104182
Reject -- https://master.php.net/note/reject/104182
Search -- https://master.php.net/manage/user-notes.php