Get node id for page which is set for 403 and 404 I want to get the node number (nid) for the node which is set for 403 and 404 pages in drupal configuration system.
Can you please help me for this ?
You need to use

variable_get('site_403');
variable_get('site_404');


It will return a string like "node/1", then you just have to parse this string to get back the node ID.