|
-
Jun 13th, 2002, 02:52 PM
#1
Thread Starter
Fanatic Member
$HTTP_HOST does that still exist?
$HTTP_HOST is that still valid or should it be: $_SERVER['HTTP_HOST']??
-
Jun 13th, 2002, 03:13 PM
#2
Member
First way: deprecated and only when register_globals is on
Second way: teh 4.2 way and the good way
-
Jun 13th, 2002, 03:14 PM
#3
Thread Starter
Fanatic Member
cool, that is what i thought it changed to.
-
Jun 15th, 2002, 08:59 PM
#4
Stuck in the 80s
Originally posted by cpradio
cool, that is what i thought it changed to.
Basically anything that was once considered a global now needs something slapped infront of it (unless register_globals is on (and I know you turn it on... )) for 4.2
-
Jun 15th, 2002, 09:02 PM
#5
Thread Starter
Fanatic Member
I have only forced it on for my old scripts by using ini_set("register_globals",1); as rewriting them so they are 4.2 compatabile would be too long of a process.
My newer scripts I am planning on following the 4.2 "rules/standards" as far as global variables, but as far as readability I can careless.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|