I'm creating a directory in a php script, moving into that directory and doing some stuff. This part works fine.
Now, I want to move out of this directory and delete it. Any pointers on how to do this?
I have tried moving up 1 level, but it doesnt work
chdir("../");
chdir("..")
system("cd ..");
none of the above have any effect on the present working directory