Solved: Problem with PHP after restoring

2 posts / 0 new
Last post
#1 Tue, 02/05/2008 - 07:15
Vedstesen

Solved: Problem with PHP after restoring

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

Wed, 02/06/2008 - 09:15
Vedstesen

I found the solution in php.ini

Topic locked