request_path: Returns the requested URL path of the page being viewed
One of the small function but very handy for developers in Drupal is request_path
It Returns the requested URL path of the page being viewed.
Examples of request_path():
returns “node/306″ while base_path() returns “/drupalfolder/
returns “path/alias” as opposed to the internal path
returns an empty string (meaning: front page)
returns an empty string