These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Solved: Problem with PHP after restoring on the new forum.
And PHP, gives me also problems.
Normaly variables work in the adressline, but after restoring on an other server, it stop working.
[code:1] if not set, do a default case */ if(isset($HTTP_GET_VARS['page'])) { $p = $HTTP_GET_VARS['page']; } else { $p = 'index'; }
switch($p) { case 'index': require('txt/index.txt'); break;
case 'spec': require('txt/spec.txt'); break; [/code:1]
It will alwas take the value index, and it's still when my adressline is:
[code:1] http://domain.com/index.php?page=spec [/code:1]
I have some problems after restoring on a new server. Joe or Jamie, please help me.
Peter<br><br>Post edited by: Vedstesen, at: 2008/02/06 09:16
I found the solution in php.ini