Topic awaiting preservation: PHP, switch and includes? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 04-22-2004 16:29
Holy shit! You all changed this place. Nice that you got the grail up on the main pages. |
Paranoid (IV) Inmate From: France |
posted 04-22-2004 16:51
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..... |
posted 04-22-2004 16:55
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 |
posted 04-22-2004 18:18
and turn off register_globals on your development machine, so that this won't happen next time. |
Maniac (V) Inmate From: there...no..there..... |
posted 04-22-2004 19:17
will do TP |