Changeset 1766 for trunk/include/functions.inc.php
- Timestamp:
- Jan 29, 2007, 9:08:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r1758 r1766 727 727 function url_is_remote($url) 728 728 { 729 if (preg_match('/^https?:\/\/[~\/\.\w-]+$/', $url)) 729 if ( strncmp($url, 'http://', 7)==0 730 or strncmp($url, 'https://', 8)==0 ) 730 731 { 731 732 return true;
Note: See TracChangeset
for help on using the changeset viewer.