Top "Url" questions

A URL (Uniform Resource Locator), is a universal identifier on the web.

Check if URL has certain string with PHP

I would like to know if some word is present in the URL. For example, if word car is in …

php string url
URL encoding in Android

How do you encode a URL in Android? I thought it was like this: final String encodedURL = URLEncoder.encode(urlAsString, "…

android url urlencode
How do I create a URL shortener?

I want to create a URL shortener service where you can write a long URL into an input field and …

algorithm url
How do I get the YouTube video ID from a URL?

I want to get the v=id from YouTube’s URL with JavaScript (no jQuery, pure JavaScript). Example YouTube URL …

javascript regex url youtube
How to percent-encode URL parameters in Python?

If I do url = "http://example.com?p=" + urllib.quote(query) It doesn't encode / to %2F (breaks OAuth normalization) It …

python url encoding urllib urlencode
Pass a local file in to URL in Java

How do I create a new URL object using a local file, for the purpose of unit tests?

java url junit
URL rewriting with PHP

I have a URL that looks like: url.com/picture.php?id=51 How would I go about converting that URL …

php .htaccess url mod-rewrite url-rewriting
Linking to an external URL in Javadoc?

Something like: /** * See {@linktourl http://google.com} */

java url javadoc hyperlink
Characters allowed in a URL

Does anyone know the full list of characters that can be used within a GET without being encoded? At the …

url
jQuery: go to URL with target="_blank"

I am using this bit of jQuery code to get href of the link: var url = $(this).attr('href'); -- …

jquery url href target