Re: your mail
| From: | Miguel Cruz | Date: | Mon, 29 Apr 2002 04:01:18 +0000 |
| Subject: | Re: your mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95073@lists.php.net to get a copy of this message | ||
On Mon, 29 Apr 2002, Rodrigo wrote:
> Ok, but I'm trying the following code wich is basicaly the same Miguel
> sent me and I still get the same message.
> Please excuseme for being so repetitive but Í don't seem to see where is
> the mistake, Sorry guys for the trouble.
>
> <?php
>
> $file_pointer = fopen('/public_html/emails.txt', "a") || exit;
> $string_to_write = ("$newemail") . "\n";
> fwrite($file_pointer, $string_to_write);
> fclose($file_pointer);
>
> ?>
My apologies. Change "||" in the first line to "or".
miguel