Reply to Re: Cannot get mysql_connect to work

Your name:

Reply:


Posted by Michael on 12/28/05 06:40

Jerry,

Thanks for your help. I guess I'm a little confused about localhost. It
seems that if I open a file in the browser at
http:/localhost/myFile.html, it actually refers to the file
/var/www/html/myFile.html. So it seems there are two meanings to
localhost? In one context it refers to the local machine via ip
address 127.0.0.1, and in the context of the browser, (with Apache
running?), localhost refers to a specifc directory path on the local
machine. This is why I'm confused. Can you shed any light on this?

Thanks,
M. McDonnell
P.S., my /etc/host file looks ok (see below).
================/etc/host file ================
Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 McDonnell localhost.localdomain localhost
==========================================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация