onPHP5.com

PHP5: Articles, News, Tutorials, Interviews, Software and more
  
Featured Article:
Learning PHP Data Objects
 
 
Thu, 24 Jul 2008
 Home   About   Contribute   Contact Us   Polls  RSS feed-icon-10x10.gif
Top Tags
article codeigniter conference mysql namespaces news onphp5 oop php5 poll prado security simplexml solar symfony unicode zend zend core zend framework zend platform
More tags »

Not logged in
Login | Register


Articles: article

What Our Users Are Saying

Sam on Exceptions in __autoload()
Wednesday, 02 July 2008, 20:31
Watch out when running eval with __autoload. $classname isn't guaranteed to be a syntactically correct... more »

dennisp (editor) on Exceptions in __autoload()
Sunday, 25 May 2008, 10:26
In reply to #5: Jacob, there is such function in PHP5.3. There aren't namespaces in... more »

Jacob on Exceptions in __autoload()
Monday, 19 May 2008, 20:58
There is no such magic function as __callstatic in PHP. There never was one.... more »

Exceptions in __autoload()

By dennisp | views: 3832 | comments: 7 | on Wednesday, 19 December 2007, 20:34

There's been many talks on exceptions cannot be thrown from the __autoload() function, as well as many times the workarounds have been discussed (all using the eval() trick to automatically define the missing class). Here I will talk about negative effects of such workarounds as well as suggest a somewhat "better" workaround (but still based on the eval() functionality and ready for namespaces).

Advocating Namespaces

By dennisp | views: 1797 | comments: 3 | on Thursday, 13 December 2007, 14:48

Recently there have been some thoughts expressed that suggested that namespaces support is not that important at the moment; and even that they are not needed at all. In this article, I would like to disagree with those ideas and advocate PHP5 namespaces, as well as to express some personal opinions about their implementation.

SimpleXML, DOM and Encodings

By dennisp | views: 7103 | on Sunday, 18 November 2007, 22:13

This is a short article that might be of interest to those who work with XML and HTML documents in different encodings using PHP5's SimpleXML and DOM extensions

i18n with PHP5: Pitfalls

By dennisp | views: 8074 | comments: 3 | on Wednesday, 14 March 2007, 17:00

PHP5 inherited the PHP4's localization support that is far from being perfect. This article pinpoints the commonest problems of localization in PHP as well as gives some tips on working around them

Error On devzone.zend.com

By dennisp | views: 2153 | comments: 3 | on Wednesday, 14 February 2007, 13:20

While surfing around Zend's Devzone, a database error popped up...

PHP5 More Secure than PHP4

By dennisp | views: 2084 | on Thursday, 08 February 2007, 14:51

SecurityFocus has published interview with Stefan Esser, an independent security consultant and application developer, who founded the PHP Security Response Team.

Some SEO Tips You Would Not Like to Miss

By dennisp | views: 4139 | on Friday, 02 February 2007, 21:11

Of course, you all are experts in search engine optimization. But there are some points that even experienced webmasters miss, and they can help improve your search engine rankings

Clickable, Obfuscated Email Addresses

By dennisp | views: 15386 | comments: 23 | on Friday, 19 January 2007, 18:21

This short article will show you how to make email addresses clickable and working in your pages but still keep them obfuscated for spam bots

Sorting Non-English Strings with MySQL and PHP (Part 1)

By dennisp | views: 5169 | comments: 5 | on Monday, 15 January 2007, 22:57

When it comes to storing textual data in a database and then sorting them alphabetically, many developers face a common problem - the database won't sort strings in their language. This short series is an advice that may suit almost all needs.



© 2008 onPHP5.com