PHP urlencode by RFC 2396

587 Views Asked by At

Is there some way in php to encode the url, but according to RFC 2396.

rawurlencode is by RFC 3986

urlencode - RFC 1738 ? (its not RFC 2396 anyway)

I also checked http_build_query, but its 4th param can be only PHP_QUERY_RFC1738 or PHP_QUERY_RFC3986.

Thanks

0

There are 0 best solutions below