PHP

TwitterFacebook

All things PHP. As we get more pearls I'd like to organize them into 2 main groups,

PHP libraries and techniques
PHP education aczietlow Jul 26

Get flash to fully experience Pearltrees

PHP Master | Better Understanding PHP’s Garbage Collection

It’s interesting how just a few years can make a difference in the names that are given to things. If this were to come up today, it would probably be called PHP Recycling Options, because rather than picking things up and throwing them into a landfill where they’ll never be seen again, we are really talking about grabbing things whose use has passed and setting them up to be useful again. But, recycling wasn’t le petit Cherie of society back when the idea was developed and so this task was given the vulgar name of ‘Garbage Collection’. What can we do but follow what history and common usage have given us? Program Generated Garbage http://phpmaster.com/better-understanding-phps-garbage-collection/

30+ PHP Best Practices for Beginners

PHP is the most widely-used language for programming on the web. Here are thirty best practices for beginners wanting to gain a firmer grasp of the fundamentals. Editor’s Note: The “Best Practices” series has been my baby for three articles now. However, due to my focus on the CI video series , I’ve decided to hand off this next entry to Glen. Having said that, I’m not very good at keeping my mouth shut! http://net.tutsplus.com/tutorials/php/30-php-best-practices-for-beginners/

Why is it better to develop in PHP with classes (OOP)? - PHP Classes blog

Introduction What are Object Oriented Programming Classes? Why it is better to develop your PHP projects using OOP classes? When OOP Classes are not really necessary? How do I migrate my global code to use OOP classes? Conclusion http://www.phpclasses.org/blog/post/178-Why-is-it-better-to-develop-in-PHP-with-classes-OOP.html
Occasionally I have had trouble sending emails using the builtin mail() function in PHP. Sometimes emails never reached their intended destination. Naturally I have assumed that there might be a problem with some spam filters used. However, lazy as I am, I have not given it a second thought. Instead I have used a PHP class that allows me to send emails using a remote smtp server using an account on that dedicated server . This has been a good solution for my setup anyways.

Problem sending mail with PHP mail function

http://www.dotvoid.com/2007/04/problem-sending-mail-with-php-mail-function/
Making changes to the php.ini file settings will not be seen until the IIS (Internet Information Services) reloads or re-caches the settings. To check the current php.ini file settings, create a page that displays the PHP info. Create a file named phpinfo.php, place the phpinfo(); on a page, this will show all the current PHP settings. Open your IIS 6 manager , expand the Application Pools folder, right click on DefaultAppPool and press Recycle . It only takes a second. Then reload the sample PHP info page (phpinfo.php). http://voices.yahoo.com/php-reloading-phpini-file-iis-6-manager-6924.html

PHP: Reloading Your php.ini File with IIS 6 Manager