This is the section of code where I am havving the problem.
<?php
//This part cut out<<<<<<<<<<<
$today = date ("l, F j, Y");//<------this is the function call
//$today = "Sunday, January 3, 2024";
//echo $REQUEST[$QUANTITY_1] ;
import_request_variables('p', 'p');
$strMessageBody .= "A new order has been received. A summary of this order appears below.\r\n";
$strMessageBody .= "\r\n";
$strMessageBody .= "Order Date: $today \r\n";//<---- this is the only place it is used:
$strMessageBody .= " \r\n";
$strMessageBody .= "Ship To: \r\n";
$strMessageBody .= "-------- \r\n";
$strMessageBody .= " " . $POST['b_first'] . " " . $POST['b_last']. " \r\n";
$strMessageBody .= " " . $POST['b_addr'] . " \r\n";
$strMessageBody .= " " . $POST['b_addr2']. " \r\n";
$strMessageBody .= " " . $POST['b_city'] . ", " . $POST['b_state'] . " " . $POST['b_zip'] . " \r\n";
$strMessageBody .= " " . $POST['b_phone'] . " \r\n";
$strMessageBody .= " " . $POST['b_fax'] . " \r\n";
$strMessageBody .= " " . $POST['b_email'] . " \r\n";
$strMessageBody .= " \r\n";
$strMessageBody .= " \r\n";
$strMessageBody .= "Qty Product ID - Product Name\r\n";
// more this way>>>>>>
?>
this is the error message I get on the thankyou page:
"Warning: date(): Unexpected error in E:\Inetpub\wwwroot\cacu\cgi-bin\checkout.php on line 118"
Thank you
Darren Crozier