But on the new server with php7.4 it doesn't return anything at all, just totally blank.. anyone know whats going on with it ?!
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase. viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
$file= "./DOWNLOAD/file.txt" doesn't work anymore.
$file= "/DOWNLOAD/file.txt" doesn't work anymore.
$file= "DOWNLOAD/file.txt" Does
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase. viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
file_exists() works on local filenames of the server, so you have to prepend the directory part of $_SERVER['SCRIPT_FILENAME'] when you want to use an absolute path (or $_SERVER['DOCUMENT_ROOT'], if your script is in the toplevel directory). Relative pathnames are always troublesome; the current directory may not always be the same as where the script is located.