Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Unfortunate Python

Python is a wonderful language, but some parts should really have bright WARNING signs all over them. There are features that just can't be used safely and others are that are useful but people tend to use in the wrong ways.This is a rough transcript of the talk I gave at my local Python group on November 15, with some of the audience feed back mixed in. Most of this came from hanging around the Python IRC channel, something I highly recommend.[update 2011-12-19: improved "array" critique, add "python -i" suggestion to "reload" critique, add html targets to sections]Easy Stuff FirstStarting...

3,080 0       PYTHON WARNING DEFECTS DEPRECATED METHODS


  How to hide PHP Notice & Warning Messages

How to hide PHP Notice & Warning Messages. The PHP notice errors are frustrating and you are tired of seeing them when you are working on your scripts. They are showed at the beggining of your pages and may reveal confidential information to the visitor like the path to the file or the php file name in some cases.// Turn off all error reportingerror_reporting(0);// Report simple running errorserror_reporting(E_ERROR | E_WARNING | E_PARSE);// Reporting E_NOTICE can be good too (to report uninitialized// variables or catch variable name misspellings ...)error_reporting(E_ERROR | E_WARNING | ...

7,049 0       PHP METHOD ERROR WARNING DEPRECATED HIDING