+ 1

Function to bring full path of files php

Good night, i want function to bring full path of file in php like this 👇 http://localhost/myproject/index.php

27th Jan 2018, 4:31 PM
abdullah alnuaimi
abdullah alnuaimi - avatar
2 odpowiedzi
0
check this : __FILE__ or this : $_SERVER['SCRIPT_FILENAME']
27th Jan 2018, 4:35 PM
Vincent
Vincent - avatar
+ 1
Ok thanks dear🌺
27th Jan 2018, 4:57 PM
abdullah alnuaimi
abdullah alnuaimi - avatar