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