Blogspot - thuannvn.blogspot.com - All about linux

Latest News:

Extract domain, path etc from a full url with PHP 28 Nov 2011 | 08:31 am

PHP's parse_url function makes it easy to extract the domain, path and other useful bits of information from a full URL. This can be useful for a variety of purposes, such as when spidering content fr...

Find all anchor tags in a page with PHP and the Simple HTML DOM Parser 27 Nov 2011 | 09:36 pm

This post shows how to download a web page and find all the link anchor tags in the page using PHP and the Simple HTML DOM Parser which has a jQuery like syntax selector. PHP Simple HTML DOM Parser ...

special characters in filename cause image to not get created 27 Nov 2011 | 04:57 am

Drupal ImageCache: special characters in filename cause image to not get created Solved: $imagecache_path = str_replace(' ', '%20', $imagecache_path); That mean you remove special character like #...

special characters in filename cause image to not get created 26 Nov 2011 | 11:57 pm

Drupal ImageCache: special characters in filename cause image to not get created Solved: $imagecache_path = str_replace(' ', '%20', $imagecache_path); That mean you remove special character like #...

ClamAV on CentOS 5.5 22 Nov 2011 | 09:28 pm

I know this is Linux and viruses are not supposed to be an issue, but face it we have other operating systems connecting and they are known for bringing these little monsters in, so it is our duty to ...

CentOS change hostname without reboot 18 Nov 2011 | 06:43 pm

Step 1: You may also need to add/change the hostname in the /etc/hosts file. By default this would look something like this, using our www.example.com example again: 127.0.0.1 www.example.com localho...

Drupal: Get vocabulary id by term id 17 Nov 2011 | 04:59 pm

In Drupal 6, if you know the taxonomy term ID, you can get the vocabulary ID by using the following code: If you have a node ID, then you can use the following code to get the vocabulary ID of all th...

Drupal: How to get term name by term id 17 Nov 2011 | 04:47 am

You can use this in your themes to add additional information on your taxonomy/term/x pages ; <?phpfunction get_tax_from_arg ($vid) { if (arg(0) == 'taxonomy' && arg(1) == 'term') { $tid = ...

How to install soap php with version 16 Nov 2011 | 04:37 pm

By default when you using command "yum install php-soap", this will install the latest version so you have to install latest dependencies, if do not want to do this, so you want install exact version ...

How to install soap php with version 16 Nov 2011 | 11:37 am

By default when you using command "yum install php-soap", this will install the latest version so you have to install latest dependencies, if do not want to do this, so you want install exact version ...

Related Keywords:

rsync solaris, lighttpd reverse proxy, php import large mysql, drupal block class, install munin centos, lsof identify, killall nobody process, greg's high performance seo, drupal get current url, thuannvn mysql restore

Recently parsed news:

Recent searches: