Posts Tagged ‘ entry ’

SimpleXML and PHP Error Handling – Tumblr RSS Example « Computer …

March 17, 2011
By

SimpleXML and PHP Error Handling - Tumblr RSS Example. Overview. Use PHP's if…else statement to hide error messages on a web page when an imported RSS feed is unavailable. Sample error message(s): ...

Read more »

PHP Draft

March 13, 2010
By

PHP error handling : set_error_handler("FUNCTION_NAME"); // Upon error, call function identified by FUNCTION_NAME FUNCTION_NAME( $error_number, $error_message, opt $error_file, $error_line, $error_context){} Optional parameters ...

Read more »

Properly handling mySQL errors in PHP » netSupportChat

July 31, 2009
By

Use PHP's built-in trigger_error() instead of our own error handling, then override PHP's error handling with set_error_handler() to give a similar effect for all PHP errors! I hope you enjoyed part 1 of this series. ...

Read more »

PHP error handling « puremango.co.uk

July 5, 2009
By

PHP error handling . Does this type of error handling code look familiar? function doFunction($var) { if(is_numeric($var)) { /* do some stuff*/ } else { return -1; } }. BLEH. How ugly is that? There's no indication whether -1 is actually ...

Read more »

binarytulip.com » Blog Archive » Django tips

December 27, 2008
By

Django tips . 1. Great article on installing Django on hostmonster: (fastcgi, flup, custom python): http://fitri.manzanisimo.net/2008/05/23/hostmonster-python-25-subversion-14-django-svn-mysqldb-fcgid/. 2. Django debugging tip: ...

Read more »

JeffCroft.com: Big list of Django tips (and some python tips too)

October 9, 2008
By

Big list of Django tips (and some python tips too). My man Eric Holscher drops some Django and Python knowledge on your asses. A lot of good stuff, here. Check it out. Visit site: http://ericholscher.com/blog/2008/oct/5/ django-tips / ...

Read more »

Django tips: template loading and rendering

November 1, 2007
By

Django tips : template loading and rendering. An entry published by James Bennett on November 1, 2007, Part of the category Django. 10 comments posted. I've been reminded today by Maura that November is National Blog Posting Month, ...

Read more »

Tips and tricks

September 6, 2007
By

The first change is that now everything has a trailing slash. Django's CommonMiddleware, when APPEND_SLASH is True , takes care of that automatically and issues a redirect to the URL with the trailing slash (I don't want to have two ...

Read more »

Django tips: get the most out of generic views

November 16, 2006
By

Django tips : get the most out of generic views. An entry published by James Bennett on November 16, 2006, Part of the category Django. 17 comments posted. Recently at work I had the chance to revisit an application I'd written fairly ...

Read more »