icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHP Debugging with the Debugger turned off

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Closed Thread
 
LinkBack Thread Tools Search this Thread Rate Thread
Old July 14th, 2003, 10:00 AM   #10 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
Okay, I think I pegged it. Tried this on dime10, which gave me an identical phpinfo output to vega.

ini_set("display_errors", "1"); // Set display_errors on
error_reporting(E_ALL); // make sure to display all errors

phpinfo();
echo "Before Variable<br>";
echo $var_not_set;
echo "After Variable";


That should work. Just those two little lines.
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old July 14th, 2003, 5:59 PM   #11 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jun 2003
16 posts
Gave thanks: 0
Thanked 0 times
awesome, thanks soooo much. My program has a globals file, just stuck it in there and boom debuggness enabled in all of it. And I can easily turn it off for production releases.

thanks again. wooooo lets just hope there are no other funny changes to the php.ini files..... ::crosses fingers::
__________________
-Peter Thorson
Zaphoyd Graphics and Software
www.zaphoyd.com
[server vega]
zaphoyd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old July 14th, 2003, 6:21 PM   #12 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
No problem... glad I could help..
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On