FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Runs In WinXP Command Window But Not In Browser
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173535 is a reply to message #173448] Mon, 18 April 2011 16:19 Go to previous messageGo to previous message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma:
Member
On Apr 13, 8:20 am, Tim Streater <timstrea...@waitrose.com> wrote:
> In article
> <dcfaef3a-c83d-47e0-8988-bc3a40b2f...@p16g2000vbi.googlegroups.com>,
>  Peter Lauren <peterdlau...@gmail.com> wrote:
>
>> On Apr 9, 6:26 am, Michael Fesser <neti...@gmx.de> wrote:
>>> .oO(Peter Lauren)
>
>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>> part though
>
>>> Not possible. In order to access your websites via HTTP you have to use
>>> a URL, which has to include a hostname. If you don't like 'localhost',
>>> you can add another one, but it has to be at least one char long. So
>>> even then you would have to use a URL likehttp://x/toaccess your
>>> pages. No HTTP request without a hostname.
>> I have no problem with localhost except that Denis seems to be saying
>> that it won't work over the Internet.   I'm new at this so may be
>> misinterpreting what he is saying.
>
> Yes you are. localhost is the name of your own computer. So, if you're
> trying to reach a web page on your own machine, naturally you'd put:
>
> http://localhost/etc-etc
>
> whereas if the website is on another machine you gives its name instead
> of localhost, as in:
>
> http://example.com/etc-etc
>
> --
> Tim
>
> "That excessive bail ought not to be required, nor excessive fines imposed,
> nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

I think I may be finally getting it. Would example.com be the
logical name assigned to the IP address of the machine I am trying to
access? Is the logical name assigned by a web host like GoDaddy?

Thanks,
Peter.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: neither var_dump() nor die() displays anything
Next Topic: Spaces in filenames
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 14:41:04 GMT 2024

Total time taken to generate the page: 0.04553 seconds