Category Archives: PHP

PHP CURL and AJAX

From http://stackoverflow.com/questions/19212293/mimicking-an-ajax-call-with-curl-php I’m scraping a site using curl (via PHP) and some information I want is a list of products which is by default only showing the first few ones. The rest is passed to the user when they click a … Continue reading

Share
Posted in JavaScript, PHP, Tips | Tagged , , | Leave a comment

Language Detection With N-Grams in PHP

When searching for an good PHP example for this. It happened this article was found. Language Detection With N-Grams [PDF]

Share
Posted in PHP | Leave a comment

Enable the managesieve of Dovecot and use it in Roundcubemail

I was searching plugins to filter mails in the RoundCubeMail webmail application. In default, the managesieve plugin for RoundCubeMail is already installed. To enable it in the RoundCubeMail application, I just simply modify the main.inc.php in the config of the … Continue reading

Share
Posted in PHP, Tips, Tutorial | Tagged , , | Leave a comment

A PHP example to generate WordPress-like category list

In one of my post I described a way to use SQL stored procedure to extract data in a particular order and then generate a list. you can find the post from the following link. A SQL stored procedure to … Continue reading

Share
Posted in PHP, Tips | Tagged , , , | Leave a comment

A generic PHP function to generate navigation bar for web applications

When you write a page with a long list in a web application, you may always want to break the list to pages to show only part of the list. And further, allow user use a navigation bar with page … Continue reading

Share
Posted in PHP | Tagged , , | Leave a comment