Monday, August 10, 2009

curl sample

// create a new cURL resource
$ch = curl_init();

// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, "http://www.php.net/");
curl_setopt($ch, CURLOPT_HEADER, 0);

// grab URL and pass it to the browser
curl_exec($ch);

// close cURL resource, and free up system resources
curl_close($ch);
?>

drupal tips

http://www.siteground.com/tutorials/drupal-tutorial/index.htm
http://drupal.org/node/10858
http://drupal.org/node/10902
http://drupal.org/node/10901

Database config:
sites/default/settings.php (this file is manually  created during  installation renaming sites/default/default.settings.php)

Installing contributed modules:
http://drupal.org/getting-started/install-contrib/modules

Enabling installed modules in admin

admin >> site building >> modules