You are here: Re: Can you run php on batch file? « PHP Programming Language « IT news, forums, messages
Re: Can you run php on batch file?

Posted by C. (http://symcbean.blogspot.com/) on 10/12/07 10:07

On 12 Oct, 06:43, "news.telus.net" <dkfjld...@dfd.com> wrote:
> Is it possible to run the php on the web container and
> be able to display debug message like what you do with servlet
> running on the Tomcat going
> System.out.println("this is debugging")?
>
> I know php provide echo or print but this isn't good enought to
> debug when becoming the big system.
>
> SK

You don't seem to have grasped that PHP does not work like Java.

I assume you mean you want to write debug information to a different
stream than the browser - yes, it is possible. There's lots of ways
of doing it, but the right way is to use the syslog facility.

Read this:

http://www.php.net/errorfunc

and this

http://www.devshed.com/c/a/PHP/Logging-With-PHP/

C.

 

Navigation:

[Reply to this 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

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