note 97928 rejected from function.explode by visualmind

From: Date: Sun, 16 May 2010 12:09:10 +0000
Subject: note 97928 rejected from function.explode by visualmind
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169306@lists.php.net to get a copy of this message
Note Submitter: nunoabc92 at gmail dot com ---- Onur Nizam onur dot nizam at yahoo dot com, I think you could use trim(fgets($handle)); instead of explode('\n', $data); and discard the $data = fread($handle, filesize($filename)); Am I correct?

« previous php.notes (#169306) next »