background preloader

50 Extremely Useful PHP Tools

50 Extremely Useful PHP Tools
Advertisement By Jacob Gube PHP is one of the most widely used open-source server-side scripting languages that exist today. With over 20 million indexed domains using PHP, including major websites like Facebook, Digg and WordPress, there are good reasons why many Web developers prefer it to other server-side scripting languages, such as Python and Ruby. PHP is faster (updated), and it is the most used scripting language in practice; it has detailed documentation, a huge community, numerous ready-to-use scripts and well-supported frameworks; and most importantly, it’s much easier to get started with PHP than with other scripting languages (Python, for example). This post presents 50 useful PHP tools that can significantly improve your programming workflow. You may also want to take a look at the following related posts: Debugging Tools WebgrindWebgrind is an Xdebug profiling Web front end in PHP 5. XdebugXdebug is one of the most popular debugging PHP extensions. Documentation Tools Minify!

FlashEff | Flash Effects Component Ajax Fancy Captcha - jQuery plugin - WebDesignBeach.com Drag and Drop Captcha Demo What is it: Ajax Fancy Captcha is a jQuery plugin that helps you protect your web pages from bots and spammers. Update for September 2009: reduced size,easier integration,easy translate,few common problems fixed. File structure: -captcha –imgs –captcha.css –jquery.captcha.js –captcha.php –iepngfix.htc -latest-jquery -latest-jquery-ui -example.html -readme.txt How it works: It calls captcha.php file and gets a random number. How to install: Default Options: 1. borderColor: "", 2. captchaDir: "captcha", 3. url: "captcha/captcha.php", 4. formId: "myForm", 5. text: "Verify that you are a human,drag scissors into the circle.”, 6. items: Array(”pencil”, “scissors”, “clock”, “heart”, “note”) Dependencies: Download: Please note, if you downloaded files to your computer it won’t work properly unless you start it through web server since it uses AJAX requests. Click here to download source code! Links: Staying up to date:

10 Free CAPTCHA scripts and services for websites In the past days I received several requests from my readers to suggest some CAPTCHA scripts and services quickly to embed into a web page. This post proposes a list of ten interesting scripts and services you can use to provide protection from spam bots and ensure that only humans perform certain actions. 1. reCAPTCHA reCAPTCHA is a free service which helps prevent automated abuse of your site (such as comment spam or bogus registrations) by using a CAPTCHA to ensure that only humans perform certain actions. 2. Securimage is an open-source free PHP CAPTCHA script for generating complex images and CAPTCHA codes to protect forms from spam and abuse. 3. WebSpamProtect allows you to instantly add verification image (CAPTCHA) to your web site and protect your forms against spam robots. 4. Cryptographp is a PHP script for generate captchas. 5. 6. WP Captcha-Free blocks comment spam by using a combination of time-based hash (a.k.a. 7. 8. 9. Any suggestion? Related Content

How to Debug PHP Using Firefox with FirePHP Typically, there are two main ways of debugging server-side code: you can utilize an Integrated Development Environment (IDE) with a built-in debugger or log and perform your debugging processes in a web browser. This article shares an elegant, simple, and more maintainable way of debugging Ajax apps via the web browser (more specifically for the Mozilla Firefox browser). You’ll learn the basics of leveraging Firefox in conjunction with Firebug and FirePHP to implement FirePHP libraries on web apps and logging messages in the Firebug console. A Brief Introduction When Ajax techniques became popular, developers faced a new problem: how can we debug Ajax requests and responses efficiently for complex web applications? This is where FirePHP helps, allowing you to log your debugging messages to the Firebug console. This makes FirePHP ideal not only for debugging your Ajax requests, but also your entire PHP codebase. So, what is FirePHP? What Do I Need to Get Started? A Couple of Tips Conclusion

Are You Making These 10 PHP Mistakes? One of the best things about PHP is that it's a great language to just "dive into", thanks to its wide-ranging popularity. Anyone with the ability to hit "Search" on Google can quickly create a program. However, this also lends to a major criticism of PHP: it's almost too easy to find and reproduce bad code. Here are 10 PHP mistakes that any programmer, regardless of skill level, might make at any given time. Take the time and make sure that your PHP is secure, clean and running smoothly by checking your site for these common PHP blunders. 1. It's easy to just use double quotes when concatenating strings because it parses everything neatly without having to deal with escaping characters and using dot values. Consider this string: # $howdy = 'everyone'; # $foo = 'hello $howdy'; # $bar = "hello $howdy"; $foo outputs to "hello $howdy" and $bar gives us "hello everyone". 2. It's funny how one little character can create havoc in a program, without even being reported to the PHP error logs! 3.

Five Minute Upgrade - Header Hierarchy | Build Internet! Headings can be tricky business. In a continuation of our Five Minute Upgrade series, today we’ll look at the effective use of heading tag family. With a quick overhaul to your site’s heading hierarchy, you’ll see an increase of both usability and search engine rankings. Size Doesn’t Matter When I first started learning HTML, it seemed logical to use the heading tags when I wanted big fonts. These tags should not be used simply because they provide quick variants in font sizes; that’s a job we’ll leave to CSS. Headings have a much higher calling in web site semantics. How would you arrange the headings in the site above? Here’s one interpretation for heading arrangement using the above content list. There isn’t always a blanket solution to arranging site headings. Make an Outline When used logically, the header hierarchy should form an outline. W3C’s explanation for outlines offered at the bottom is dead on: A downside of the W3C outline service is that it only works on HTML valid documents.

PHP Security: Fortifying Your Website- Power Tips, Tools & How to’s | Noupe Jul 06 2009 Defining PHP Security and It’s uses PHP is the most popular web programming languages in use today due in large part to the fact that it’s a highly flexible syntax that can perform many functions while working flawlessly in conjunction with html – Plus it’s relatively easy to learn for beginners, yet it’s powerful enough for advanced users as well. Though many programmers and developers may be implementing PHP in their websites, the issue of PHP security is often overlooked when building a site. PHP Security involves minimizing programming errors as much as possible, and putting proper code in place to protect against possible vulnerabilities – Often times this means putting 2-3 “layers” of protection in place to guard sensitive data against hackers that could otherwise cause a catastrophic result if compromised. Types of Attacks Most Common PHP Security Vulnerabilities 1. For example take a look at the code snippet below. 2. 3. 4. Other PHP Security Tools - PhpSecInfo Homepage

Related: