I have just installed PHP on a win2k server running IIS. I ?think?everything is properly installed, but when I try to run a prewritten script I keep getting errors (I have tried several from different places, and keep getting the same problem). Here is a blurb from the script that is generating the error:
define(BASEHREF, "http://isatonline.com/maillist/index.php"); // Your sites main URL
define(ADMINHREF, "http://isatonline/com/maillist/admin/"); // Your sites admin URL
define(BASEPATH, "D:/Home/HCSites/webadmin/joshua/isatonline.com/www/maillist/"); // path to your base directory
define(FROMNAME, "Isatonline.com"); // when emails sent this is what shows as the from email field
define(FROMEMAIL, "info@isatonline.com"); // email address to show as the from address when email is sent
$usernam="xxxxx"; // MySQL username
$pass="xxxxx"; // MySQL Password
$db=mail"; // MySQL database
HERE IS THE ERROR I RECEIVE WHEN THE PAGE IS DISPLAYED:
Parse error: parse error, unexpected '"' in D:\Home\HCSites\webadmin\joshua\isatonline.com\www\maillist\inc\config.php on line 28
Mailing List 1.0 Demo
Join our mailing list below.
D:\Home\HCSites\webadmin\joshua\isatonline.com\www\maillist\inc\form.php on line 5
BASEHREF' method=post>
I am obviously a newbie at this and have been beating my head into the desk for about 8 hours with this!!!! Anyone who can help will be a lifesaver!!!!