You are here: Re: help out a noob w/ include & switch? « PHP « IT news, forums, messages
Re: help out a noob w/ include & switch?

Posted by Ben on 09/21/05 02:12

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация