Display the text box

rawurlencode()

« rawurldecode | read_exif_data »
<?php
$string 
rawurlencode (
    
  // string $str
);
?>
Result
$string = 'foo%20%40%2B%25%2F'
Examples
#1 rawurlencode  ("foo @+%/")
#2 rawurlencode  ("sales and marketing/Miami")
See also
rawurldecode, urldecode, urlencode