Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #7773
| From | Martin Leese <please@see.Web.for.e-mail.INVALID> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Printing out or displaying for debugging |
| Date | 2012-12-11 10:16 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <ka7ppf$oov$1@dont-email.me> (permalink) |
| References | <311acfc8-1a24-4cd6-93aa-3bfc1407e840@b16g2000vbh.googlegroups.com> |
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 (which does not receive a lot of human visitors),
> so it would not hurt to display the values of some variables for a few
> minutes while I am debugging.
What I typically do is make a copy of the
webpage and call it TestSomething.php. You
can then do whatever you want with the
knowledge that nobody else will visit the
page.
You can then display variables using:
<?php echo $a_variable; ?>
--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Printing out or displaying for debugging C <wrong.address.1@gmail.com> - 2012-12-11 07:59 -0800
Re: Printing out or displaying for debugging The Natural Philosopher <tnp@invalid.invalid> - 2012-12-11 16:05 +0000
Re: Printing out or displaying for debugging wrong.address.1@gmail.com - 2012-12-11 08:59 -0800
Re: Printing out or displaying for debugging Denis McMahon <denismfmcmahon@gmail.com> - 2012-12-11 20:39 +0000
Re: Printing out or displaying for debugging Salvatore <sal@yojimbo.hack.invalid> - 2012-12-11 16:24 +0000
Re: Printing out or displaying for debugging Martin Leese <please@see.Web.for.e-mail.INVALID> - 2012-12-11 10:16 -0700
Re: Printing out or displaying for debugging The Natural Philosopher <tnp@invalid.invalid> - 2012-12-11 18:18 +0000
Re: Printing out or displaying for debugging Shake <QUITAESTO@QUITAESTO.NOES> - 2012-12-11 18:31 +0100
Re: Printing out or displaying for debugging Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-11 12:32 -0500
Re: Printing out or displaying for debugging Robert Heller <heller@deepsoft.com> - 2012-12-11 13:04 -0600
Re: Printing out or displaying for debugging Martin Leese <please@see.Web.for.e-mail.INVALID> - 2012-12-11 10:52 -0700
Re: Printing out or displaying for debugging Robert Heller <heller@deepsoft.com> - 2012-12-11 13:04 -0600
Re: Printing out or displaying for debugging wrong.address.1@gmail.com - 2012-12-13 05:29 -0800
Re: Printing out or displaying for debugging SwissCheese <swisscheese@cfl.rr.com> - 2012-12-11 19:14 -0500
Re: Printing out or displaying for debugging Simon <bad@example.com> - 2012-12-12 08:18 +0200
csiph-web