Since 4.1.? the way things worked changed... Instead of using $album you
need to use $_GET['album']
you can default back the old behaviour with a php.ini change, but the new
way is prefered

andrew
----- Original Message -----
From: "Bruce Riddle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 4:20 AM
Subject: [PHP] php3 to php4 migration woes


> x86-3 being added to access control list
> I've recently updgrade my Apache Webserver to
> 1.3.26 and opted to upgrade php form 3.x.x to 4.2.2.
> I have succesfully built it all and things are stable.
>
> I have been running the "album" picture database which
> is included as an example with the php3 distro.
>
> Well this is now broken with php4.
> What apears to be happening is the query string
> is not being processed.
> For example if I have the simple phpscript
> test2.php which looks like:
> <?
> $url=parse_url($_SERVER["REQUEST_URI"]);
> echo "<H1>QUERY_STRING= $url[query]</H1>";
> $url[query];
> echo "<H1>Album= $album</H1>";
> ?>
>
> and call this with something like
>
> http://foo.bar.com/test2.php?album=sunsets
>
> It echoes out the query string but the
> variable album remains unset.
>
> This same script works just fine if accessed
> against my php3 enabled apache server.
>
> Can anybody explain why this is happening?
> Did I miss some configuration somewhere.
>
> Oh yeah, this is all on Solaris.
>
> Rgds,
>
> Bruce Riddle
>
> --
> Can marketing and reality really coexist ?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to