With this class we just need to pass the URL and we can get different part of that URL, like host, port, directory, query string, etc.
We will check this with below test URL:
Test URL: http://user:[email protected]:8383/the/path.html?query=value#anchor
So this is how you can get the different part of the URL using MooTools More Class(URL). This helps me to solve my problem, I hope this will helps you in same way. Best Luck :)
Avinash Zala is leading various projects which deals with the various technology involved with the web. A combination of perfect technical and management skills. Avinash would like to chat with you and convert your imagination into the working system. You can get in touch with him on Facebook and Twitter.
View all posts by: Avinash