Hi,
I've just finished building a website which was done on windoze 98. register_globals was set to 'Off'.
The server where the pages live is a linux box running apache. Now the globals don't seem to be getting across!!!
e.g.
the products page has a whole bunch of links:
<a href="showProducts.php?id=01">prod1</a>
...
Inside showProducts.php, one of the first things I do is:
$id = $GET['id'];
$title_img = "../images/titles/prod".$id."title.gif";
$image = "../images/products/prod".$id.".gif";
My problem here is that it is not finding the images. I've been assured the images are present and in the correct directory (the server is about 1000miles away)
But there is another problem as well. The description of the various products I've put into a switch statement:
switch( $id )
{
case 01:
?>display info<?
break;
case 02:
etc....
I've asked them to ensure that register_globals is set to 'Off'. Is there anything else I should be checking?
Thanks