|
|
@ -3,7 +3,7 @@ |
|
|
|
Set of class functions I use from time to time. |
|
|
|
|
|
|
|
1. [isValidURL](https://gitea.hayscloud.com/rhays/URL_Class/wiki/isValidURL) - Returns TRUE/FALSE if the string is a Valid URL |
|
|
|
2. stripWWW - Strips the WWW off the incoming URL |
|
|
|
2. [stripWWW](#stripWWW) - Strips the WWW off the incoming URL |
|
|
|
3. getDomainName - Strips the WWW off the incoming URL |
|
|
|
4. Status_Code - Returns the Status Code of a URL ie(200 or 404) |
|
|
|
5. FavIcon - Get an image object of the FavIcon, Returns (T/F) if present |
|
|
@ -12,3 +12,28 @@ Set of class functions I use from time to time. |
|
|
|
8. isMobileDevice - Tests the User Agent to see if it is a mobile device |
|
|
|
9. isSpiderBot - Tests the User Agent to see if it is a Bot/Spider/Crawler |
|
|
|
|
|
|
|
|
|
|
|
----- |
|
|
|
|
|
|
|
isValidURL |
|
|
|
|
|
|
|
|
|
|
|
----- |
|
|
|
(#some-markdown-heading) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#stripWWW) |
|
|
|
Test Anchor |