Question: What is equalient of $\_SERVER in codeigniter ?

Answer: 
Réjôme is spot on, but remember that $\_SERVER still works fine.
I think you can use $\_SERVER like they did about the "Automatic configbase url" in the "official" CodeIgniter wiki (http://codeigniter.com/wiki/Automatic\_configbase\_url/)