3 ms·
> If you're a PHP user, don't use this function unless you know you need to. There are better functions now. Don't leave me hanging! What are the better functi
by jordanlev 9y ago
> If you're a PHP user, don't use this function unless you know you need to. There are better functions now.
Don't leave me hanging! What are the better functions now?
- deleted 9y ago[deleted]
- godDLL 9y ago`rawurlencode()` is what you're after. And here is where you'd ask that question, a coding forum https://stackoverflow.com/questions/996139/urlencode-vs-rawurlencode https://stackoverflow.com/questions/996139/urlencode-vs-rawu...
- jordanlev 9y agoThanks! And here is where you'd answer that question, a coding forum https://stackoverflow.com/questions/996139/urlencode-vs-rawurlencode https://stackoverflow.com/questions/996139/urlencode-vs-rawu... ;)
- Crespyl 9y agoKnowing PHPs standard library, probably something like "urlencode_safe_for_real_this_time". Kidding aside, IIRC "rawurlencode" is the RFC compliant one.