question about URL's in deployment
Posted: Tue Mar 24, 2009 5:54 am
Hi I am just new to web app and I am testing my application through localhost. Therefore all my links and database codes are via localhost for example:
My question is in deploying my website online do I need to change my code above since the domain name will not be localhost anymore.
Sample codes is much appreciated. Thanks
Code: Select all
header('location:http://localhost/login.php
mysql_connect('localhost','root','')Sample codes is much appreciated. Thanks