Category Archive: PHP
Posts about PHP
Here is another technique for combining multiple CSS stylesheets into a single, compressed file.
Here is a simple PHP script that will combine all CSS files (stylesheets) in a given directory. Delivering one CSS file with your web pages is much faster than delivering multiple files because there are fewer HTTP requests involved.
In this WP-Mix post, we’ll see how to send spammers on a virtual infinite loop chasing down randomly generated email addresses. It’s very satisfying.
Another effective trap for bad bots and spammers, built with PHP and a slice of .htaccess.
Here is a simple PHP script for sending email.
Here’s a quick PHP snippet for creating a simple login form for your site.
Another bad-bot trap to keep spammers and other scumbags away from your website.
Sick of teh spamz? Here’s an easy way to block a lot of automated spam from your contact form.
Quick snippet today meant as a copy/paste template for displaying your PHP and server information in the blink of an eye.
Technically cross-domain posting is not allowed, but here is a workaround that may prove useful for your brainstorming sessions. Note that this technique is aimed at advanced developers.
Whenever possible, prevent access to sensitive information about your server. Here is how to prevent PHP from displaying errors and their sensitive infos.