Hi all. OK so I was informed the other day that using unlink($variable.txt) could cause me big troubles because a malicious user could delete any file they wished.
Now I'm wondering if I could perhaps use conditional statements to check that the file to be deleted is of a specific type, (for instance, all files with the extension .fcd are expendable) So I have a conditional clause which takes the variable and adds .fcd extension to it and THEN unlinks it.
I really need to finda secure yet practicle way of deleting these damned temporary files.
The call to the delete script is trhough macromedia flash (using loadvariables), so it's never actually made available to the end user...
Cheers
Jesse