Archive for September, 2007

Easy JSON Encoding/Decoding in PHP

Posted on September 13, 2007
Update(2009-09-19): JSON encoding and decoding is built into PHP since PHP 5.20. You don't need Zend's JSON support if your PHP version is >= 5.20. Please see: http://us2.php.net/manual/en/function.json-encode.php http://us2.php.net/manual/en/function.json-encode.php So you are writing a piece of PHP code to handle some Ajax request and you've just finished coding the business logic. It is time to output some server [...]

Asynchronous File Upload – YUI’s Approach

Posted on September 4, 2007
YUI is a truly amazing framework for those who are writing Ajax applications. Its JavaScript widgets allow programmer to create richly interactive UI components with ease. However, these UI widgets are not very useful unless the end result of the interaction can be saved to the server side. Hence YUI has added Ajax support to [...]

Protecting Your Site From Spam Bot with CAPTCHA

Posted on September 2, 2007
CAPTCHA provides a simple yet effective way to tell humans and computers apart. The need of CAPTCAH arises because web pages which accept user input such as posting comment are vulnerable to automated spam. It is not a difficult task to write a script that could generate large amount of repetitive information and post them [...]
Code Central Special

Categories

Polls

  • Which one do you prefer?

    View Results

    Loading ... Loading ...