What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-15 08:01:12
absolute path php
# C:\Users\Redacted\Desktop\main.php include __DIR__ . DIRECTORY_SEPARATOR . 'include.php'; echoScriptPath(); # C:\Users\Redacted\Desktop\include.php function echoScriptPath() { list($scriptPath) = get_included_files(); echo 'The script being exe... Add solution