Hi!
I have a script that opens a file based on the given variable
$filename = "list/list.txt";
$lines = file($filename);
the script works fine if i view it in the browser using http://localhost/blablabla
but if i preview it using Maguma Studio I keep getting an error saying that the file can not be found. I have to give it the full path (C:\Directory...) so that it works.
this really bothers me even though its a trivial matter. can anyone help?