Script not working!

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
clearpresence2
-


Joined: 17 May 2005
Posts: 3

PostPosted: Tue May 17, 2005 3:48 pm    Post subject: Script not working! Reply with quote

Hi all
newbie here

Here's my script:

<html>
<head><title>Hi there</title></HEAD>
<body>
<?PHP
phpinfo();
?>
</body>
</html>

I save it to c:\Program Files\Abyss Web Server\htdocs

I open my browser (IE), navigate to the above path and double-click the file ...
and nothing happens - no error message and no PHP info - what gives?
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Tue May 17, 2005 3:58 pm    Post subject: Reply with quote

You navigated to 'c:\...etc'?
If you do that it wont be processed by abyss, itll just be windows opening the file.
Replace 'c:\Program Files\Abyss Web Server\htdocs' with 'http://127.0.0.1' and then try :)
That way its being access from port 80 and abyss has control over it.

This is all assuming you have php set up of course.
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
clearpresence2
-


Joined: 17 May 2005
Posts: 3

PostPosted: Tue May 17, 2005 4:14 pm    Post subject: [b]Script is working![/b] Reply with quote

OK great - the script is working!

If I navigate to:

http://localhost/

I expected to see all my files listed - but that does not happen.

However if I run :
http://localhost/filename.php

we have lift-off!

... interesting
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Tue May 17, 2005 11:24 pm    Post subject: Re: [b]Script is working![/b] Reply with quote

clearpresence2 wrote:
OK great - the script is working!

If I navigate to:

http://localhost/

I expected to see all my files listed - but that does not happen.

However if I run :
http://localhost/filename.php

we have lift-off!

... interesting


If you mean directory listing, then you probably have it disabled in the control pannel.
If you mean windows folder view, you will never get this =)
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group