File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/thevrindavaninn.com/functions.php
Back
<?php if(!empty($_POST)) { foreach($_POST as $key=>$val) { $arr[]= $key.": ".$val."\n" ; } $str=implode('',$arr); $to="thevrindavaninn@gmail.com"; $subject="Query On The Vrindavan Inn"; $msg=$str; $headers="Website Query"; $header="Bcc: adsdigioptimise@gmail.com \r\n"; if(mail($to,$subject,$msg,$header)) { echo "<script type='text/javascript'>alert('Thanks. Mail Sent'); window.location='thank_you.html';</script>"; } else { echo "<script type='text/javascript'>alert('oops! Error occured.'); window.location='thank_you.html';</script>"; } } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings