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 #173417 is a reply to message #173415] Sat, 09 April 2011 00:57 Go to previous messageGo to previous message
Mr. B-o-B is currently offline  Mr. B-o-B
Messages: 42
Registered: April 2011
Karma:
Member
On 4/8/2011 6:55 PM, Peter Lauren wrote:

> I fixed the Forbidden problem. There was a part in the httpd.conf
> file that said
> # This should be changed to whatever you set DocumentRoot to.
>
> I fixed that and now it works.
>
> Still haven't figured out how to get it to work w/o the /localhost/
> part though

What everyone is telling you here is true. You will not be able to drop
the localhost.

What is it you are trying to do exactly? If you want something to run
in your browser w/o a server (aka localhost or whatever) you are in the
wrong group. You will need to look at a client side language like
javascript.

If you are hoping to create a php program that you can just run the only
way I know how to do this is with NUSphere's PHP Dock.

http://www.nusphere.com/products/phpdock.htm

It will take your php code, and make it into a stand alone application.
It's not free, but it might be worth it for you.
I have used this at work, and it's pretty slick.

Otherwise, you will need to use a server to process your php. After
all, it is a server side language.

Enjoy!

Mr. B-o-b
[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: Wed Nov 13 00:44:55 GMT 2024

Total time taken to generate the page: 0.05024 seconds