[PHP] executeing another files code

2004-12-04 Thread Ryan A
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

Re: [PHP] executeing another files code

2004-12-04 Thread Marek Kilimajer
Ryan A wrote: 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

Re: [PHP] executeing another files code

2004-12-04 Thread M. Sokolewicz
Marek Kilimajer wrote: Ryan A wrote: 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:

Re: [PHP] executeing another files code

2004-12-04 Thread Marek Kilimajer
M. Sokolewicz wrote: Marek Kilimajer wrote: Ryan A wrote: 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

Re: [PHP] executeing another files code

2004-12-04 Thread M. Sokolewicz
Marek Kilimajer wrote: M. Sokolewicz wrote: Marek Kilimajer wrote: Ryan A wrote: 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

Re: [PHP] executeing another files code

2004-12-04 Thread Ryan A
Hi again, One last question as am a bit confused, using this method: $s = str_replace( array('$firstname', '$lastname', '$sitename', '$message'), array($firstname, $lastname, $sitename, $message),$s); do I *have to* pass 4 arguements? Because I dont really know how many will be passed...the

Re: [PHP] executeing another files code

2004-12-04 Thread Raditha Dissanayake
Ryan A wrote: Hi again, One last question as am a bit confused, using this method: $s = str_replace( array('$firstname', '$lastname', '$sitename', '$message'), array($firstname, $lastname, $sitename, $message),$s); do I *have to* pass 4 arguements? you can set default values (eg an empty