|
Posted by FFMG on 12/08/07 12:22
J.O. Aho;107610 Wrote:
> FFMG wrote:
> > Hi,
> >
> > I want to use a separator in some queries in the URL
> >
> > http://www.example.com/?k=1,2,3
> >
> > It all works fine but the ',' is converted to the html '%2C', (I use
> > php URLencode, http://php.net/urlencode).
>
> The function do convert the string in the same way as it would be if it
> had
> been posted as application/x-www-form-urlencoded.
>
> The %XX don't change how the data is handled, just looks differently
> and works
> sometimes a lot better than not urlencode the string.
>
Like I said, it all works fine.
My problem is purely from a cosmetic point of view, it looks broken.
J.O. Aho;107610 Wrote:
>
> Use an array instead of one variable.
>
Do you mean http://www.example.com/?k[0]=1&k[1]=2 ?
FFMG
--
'webmaster forum' (http://www.httppoint.com) | 'Free Blogs'
(http://www.journalhome.com/) | 'webmaster Directory'
(http://www.webhostshunter.com/)
'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php) | 'Free URL
redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=22996
Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).
Navigation:
[Reply to this message]
|