Archive of articles classified as' "PHP"

Back home

how to remove .svn from all folders – command line

15/10/2008
find . -name ".svn" -exec rm -rf '{}' \;
No Comments

Recognize Ajax Request (XMLHttpRequest)

28/08/2006

To recognize Ajax Request (Prototype/JQuery) in PHP you can use following code:

function xhr() {
 return isset($_SERVER['HTTP_X_REQUESTED_WITH']) &&
 $_SERVER ['HTTP_X_REQUESTED_WITH']  == 'XMLHttpRequest';
}
No Comments

PHP Frameworks

21/03/2006

If you’re wondering which PHP framework will work for you or you’re getting headache by just thinking about them you should take a look on this article. There is also quick overview of 10 most popular frameworks here. I personally like Symfony.

No Comments

Symfony javascript helpers doc

19/03/2006

There is new doc about javascript (AJAX) helpers on Symfony website. Also if you’re an AJAX fan you should see how Symfony plays with JSON. You can read more about JSON format here.

No Comments