- $url ="http://www.ite5e.com";
- echo urlencode($url); Encoded string
- ?>
-
- $url = "http://www.ite5e.com" ; <<> <$> $ newurl = urlencode ($ url); // First encoding the $ URL
- Echo Urldecode ($ newurl); // >?>
-
-
-
http://www.bkjia.com/PHPjc/486135.html
www.bkjia.com
truehttp: //www.bkjia.com/PHPjc/486135.htmlTechArticle?php $url ="http://www.ite5e.com"; echo urlencode($url); //Output the encoded string? ?php $url = "http://www.ite5e.com"; $newurl = urlencode($url); //First encode $url...