Hi All,
I'm trying to unlink a file.
I start with a form and submit it using javascript's submit() (out of necessity). Eventually the php code arrives at a function and unlinks the file (or rather doesn't).
Now, the files unlinks when I use die() to exit out of script at the end of the function when testing but when I run it normally, nothing gets unlinked and the file remains. The code reaches the unlink() function either way.
Is this a javascript problem or php issue?
Thanks for any help offered.