if (file_exists("displaytab.php")) {
$sys = fopen("displaytab.php", "r+");
system(".\displaytab.php"); }
I've tried to run the script in displaytab.php that I saved in the directory of my local server, I searched for the correct signature of system() and I used it, but it doesn't work. Am I using the wrong command or the right one but in the wrong way?
fopenfirst. And how can you tell it isn't executing? What are you expecting when it works?.\displaytab.php? Are you sure the file is actually executable?