
When its your first time to code HTML , the tendency of opening the file is by clicking it twice and yes the expected result is displaying. And from that point on, they can view their web page/website as it was intended to be viewed. Above image is one example of an HTML file viewed by double clicking on the file. But when you have a web server things are different.
Last night I have this friend who was programming a system using PHP and she was asking me why all the PHP codes are displaying on the browser. I was thinking that the host or PHP was down and it bothered me a lot since there are also other developers and other clients using the web server and this would be a bigger delay on the business. It was relieved with what I saw because the problem was what she entered on the browser.

This is one problem in opening a PHP file. You shold use the name of your server or IP then the PHP file name like http://127.0.0.1/fortest.php or if you are using localhost then that would be http://localhost/fortest.php. If you are using your domain that is being hosted by a certain web hosting company then you can use http://www.mydomainname.com/fortest.php. But if after putting the domain name and the PHP codes are displayed one possible problem would be the PHP is down.
If you are having troubles where to find the best Web hosting company then better look for a site that does web hosting rating this would surely help you in finding the best web hosting company for your business.There you can see the top rated web hosting company that has been serving the net for years.
Did find the post very useful? Maybe you want to buy me a glass of beer!






0 Comments until now.
Comment!