Skip to content

DrupalMOTW: Media Mover

29-Oct-08

The Drupal module of this week is The Media Mover.

From Media Mover project page

Media Mover is a set of modules which allows website administrators to easily create complex file conversion processes.

Media Mover is essentially a system for Drupal that is targeted at file harvesting/conversion/storage or all three.

More…

Share/Save

DrupalMOTW: Drush

29-Aug-08

The Module Of This Week is The Mighty Drush.

Since this is the first post in DrupalMOTW series, I could not think of a better module than Drush. Drush has been making my life easier for past 6 months and I must confess that I have fell in love with this module and I am sure you will also fall in love like me(with Drush)

From Drush project page:

drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend most of our working hours hacking away at the command prompt.

Let’s take a look at what Drush provides.
More…

Share/Save

Announcing Drupal Module of the Week - DrupalMOTW

29-Aug-08

As some of you might be knowing that I am also a Python programmer, in addition to being a PHP/Drupal developer. For almost past 1 year I have been hooked on to PyMOTW by Doug Hellmann.

Based on the similar idea I starting a weekly blog series about the modules available to be used with our beloved Drupal. Now it may not be exactly weekly, but I will surely try to cover a module every week for a near foreseeable future.

Stay tuned

Share/Save

$_GET can get you in trouble

28-Aug-08

Consider a scenario that a file is requested and you have to display content of the requested file in the browser. Look at the following code example:

<?php
// File Name: print_file_contents.php
$file = $_GET['filename'];   //get the file name from query string
print file_get_contents($file);   //print the contents of the file
?>

If you have worked with PHP for couple of years you must pick up what the problem is. For those are new with PHP let’s look at some examples.

More…

Share/Save

Mauj Kashir, Abaad Roonzin, Shadaab Roozin - Mauj Kashmir

27-Aug-08

If you are not a Kashmiri, you might not understand what’s the gibberish language used in the title of this post. It is a line from a popular Kashmiri song, sung by Shameema Azaad, wife of former Chief Minister of India Adminestered Kashmir. It means:

Mother Kashmir, may it be remain prosperous, may it remain happy - Mother Kashmir.

I say What The Fuck.

Suppression and subjugation of Kashmir and Kashmir people is still on. People being killed unprovoked. For past few days, Indian Forces have been killing people by forcing entry in our homes, not even sparing women, infants and children.

And The Blind Indian Media or Blindia has simple shut its eyes on Kashmir.
More…

Share/Save