Quote:
Originally Posted by fysiks
That is wrong. The function requires the full filepath relative to the root of the server. So, having slashes in there is correct for any file that is not at the root.
|
That's what I was saying - slashes are for separating directories (to define the path to the file), but he was trying to use slashes in the name of the file itself, not just the path to it. Unless of course the intention was to have a log named according to current year in a directory named after the current day which is in another directory named after the current month. This, however, makes no sense, at least not in that order, and AFAIK, you'd need to separately create each directory before you can create files in it.
EDIT:
This reminds me: PurposeLessx, have you created the directory "addons/amxmodx/purpo_attack_log/" ?
Other than that, I'm afraid I'm all out of ideas, at least until you answer the questions fysiks asked you.