Welcome Guest ( Log In | Register)



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Php Allow Url Include Question!, Need an admin to clarify something...
jlhaslip
post Apr 10 2008, 04:13 PM
Post #11


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,072
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Add these lines to the php code block while Debugging and remove them for a live site:

CODE
ini_set("display_errors", 1);
error_reporting(E_ALL);

or, wrap it with an IF block and set a variable via a config file to define whether the site is live or not.

CODE
$live = 'true';
if ( $live == 'true' ) {
ini_set("display_errors", 1);
error_reporting(E_ALL);
}

*untested*
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Become An Admin Of Trap17?(4)
  2. Question For Admin...(0)
  3. Question For Admin...(9)
  4. Urgent-admin Help Requested******(6)
  5. Quality Of The Website(4)
  6. Cpanel Log File - Question... Problem ?(1)
  7. Hosting Credits Php Variable?(0)
  8. The Edited By Box From Admin And Mods(3)
  9. Help Im Having Problems With The Hosting(5)
  10. Hi Board Admin Help Me(0)
  11. Can I Post Again For Admin Aprove After My Host Danied?(2)
  12. Can Someone Clarify A Rule For Me?(5)
  13. Which Mysql Version Does Trap17 Offer?(4)
  14. Questions For Admin Or Tech Team Or Anyone Who Can Help(4)
  15. How Long Does It Take...(2)


 



- Lo-Fi Version Time is now: 11th October 2008 - 08:17 PM