Hello!
If I have a text file like;
FindThisBeginning
Here goes several text...
FindThisEnd
FindThisOtherBeginning
Here goes other text...
FindThisOtherEnd
and so on...
How can I retrieve the portion of the text between those kind of tags
(FindThisBeginning, FindThisEnd, etc), and transfer them in
OTECTED]
> Sent: Wednesday, January 28, 2004 1:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] working with files
>
>
> hi,
>
> i have problem with writing a reading to file
> i want to write emails in files. like this
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [
replace
");
} while (true);
fclose($handle);
?>
with this
\n");
} while (true);
fclose($handle);
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
i have problem with writing a reading to file
i want to write emails in files. like this
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
etc..
this is how I write to the file
$handle = fopen($filename, "a");
fwrite($handle,"$email\n",128);
fclose($handle);
ok it writes everything
stanard newbie answer :)
php is server side, not client side
php is serverside there is no way of ever ever doing anything client side because of
this.
http://php.net/manual/en/function.fopen.php
are the functions for opening files.
--
Chris Lee
[EMAIL PROTECTED]
""Jon"" <[EM
It is a newbie question about working with local files. I just want to know
if it posible to open and modify a local file (I mean that it is located in
the local hard disk of the client machine) or because of security reasons it
is only posible to open and modify it when the file resides in the se
6 matches
Mail list logo