Fix missing $_SERVER[SCRIPT_URL]


/ Published in: PHP
Save to your folder(s)

Many scripts rely on `$_SERVER[SCRIPT_URL]` which is sometimes missing. This function detects it from other server variables and fixes the missing field.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.