Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Extracting Page Name

by quester (Vicar)
on Apr 27, 2012 at 06:34 UTC ( #967528=note: print w/ replies, xml ) Need Help??


in reply to Re: Extracting Page Name
in thread Extracting Page Name

... a colon, if it's followed by a port number...

Minor nit: The colon and port number is just after the hostname in a URL, not the page name. For example, consider the port 8080 in

http://www.example.com:8080/pagename.html

The question mark following the page name in a URL starts a list of parameters being passed from the browser to the script running in the server. The parameter values can be more or less anything; by convention spaces will have been replaced by plus signs, but otherwise almost anything goes, including colons. For example,

http://www.example.com/filename.pl?credentials=myuserid:zomg_dont_send_passwords_in_the_clear


Comment on Re^2: Extracting Page Name
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-08-22 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (145 votes), past polls