[development] URL encoding
nitingupta.iitg at gmail.com
Thu Mar 11 14:17:04 UTC 2010
Thanks Earnie, but that is not what I am looking for. It is essentially
similar to urlencode or rawurlencode. I am looking for a function that does
the work like the one present at the bottom of the page here:
http://example.com/q=12 &12grt key=value;<>+,.()!*
is converted to
Nitin Kumar Gupta
On Thu, Mar 11, 2010 at 7:32 PM, Earnie Boyd
<earnie at users.sourceforge.net>wrote:
> nitin gupta wrote:
>> I am not creating the URL, but I parse the URL from XML content and I
>> want to urlencode it. Also, I am looking to preserve all the reserved
>> characters in the URL and not just '?' or '&'.
> http://www.google.com/search?q=url+encoding+site%3Aapi.drupal.org leads
> you to two api functions url  and drupal_urlencode . Are these what
> you need?
>  http://api.drupal.org/api/function/url
>  http://api.drupal.org/api/function/drupal_urlencode
> -- http://www.give-me-an-offer.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development