I need to get the node ID using just the URL alias. Is there a drupal function I can use to get that information?

Comments

mcjim’s picture

http://api.drupal.org/api/function/drupal_lookup_path/5

Might need a bit of wrangling, but should do the trick.

James

apersaud’s picture

That was it - thanks!!!

cakka’s picture

How in drupal 6 ?
Are this way can used ?

dman’s picture

did you not even try to look ?