Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Beginner Debugging: For Your Eyes Only
Initial Stuphs
First, you'll need to know your IP address. This can easily be determined by adding the following code to a test file:

<?php
echo $_SERVER['REMOTE_ADDR'];
?>
The address that's printed to the screen will be your very own internet address.
I prefer to use a prepended file on each of my sites, to cut down on the amount of code and also better my chances that the code will be cached. This can be set in your php.ini file under the value: auto_prepend_file. Anything that is common for every page on your site, and can be used before the file is loaded, goes into this file. Of course you are free to add the code in any file you'd like.
[ Next Page ]

[Page 1]  [Page 2]  


Comments:
Beginner Debugging: For Your Eyes Onlygbuisman08/03/05 11:30
it tells me i don't have Freeflashonlinegames Com 12/07/04 09:31
RE: Security issue with $debug_okJohn Starkey12/03/02 18:33
Security issue with $debug_okTed Behling12/01/02 21:52
Fair enough, but why not a log file...John Starkey10/22/02 17:58
Fair enough, but why not a log file...Oliver Tupman10/22/02 16:26
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.