[PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread The_RadiX
Hi Y'all... Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47 on WinXP Pro... I am currently using IIS5.1 with PHP4 and MySQL but I'd like to move across to Apache.. Catch is? I have hunted through all the FAQ's for Apache and there is no mention of how-to configure

Re: [PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread Jason Wong
On Monday 22 January 2001 14:36, The_RadiX wrote: Hi Y'all... Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47 on WinXP Pro... I am currently using IIS5.1 with PHP4 and MySQL but I'd like to move across to Apache.. [snip] BUT.. when I call $SERVER_NAME in my php's

RE: [PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread John Holmes
Use $_SERVER[SERVER_NAME] ---John Holmes... -Original Message- From: The_RadiX [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 21, 2001 10:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Apache: SERVER_NAME gone? Hi Y'all... Ok. I just got Apache 1.3.xx and I have PHP4.1.1

RE: [PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread Philip Olson
] ---John Holmes... -Original Message- From: The_RadiX [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 21, 2001 10:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Apache: SERVER_NAME gone? Hi Y'all... Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47

Re: [PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread The_RadiX
[EMAIL PROTECTED] To: John Holmes [EMAIL PROTECTED] Cc: 'The_RadiX' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 3:15 AM Subject: RE: [PHP] Apache: SERVER_NAME gone? because $SERVER_NAME is created IF the php directive register_globals = on. this setting is off by default

Re: [PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread Philip Olson
On Tue, 23 Jan 2001, The_RadiX wrote: Hmm because $SERVER_NAME is created IF the php directive register_globals = on. this setting is off by default as of PHP 4.2.0. all server predefined variables behave this way, such as $PHP_SELF, etc. Yes so I've heard... One thing

Re: [PHP] Apache: SERVER_NAME gone?

2002-04-27 Thread Jason Wong
On Tuesday 23 January 2001 07:55, The_RadiX wrote: Hmm because $SERVER_NAME is created IF the php directive register_globals = on. this setting is off by default as of PHP 4.2.0. all server predefined variables behave this way, such as $PHP_SELF, etc. Yes so I've heard... One