I have script in dir /en. This dir is in the site root. How can I call (include) a script from the root.
I tried require ('./browser.php'); but not help.
if you mean you try to include "/browser.php" into "/en/myscript.php" then you should require '../browser.php'; or require $_SERVER['DOCUMENT_ROOT'].'/browser.php'; (latter is OK no matter where "myscript.php" is located).