I've Googled around a bit, and can't find any answer that works for me. I'm trying to unlink a file, but nothing happens and no errors appear (display_errors() stopped the page from loading). The code is below. Thanks!
chdir("/var/www/lib.techtri.be/");
unlink("/var/www/lib.techtri.be/R1Count.txt");
Edit: I know the chdir isn't needed, that's just for the later parts in the file.