array parse_url ( string url )[supersaibal]Originariamente inviato da ermy
In sostanza al posto di avere http:// www.nomedelsito.it mi dovrebbe rimanere solo "nomedelsito"[/supersaibal]
This function returns an associative array containing any of the various components of the URL that are present. If one of them is missing, no entry will be created for it. The components are :
- scheme - e.g. http
- host
- port
- user
- pass
- path
- query - after the question mark ?
- fragment - after the hashmark #