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 #173446 is a reply to message #173431] Wed, 13 April 2011 11:11 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 8, 2:30 pm, Denis McMahon <denis.m.f.mcma...@gmail.com> wrote:
>> On Fri, 08 Apr 2011 10:53:34 -0700, Peter Lauren wrote:
>>> Also, the URL box shows the location as
>>> file:///F:/Directory/With/Html/File/Examples.php
>>
>> You seem to be opening a local php file directly in the web browser. I'm
>> sure this has already been discussed in the thread.
>>
>> 1) Put it somewhere the web server knows about it
>> 2) Access it by telling the browser to request it from the web server
>> instead of from the filesystem
>>
>> Rgds
>>
>> Denis McMahon
>
> That's why I use 'href="http://localhost/file.type"'. I still
> confused since using localhost local host works (on my local browser
> at least) but nothing else has so far. If the html file making the
> call is on my machine, would it not look for the localhost on my
> machine?

html files don't make calls. html files contain URLs that can be used
as links. The browser makes the call when you click on a link.

--
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 22 17:00:04 GMT 2024

Total time taken to generate the page: 0.04639 seconds