V
V
vitaly_742020-05-18 07:48:59
PHP
vitaly_74, 2020-05-18 07:48:59

How to run $_SERVER['SCRIPT_URL'] variable?

mod_rewrite module is enabled, in htaccess
RewriteEngine On
Options -Indexes

but $_SERVER['SCRIPT_URL'] is still empty. I use OpenServer

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2020-05-18
@FanatPHP

You don't need any "script url". You most likely need a request_uri

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question