i am trying to send email from php i have one php file with all values & other php template file.
(both files are on same server)
i am using file_get_co
$url = sprintf("%s://%s", isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http', $_SERVER['SERVER_NAME']); $content = file_get_contents($url."/file.php?test=".$test); echo $content;