|
Posted by Alvaro G. Vicario on 04/04/07 13:07
*** rchen8080@yahoo.com escribió/wrote (3 Apr 2007 19:21:45 -0700):
> I found that the php script behaves differently when it run in command
> line rather than runing over web server.
That's right. Differences include access to $_SERVER variables and
different PHP settings.
It's hard to tell anything from your code. Try to isolate the line that
doesn't behave properly.
To begin with, find out if this code does work:
<?php
mail('your@email', 'Test', 'Test');
?>
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|