note 76936 added to function.file
| From: | (renji143) | Date: | Mon, 06 Aug 2007 19:23:51 +0000 |
| Subject: | note 76936 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129234@lists.php.net to get a copy of this message | ||
renji dot bio at gmail dot com
This is the code for removing first line from a paragraph.This is very much use full particularly in
bioinformatics for removing first line of sequences in FASTA Format
$handle = @fopen($ourFileName, "r");
if ($handle) {
while (!feof($handle)) {
$stringbin[] = fgets($handle);
}
$newstring=array_shift($stringbin);
}
foreach($stringbin as $values)
{
$string.=$values;
}
----
Server IP: 69.147.83.197
Probable Submitter: 116.68.68.125
----
Manual Page -- http://www.php.net/manual/en/function.file.php
Edit -- https://master.php.net/note/edit/76936
Del: integrated -- https://master.php.net/note/delete/76936/integrated
Del: useless -- https://master.php.net/note/delete/76936/useless
Del: bad code -- https://master.php.net/note/delete/76936/bad+code
Del: spam -- https://master.php.net/note/delete/76936/spam
Del: non-english -- https://master.php.net/note/delete/76936/non-english
Del: in docs -- https://master.php.net/note/delete/76936/in+docs
Del: other reasons-- https://master.php.net/note/delete/76936
Reject -- https://master.php.net/note/reject/76936
Search -- https://master.php.net/manage/user-notes.php