- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
if($_SERVER['SERVER_ADDR'] == '127.0.0.1')
$PATH_DELIM=";"; //разделитель путей. в Windows - ; , в Unix - :
else
$PATH_DELIM=":";
..................................
$adress = str_replace("//","/",$host.$request);
$adress = str_replace("//","/",$adress);
$adress = str_replace("//","/",$adress);