Get IP of domain name or website or hosting

Step 1: First go to start menu and click on run
Step 2: Type “command” on the command line

run

run

Step 3: When you see the command prompt. Type “nslookup your domain/website name” Ex: nslookup google.com, nslookup www.google.com and press enter.

write like above

 Red arrow shows the IP for google.com

Print base url in CodeIgniter ( base_url() ci )

$this->load->helper(’url’);
print “Base URL: “. base_url();

N.B: do not forget to load the helper file.

Shows Blank Page in CodeIgniter / blank content in code igniter ( ci )

Some times it has been seen that everything is correct but its showing the blank page. I have had this sort of problems.  I found an interesting problem. The controller which I was calling had an extra line after the php ending tag. I removed that line and it was working smoothly.

   Newer→