FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Printing out or displaying for debugging
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Printing out or displaying for debugging [message #179844 is a reply to message #179836] Tue, 11 December 2012 17:52 Go to previous messageGo to previous message
Martin Leese is currently offline  Martin Leese
Messages: 23
Registered: June 2012
Karma:
Junior Member
C wrote:
> What is a good way to see the values of a few variables for debugging?
> I cannot debug locally. I have to put the code on the server in the
> normal Internet site
....

I debug locally using the PHP Command Line
Interpreter (CLI). In a Windows BAT file, I
use:
php -n -f "%inputFile%" > "%outputFile%"

--
Regards,
Martin Leese
E-mail: please(at)see(dot)Web(dot)for(dot)e-mail(dot)INVALID
Web: http://members.tripod.com/martin_leese/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When is it possible for $_SERVER['SERVER_NAME'] to contain something other than the URL which actvated the script?
Next Topic: Re: Converting file from word.doc to pdf...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 23:51:31 GMT 2024

Total time taken to generate the page: 0.05090 seconds