[KLUG Programming] variable not being posted?

bill programming@kalamazoolinux.org
Thu, 07 Aug 2003 08:48:06 -0400


Hi Dirk,

You can see more info about PHP and globals in the presentation I did some time
back:

http://billtron.com/klug/php.php

You can use the drop-down list at the bottom to jump directly to "(Super) global
variables"

kind regards,

bill

Dirk Bartley wrote:

> I decided to work a little bit on my library project.  Attempting to get
> it working on a RH9 machine I have run in to a snag.  For a url like
>
> http://localhost/librarydb/title.php?title_id=46
>
> the variable title_id is not being set.  Most configuration parameters
> are left unchanged from default.
>
> if ($title_id != 0) {
>         do stuff here
> }
> else{ echo("no title_id"); }
>
> with this as the url, the echo command occurs.
>
> I'm confused.  Is php only allowing session variables to work and not
> posted variables?
>
> Dirk
>
> _______________________________________________
> Programming mailing list
> Programming@kalamazoolinux.org
> http://www.kalamazoolinux.org/mailman/listinfo/programming