User Profile

Collapse

Profile Sidebar

Collapse
Robbo
Robbo
Last Activity: Oct 27 '06, 08:55 AM
Joined: Aug 31 '06
Location: Birmingham, UK
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Robbo
    replied to Mail() Problem - 'Errors parsing file.php'
    in PHP
    I should have mentioned, running ->php -a -e -l -f file.php gives this error:

    Errors parsing \path\file.php
    See more | Go to post

    Leave a comment:


  • Robbo
    started a topic Mail() Problem - 'Errors parsing file.php'
    in PHP

    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...
    See more | Go to post

  • Robbo
    replied to sending email in php
    in PHP
    Yes, you will need to install Sendmail and configure it to relay local mail (but do check it isn't an open relay).
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...