I'm trying to do urlencode/urldecode:
my $layer[] contains: aban_railroads, airport_runways2001, blk_grps
this is what IE shows in my address window when I do the redirection:
Regarding my previous post:
I found out that $QUERY_STRING contains the query:
layer=a%3A3%3A%7Bi%3A0%3Bs%3A14%3A%22aban_railroads%22%3Bi%3A1%3Bs%3A19%3A%22airport_runways2001%22%3Bi%3A2%3Bs%3A8%3A%22blk_grps%22%3B%7D
Now I am doing:
$layer = unserialize($QUERY_STRING);
or even
On Thu, 25 Apr 2002, Pushkar Pradhan wrote:
I'm trying to do urlencode/urldecode:
my $layer[] contains: aban_railroads, airport_runways2001, blk_grps
this is what IE shows in my address window when I do the redirection:
I am collecting some data on a page - test.php, ($layer which is an array
of names).
If checkbox is checked that user wants to change drawing order, I should
redirect the browser to page - updateHTML.php which has necessary script
to do that.
I achieved redirection using header(), but can't pass
My previous question:
I am collecting some data on a page - test.php, ($layer which is an array
of names).
If checkbox is checked that user wants to change drawing order, I should
redirect the browser to page - updateHTML.php which has necessary script
to do that.
I achieved redirection using
On Wed, 24 Apr 2002, Pushkar Pradhan wrote:
I am collecting some data on a page - test.php, ($layer which is an array
of names).
If checkbox is checked that user wants to change drawing order, I should
redirect the browser to page - updateHTML.php which has necessary script
to do that.
I
Thanks Miguel,
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.
On Wed, 24 Apr 2002, Pushkar Pradhan wrote:
I am collecting some data on a page - test.php, ($layer which is an
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
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:
updateHTML.php:
$layer = urldecode(unserialize($layer));
I get this:
Warning: Invalid argument supplied for foreach() in
/rstc/user1/erc/pushkar/gis/mcrgdl//updateHTML.php
9 matches
Mail list logo