Profile
Achievement

drwitt's Recent Snippets
- 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
1672
posted 15 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
926
posted 18 years ago by drwitt