ASPit - Totally ASP
Search PHPit

Use this textbox to search for articles on PHPit. Seperate keywords with a space.

Advertisements

URL Encode

This function is used to URL encode strings so they can be sent through a URL. This function also makes sure all the characters have been transformed into their entities.

function url_encode ($str) {
    return 
htmlentities(urlencode($str));
}
?>

Leave a Reply