note 88439 added to function.fgets

From: Date: Sat, 24 Jan 2009 00:01:10 +0000
Subject: note 88439 added to function.fgets
Groups: php.notes 
Request: Send a blank email to php-notes+get-149721@lists.php.net to get a copy of this message
As fgets uses char(10) LF as separator instead of ch(13) CF is caused me problem in using the read value(e.g. "XYZ\n" in system() command(e.g. system("XYZ\n option") was interpreted as only system("XYZ") due to \n). \n would have to striped out first. ---- Server IP: 209.41.74.194 Probable Submitter: 12.70.49.88 ---- Manual Page -- http://www.php.net/manual/en/function.fgets.php Edit -- https://master.php.net/note/edit/88439 Del: integrated -- https://master.php.net/note/delete/88439/integrated Del: useless -- https://master.php.net/note/delete/88439/useless Del: bad code -- https://master.php.net/note/delete/88439/bad+code Del: spam -- https://master.php.net/note/delete/88439/spam Del: non-english -- https://master.php.net/note/delete/88439/non-english Del: in docs -- https://master.php.net/note/delete/88439/in+docs Del: other reasons-- https://master.php.net/note/delete/88439 Reject -- https://master.php.net/note/reject/88439 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149721) next »