Can you run php on batch file?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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.


Re: Can you run php on batch file?

Quoted text here. Click to load it

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:

and this


Site Timeline