Brock
09-06-2005, 08:00 PM
I'm making a cronjob for a client that will automaticly activate a php script everyday. I thought it would be easy, but I just cant get it to work.
Here's the error email I get:
/home/myname/public_html/test/test2.php: line 1: ?php: No such file or directory
/home/myname/public_html/test/test2.php: line 2: =works great: command not found
/home/myname/public_html/test/test2.php: line 3: =noreply@myemail.com: command not found
/home/myname/public_html/test/test2.php: line 4: syntax error near unexpected token `'myname@gmail.com','
/home/myname/public_html/test/test2.php: line 4: ` mail('myname@gmail.com', 'single test', $message, $from);'
Please help me, I'm new to all this and so frustrated.
Brock
Here's the error email I get:
/home/myname/public_html/test/test2.php: line 1: ?php: No such file or directory
/home/myname/public_html/test/test2.php: line 2: =works great: command not found
/home/myname/public_html/test/test2.php: line 3: =noreply@myemail.com: command not found
/home/myname/public_html/test/test2.php: line 4: syntax error near unexpected token `'myname@gmail.com','
/home/myname/public_html/test/test2.php: line 4: ` mail('myname@gmail.com', 'single test', $message, $from);'
Please help me, I'm new to all this and so frustrated.
Brock