PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
scarface222 wrote:Anyone have an idea of what I did wrong?
Yep: you assumed we knew exactly what this code is all about, knew exactly what the variables were and what values they had, and could easily identify any possible problem that may exist.
Give a description. Background on the project. Details of the error. Error messages if you have any.
there is a file ($mp3) I need deleted within a folder ($user=g) within a folder (audio). I wanted to know if my form for my unlink script was correct. As in did I take the right steps to get to the file I want and delete it. Sorry I was in a rush and worded the question poorly.
this is the error I have now that I have tested it properly
Warning: fopen(usercontent/g/audio) [function.fopen]: failed to open stream: Permission denied in C:\Web Files\wamp\www\y\testing123.php on line 13
can't open file