[eluser]luisjose[/eluser]
If you want to know the base url you can do simply that from the view:
Code:
<?php echo 'The base url is: '.base_url(); ?>
Remember to load the helper in the constructor of the controller:
Code:
$this->load->helper('url');