Function to bring full path of files php | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответов
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