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 #173575 is a reply to message #173560] Tue, 19 April 2011 09:15 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 18, 1:22 pm, Denis McMahon <denis.m.f.mcma...@gmail.com> wrote:
>> On Mon, 18 Apr 2011 09:05:08 -0700, Peter Lauren wrote:
>>> Thank you very much for your replies.  I read through your posts, and
>>> the ensuing posts, very carefully and my interpretation is as follows.
>>> The PHP code is running on a server.  My PHP code is running on my
>>> server.  The server is identified by an IP address which is
>>> "http:/localhost/" for the machine on which the call is made. Therefore
>>> if someone types "http:/localhost/" on some other machine, they will
>>> access the server on their machine if they have one running.  To access
>>> the server on my machine, they would need to use my IP address instead.
>>> This is looked up through the Domain Name System ( DNS). If I was using
>>> a web host, like GoDaddy, would it assign a logical name name to the IP
>>> address likewww.PetersWebSite.cominstead of 123.456.7.8?  Since html
>>> is client side, I guess if I had <a
>>> href="http://localhost/PHPTest.php">PHP Test</a> in my html code it
>>> would try to access PHPTest.php on the client's computer instead of
>>> mine.  Does that seem right?
>>
>> Yes. I think you now understand this part of it.
>>
>> This is why you can not use 'localhost' as the host name inside your web
>> pages if you want other people to be able to access them, but you can use
>> 'localhost' in the address bar of your browser to tell it to connect to
>> the server on your machine.
>>
>> Rgds
>>
>> Denis McMahon
>
> Hi Denis,
>
> Thanks for confirming that. From what Michael said, I may just use
> wampserver on my PC to test my applications before deploying them and
> get a hosting package for deployment.

Using wampserver for development and initial testing seems to be
fairly workable.

Don't be in too much of a hurry to go "live" though. There is a good
deal you can learn about apache and so forth while using wampserver.

When you decide it's time for a public site, be careful about choosing
your web host. Different people need different levels of support from
their hosting provider, different hosting providers offer different
levels of hardware and automatic backup support, different amounts of
bandwidth, and so forth and so on nearly forever. If you expect your
site to become huge you need a hosting provider that can handle
hugeness, but then everybody expects to become rich overnight and it
seldom happens. And of course every hosting company offers different
packages at different prices.

Before you even register a domain name, I would suggest that you learn
what you can about the whole webmastering subject. The
alt.www.webmaster usenet group is a reasonable place to ask about
choosing a domain registrar, hosting company, handling search-engine
optimization, and so forth. There are some people participating there
who are knowledgable on the issues you need to learn about. There are
doubtless websites where you could go to read a tutorial about that
subject but offhand I can't suggest one.

As far as starting a business goes, there are a zillion issues that
should be considered before taking the first step. I think nobody
ever starts out knowing half of the gotchas they will have to deal
with. Remember that the idea of a business is for the money to move
in your direction, not the other way, because everybody will have
their hand out for this and for that.

--
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: Tue Nov 26 13:44:53 GMT 2024

Total time taken to generate the page: 0.05244 seconds