On Sat, 2005-12-17 at 23:05, Erik Johnson wrote:
> I do not know why this isn't working, but it would be very helpful if
> someone looked over it.
> 
> <?
> $defaultpage = "http://lom.game-host.org/uploads/erik/";;
> 
> If($page == NULL) {
>     $page = "one";
> }

What is this magical $page variable? Did you conjure it from thin air?
Or are you one of those coders still using a years old deprecated
feature called register_globals who just upgraded their version of PHP
to a version that disables it by default? Since you're the latter (yes I
can read minds from afar), then what you really want is the following
before you start using $page:

    $page = isset( $_GET['page'] ) ? $_GET['page'] : null;

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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

Reply via email to