I tried to search for a difference but each time the vars are identical, any ideas ?
http://www.php.net/manual/en/reserved.variables.server.php
Based on my understanding of this, they can be different if you're executing through the command line (CLI).
Check THIS Difference:
script_filename returns REAL DIR C:/xampp/htdocs/demo/index.php
file returns LOGIC JUNKTION D:\www\local\demo\cms\init.php
Hold that in mind when checking pathes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With