|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
10 posts
Gave thanks: 2
Thanked 0 times
|
Site Navigation broken
My site will no longer work properly. I am a php noob. I use this really simply PHP code to display content on my site. <?php
if ($PG="/0") { $PG = "home"; } $PAGE = $PG . ".php"; include($PAGE)?> I use links such as index.php?PG=email to change the value of PG to display the next item. all of a sudden my site stopped working and I don't know why. Please help a noob out |
|
|
|
|
|
#2 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,103 posts
Gave thanks: 17
Thanked 79 times
|
Sounds like register_globals has been disabled on the server, which is a good thing for security reasons.
Change: PHP Code:
PHP Code:
PHP Code:
__________________
|
|
|
|
| This user thanks MarkRH for this great post! | Smo_Bob (September 11th, 2007) |