-
Categories
- Browsers (15)
- CSS (12)
- Events (8)
- Git (1)
- Graphics (4)
- HTML/XHTML (4)
- JavaScript (25)
- jQuery (18)
- MySQL (3)
- News & Updates (28)
- Operating Systems (2)
- PHP (33)
- Regular Expressions (4)
- Resources (3)
- Surreal CMS (11)
- Tutorials (4)
- Web Design (4)
- Web Servers (7)
- Web Standards (4)
- WordPress (1)
Category Archives: PHP
Access Pages Without the PHP Extension Using .htaccess
There are a number of ways to make “clean URLs” work on your site, but this one is pretty straight forward. It allows you to access /any-page.php by simply going to /any-page. Just place the following into your .htaccess file … Continue reading
Posted in PHP, Web Servers
Leave a comment
The Simple Image Class for PHP
If you love working with PHP but hate the GD library, you’ll love the Simple Image PHP class we’re releasing today. This class takes the headache out of dealing with images and features over 20 useful methods.
Posted in PHP
Leave a comment
A Simple PHP CAPTCHA Script
This is one of the easiest CAPTCHA scripts you will ever use. While it doesn’t obscure the text, it will serve its purpose well for many people who need a low-level CAPTCHA solution. This script requires little-to-no setup. The only … Continue reading
Posted in PHP
10 Comments
Tips for Supporting UTF-8 in Your PHP5 Applications
Here are some great tips that will help any PHP5 developer support UTF-8 in their applications. This list isn’t comprehensive, but it will allow you to do most basic operations while avoiding troublesome character encoding issues.
Posted in PHP
Leave a comment
Sending Plain-text + HTML Emails in PHP
You can easily add some basic headers and send HTML emails using the PHP mail() function, but sometimes the resulting messages don’t seem to display correctly in certain email clients — especially those that don’t support HTML emails. The best … Continue reading
Facebook Speeds up PHP with HipHop
PHP is by far my favorite server-side scripting language, so it comes as no surprise that I’m really excited about HipHop for PHP. HipHop was developed over at Facebook and serves as a means to speed up code execution and … Continue reading
Posted in News & Updates, PHP
2 Comments
Compressing CSS with PHP
Here is a short PHP function that removes comments and whitespace from your CSS. If you happen to be generating your stylesheet dynamically, try wrapping this around the output to reduce the overall size.
Posted in CSS, PHP
Leave a comment
Calculating Age with PHP
You would think that determining a person’s age would be a very simple task for a PHP developer. However, when I asked this question for myself I found a variety of solutions that people posted online. Many of them used … Continue reading
Posted in PHP
4 Comments
Cropping an Image to Make Square Thumbnails in PHP
This PHP function will take any JPEG, GIF, or PNG image and produce an intelligently-resized thumbnail trimmed down to a square. Continue reading
Posted in PHP
13 Comments
Enabling TinyMCE’s PHP Spell Checker
Learn how to implement the PHP Spell Checker plugin in TinyMCE. Continue reading
Posted in JavaScript, PHP
Leave a comment