Profile
Achievement
drwitt's Recent SnippetsTagged function
- All /
« Prev 1 Next »
Many scripts rely on `$_SERVER[SCRIPT_URL]` which is sometimes missing. This function detects it from other server variables and fixes the missing field.
1
1588
posted 14 years ago by drwitt
This PHP4 function will increment a given string by a given interval. This might be useful when a string has to be unique. An optional array with "forbidden" return values may be passed.
Usage:
2
856
posted 17 years ago by drwitt