i have to design a PHP interface on my fedora 13 using LAMP
i need to edit my SQUID.CONF file using PHP for my bandwidth manager project.
i'm unable to open or handle any file outside the HTML folder
$File = "/root/Desktop/YourFile.txt";
$Handle = fopen($File, 'w');
$Data = "Jane Doe\n";
$Data = "Bilbo Jones\n";
print "Data Written";
This simple code runs in HTML location but not on desktop....