executeing another files code
| From: | Ryan A | Date: | Sat, 04 Dec 2004 22:23:11 +0000 |
| Subject: | executeing another files code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-203496@lists.php.net to get a copy of this message | ||
Hey all,
Heres my problem, I have this written in "email.fff"
############# Start file ##########
Hi $firstname $lastname,
We have recieved your request for support.
We will get back to you shortly.
Regards,
$sitename
P.S below is the message you submitted:
$message
############# End file ##########
Question is:
How can I get the file in my php script and fill in those variables then
send the above email message.
I know how to open a file via fread/file I now how to do the mail() etc...
Just a little confused....
Thanks,
Ryan
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/2004