[php] How to properly URL encode a string in PHP?