Forum Moderators: coopster
But when I feed the DB with the path to the same tpl that is now set at my application root level.
and with the file path loaded in the DB I cannot get it to open
and get :
Warning: file_get_contents("http:// etc....sample.html") [function.file-get-contents]: failed to open stream: No such file or directory in....
ALTHOUGH IF I USE THE "ERROR PATH" AND PASTE IN MY BROWSER THEN IT WORKS!
So we know that the path is ok
I use this with file_get_contents()
$mailer->Body = str_replace('{MEMBER_NAME}', $member_name, file_get_contents($htmlBody) ) ;
what is my mistake
knowing that allow_url_fopen in On
Glad you resolved the issue!