![]() Topic awaiting preservation: PHP, switch and includes? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
![]() Holy shit! You all changed this place. Nice that you got the grail up on the main pages. |
Paranoid (IV) Inmate From: France |
![]() At first sight, it looks like a REGISTER_GLOBAL problem. Try to replace : code: switch ($link) by code: switch ($_GET['link']) And put some quotes around the values in the case statements unless they are some DEFINE done somewhere in an include. |
Maniac (V) Inmate From: there...no..there..... |
![]() you got it poi! dang....i knew i shouldn't have stayed up until 4am last night |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() and turn off register_globals on your development machine, so that this won't happen next time. |
Maniac (V) Inmate From: there...no..there..... |
![]() will do TP |