Reply to Re: php script behaves differently when it run in command line

Your name:

Reply:


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
--

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация