Top "Url-parsing" questions

URL parsing is the process of taking a URL and producing a representation of its constituent parts: scheme, host, port, path, query, and fragment.

How to get parameters from a URL string?

I have a HTML form field $_POST["url"] having some URL strings as the value. Example values are: https://example.…

php url-parsing
Change URL parameters

I have this URL: site.fwx?position=1&archiveid=5000&columns=5&rows=20&sorting=ModifiedTimeAsc what I need is …

javascript url query-string url-parameters url-parsing
How to convert URL parameters to a JavaScript object?

I have a string like this: abc=foo&def=%5Basf%5D&xyz=5 How can I convert it into …

javascript url url-parameters url-parsing
How to get the last path in a URL?

I would like get the last path segment in a URL: http://blabla/bla/wce/news.php or http://blabla/…

php url-parsing
Is $_SERVER['REQUEST_SCHEME'] reliable?

I recently was seeking a way to properly determine protocol, under which url request was supplied to the server. I …

php url-parsing
URL parsing in Java

I've got the URL like this: http://test.com/testapp/test.do?test_id=1&test_name=SS Is there …

java url url-parsing
Creating a new Location object in javascript

Is it possible to create a new Location object in javascript? I have a url as a string and I …

javascript url-parsing
How can I check whether a URL is valid using `urlparse`?

I want to check whether a URL is valid, before I open it to read data. I was using the …

python urllib2 url-parsing urlparse
Break a URL into its components

I'm using javascript and would like to take a URL string that I have and break it down into its …

javascript url url-parsing
How can I extract video ID from YouTube's link in Python?

I know this can be easily done using PHP's parse_url and parse_str functions: $subject = "http://www.youtube.com/…

python regex parsing url-parsing