I created a link through the symlink() function. Now I want ot delete it. Does anybody know how to do that?? Please help.
Try unlink();
Works for both files and symlinks.
I am just afraid that it might delete the content of the link it points to. Have you ever used it to delete a link?
To be honest I am not sure if I have, but I think I have. If you are concerned just create a bogus file, create a symlink to it, then remove it with unlink() and see if your file is still there.