As I am using php 4.0.6 I don't have $_REQUEST available, and there is no
equivalent in earlier vers.
The foll. doesn't work:
$layer = urldecode(unserialize($layer));
I get this:
Warning: Invalid argument supplied for foreach() in
/rstc/user1/erc/pushkar/gis/mcrgdl//updateHTML.php on line 68
i.e. the array is not available.

. urlencode(serialize($layer)) );

Actually after doing a unserialize I see $layer as size 1 but when I try
to echo the contents it's blank.

On Wed, 24 Apr 2002, Miguel Cruz wrote:

> On Wed, 24 Apr 2002, Pushkar Pradhan wrote:
> > I was just reading urlencode.php, shouldn't the complementary function be
> > urldecode() like the document. says,
> > well unserialize must be working too, I believe you.
> I'm pretty sure the urldecoding happens automatically. If you get funny
> results then it's worth sticking it in to see what happens.
> miguel

-Pushkar S. Pradhan

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to