A PHP class that will take a supplied web URL, do some basic structural validation, and extract/separate its components for easy reference.
ParseUrl.php
- the main class.example.php
- An example of how to use the class, and the values it will return.
Feel free to comment and contribute - either with ideas or pull requests. If you run into a URL that doesn't work, definitely let me know!
© 2012 Eric "Aken" Roberts of Cryode Web Studio