Re: help out a noob w/ include & switch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jay thompson said the following on 09/20/05 15:41:

> My problem occurs only on the server (NT 5 b.2195, PHP 4.3.10, IIS 5.0) but
> works great on my dev rig (XAMPP 1.4.15, VectorLinux).

At first guess I'd say register globals is on for your test rig and off
for your server.

Since your variables are being passed in the url you should be
referencing them with $_GET['<variablename>'], so for instance at the
top of navigate.php you should have:

switch ($_GET['nav'])

- Ben

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux