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 #173445 is a reply to message #173436] Wed, 13 April 2011 11:08 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
Peter Lauren <peterdlauren(at)gmail(dot)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/to access your
>> pages. No HTTP request without a hostname.
>>
>> Micha
>
> Hi Michael,
>
> 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.

This is usenet and you are talking to a bunch of freaking programmers
who tend to take things literally and answer only the specific
question asked.

Yes, localhost never works across the network.
Yes, your server can work across the network.

When your server works across the internet it's never accessed as
"localhost" though. "localhost" is a convention that always means
"this machine" so any user asking for localhost will get *his*
localhost, not yours. For your server to be accessed from other than
your machine, the user's browser needs to know its ip-address, which
can be looked up in his local directory (DNS, name-server). Or he can
access it by using a fixed ip-address but it won't be 127.0.0.1

localhost is a convention, a nickname for "this machine". Everybody
pretty much has one and they're all different.

--
no aluminum siding offers today
[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: Fri Nov 29 15:21:20 GMT 2024

Total time taken to generate the page: 0.07895 seconds