The mailform.pl uses actinic variables in the file content. I have a stand alone php mail handler file in the Site folder, how can I use a variable in the php code? Or must the php be within a page in SD?
Here is the start of my php file:
Thanks
Here is the start of my php file:
PHP Code:
<?php session_start();
//$my_email = "hello@graphicz.solutions";
$my_email = "<actinic:variable name='Email'/>";
$from_email = "noreply@graphicz.solutions";
$subject = "Enquiry from <actinic:variable name='CompanyName' /> Website";
$Securimage_CAPTCHA = 1;
include_once dirname(__FILE__) . '/securimage/securimage.php';
$securimage = new Securimage();
etc etc etc etc
Comment