Search found 6 matches
Aprelium Forum Index
Author Message
  Topic: server name on Windows XP
dormant

Replies: 11
Views: 166949

PostForum: Networking Issues   Posted: Tue Sep 04, 2007 1:08 pm   Subject: Thanks
Thanks for the help and info - I now understand what is going on.
  Topic: server name on Windows XP
dormant

Replies: 11
Views: 166949

PostForum: Networking Issues   Posted: Tue Aug 28, 2007 3:55 pm   Subject: Script and outpur
I am using php5, the version provided with the Abyss web server.

The script is very simple:


<html>
<title>
<?php
echo $_SERVER['SERVER_ADDR'];
echo ' - ';
echo $ ...
  Topic: server name on Windows XP
dormant

Replies: 11
Views: 166949

PostForum: Networking Issues   Posted: Mon Aug 27, 2007 4:56 pm   Subject: As usual, I never give the full info
I am accessing the webserver only over the LAN using the ip address or localhost, so no domain is involved, or any cloaking of any kind.

The machine has a name that is used in the Windows networkin ...
  Topic: server name on Windows XP
dormant

Replies: 11
Views: 166949

PostForum: Networking Issues   Posted: Mon Aug 27, 2007 3:52 pm   Subject: Still confused
My problem is that these variables do not return what they are meant to return.

$_SERVER['SERVER_NAME'] returns the IP address.

$_SERVER['HTTP_HOST'] returns an empty string

So my tentative c ...
  Topic: server name on Windows XP
dormant

Replies: 11
Views: 166949

PostForum: Networking Issues   Posted: Fri Aug 24, 2007 7:00 pm   Subject: I did try that
Thanks for the suggestion - that is exactly what I had been using with incorrect results.

I was misleading in my original post.

$_SERVER['SERVER_NAME'] returns the ip address of the machine.
$_ ...
  Topic: server name on Windows XP
dormant

Replies: 11
Views: 166949

PostForum: Networking Issues   Posted: Thu Aug 23, 2007 8:13 pm   Subject: server name on Windows XP
Where does Abyss/php pick up the server name in Windows XP? The machine I am using has a name and a workgroup as is normal for Windows XP.

When I run a php script, I get nothing back for $_SERVER[ ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group