I should have mentioned, running ->php -a -e -l -f file.php gives this error:
Errors parsing \path\file.php
User Profile
Collapse
-
Mail() Problem - 'Errors parsing file.php'
I have set up a php script to send a notification email to customers one week after initially placing their order. Here's the code:
<?
# First, open a database connection
#
mysql_connect(' 127.0.0.1:3306' , 'user', 'pass') or
die('Could not connect: ' . mysql_error());
mysql_select_db ('database');
#
# Query the database for orders placed seven days prior to the current date... -
Yes, you will need to install Sendmail and configure it to relay local mail (but do check it isn't an open relay).Leave a comment:
No activity results to display
Show More
Leave a comment: