I've noticed that mysql treats "mysql_connect("localhost","$USER","$PASS"")" differently than " mysql_connect("hostname.domainname.tld","$USER","$PASS").
I understand this but here's the thing, I've set up my local IDE with Homesite/Apache/PHP running on Win2k. Now, I've been connecting to the database via hostname just fine. But is there any performance hit on my pages when they are running on the server since I'm not addressing the server as localhost? Or... would my pages be more optimized if they called localhost vs. hostname?
Is my question clear?
I understand this but here's the thing, I've set up my local IDE with Homesite/Apache/PHP running on Win2k. Now, I've been connecting to the database via hostname just fine. But is there any performance hit on my pages when they are running on the server since I'm not addressing the server as localhost? Or... would my pages be more optimized if they called localhost vs. hostname?
Is my question clear?