it works now, only it's earasing everything and then writing to the file.
i think we have almost got this figured out. here's what the code looks like
for the entire tag...
---
", $message);
$date = date("l, F j Y, h:i a");
$message = "mailto:$email>$name
-- $da
it works now, only it's earasing everything and then writing to the file.
i think we have almost got this figured out. here's what the code looks like
for the entire tag...
---
", $message);
$date = date("l, F j Y, h:i a");
$message = "mailto:$email>$name
-- $da
wart
-Original Message-
From: adam [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2001 12:00
To: [EMAIL PROTECTED]
Subject: Re: [PHP] please help with this simple problem
i tryed it and it ended up having an error that was caused originally by a
lack of a $ on the 3rd line variable... after
p);
>>
>> -Stewart
>>
>> -Original Message-
>> From: adam [mailto:[EMAIL PROTECTED]]
>> Sent: 22 March 2001 11:17
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] please help with this simple problem
>>
>>
>> i am coding a simple s
se($fp);
>
> -Stewart
>
> -Original Message-
> From: adam [mailto:[EMAIL PROTECTED]]
> Sent: 22 March 2001 11:17
> To: [EMAIL PROTECTED]
> Subject: [PHP] please help with this simple problem
>
>
> i am coding a simple script to post a text area into a file. it wor
p,$message);
fwrite($fp,$data);
fclose($fp);
-Stewart
-Original Message-
From: adam [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2001 11:17
To: [EMAIL PROTECTED]
Subject: [PHP] please help with this simple problem
i am coding a simple script to post a text area into a file. it works, but
it p
i am coding a simple script to post a text area into a file. it works, but
it posts it at the bottom and i wanted to have it post to the top of the
text already there..
here's a snip of the important part of the script:
$fp = fopen (basename($PHP_SELF) . ".comment", "a");
fwrite ($fp, $message)
7 matches
Mail list logo