I have a PHP app and I need to delete a client-side file. How can I achieve that?
I'm new to PHP. Hope someone can help me.
Thanks.
I have a PHP app and I need to delete a client-side file. How can I achieve that?
I'm new to PHP. Hope someone can help me.
Thanks.
You can't, browsers won't allow it, full stop.
You could if you wrote a browser/ActiveX/Java plugin that has that kind of access and got the user to install it, but please don't.
You can't do this for obvious security reasons. PHP is server side only.