Category Archive: PHP
Posts about PHP
Simple PHP login form
Here’s a quick PHP snippet for creating a simple login form for your site.
Spammer Trap
Another bad-bot trap to keep spammers and other scumbags away from your website.
Stop form spam with a hidden field
Sick of teh spamz? Here’s an easy way to block a lot of automated spam from your contact form.
Display PHP + server info
Quick snippet today meant as a copy/paste template for displaying your PHP and server information in the blink of an eye.
Cross domain posting with Ajax
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.
Disable PHP version info & error messages
Whenever possible, prevent access to sensitive information about your server. Here is how to prevent PHP from displaying errors and their sensitive infos.