Hi, I'm using this code to delete a file using onunload, but this is not working. Can anyone please tell me why? I know the function apaga() works, but the onunload thing doesn't. I probably missed a detail. <html> <head> </head> <BODY onunload="return apaga($diretorio);"> <?php function apaga($diretorio){ unlink ("$diretorio.tgz"); }
- Re: [PHP] something wrong Eduardo Kokubo
- Re: [PHP] something wrong Eduardo Kokubo
- RE: [PHP] something wrong Rich Cavanaugh
- Re: [PHP] something wrong Eduardo Kokubo
- Re: [PHP] something wrong Eduardo Kokubo