0

echo $_SERVER['SCRIPT_NAME]

i dnt understand why this prgm not giving any output.

16th Aug 2016, 2:49 PM
Bharati Deepak Giri
4 odpowiedzi
+ 1
first i can see here you didn't put "" double cotation properly..after correct this you try on your computer..
18th Aug 2016, 9:22 AM
Alif
Alif - avatar
+ 1
hey deepak .. i try here it's working..output will be ..playground echo $_SERVER["SCRIPT_NAME"];
18th Aug 2016, 9:27 AM
Alif
Alif - avatar
+ 1
you are missing a quote after SCRIPT_NAME. Right syntax is: echo $_SERVER['SCRIPT_NAME'];
18th Aug 2016, 10:24 AM
Bekir Uzun
Bekir Uzun - avatar
0
you tried it on the playground or in your localhost ?
16th Aug 2016, 10:12 PM
francis