urlencode space php code example Example: convert space to 20 php rawurlencode("Your message goes here");