Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

file and folder deletion

edited September 2006 in Vanilla 1.0 Help
I fel in love with FB the first time i saw it and have been dying to use it in a project, now i have the chance i need some help in altering it. I have created the following function to delete files and folders, but want to include the php function in the index file to reduce the ammount of files. But i need an argument, being a designer not a developer, i need some help. On top of not being able to run the function inside the index file, i also need it not to error on either argument when a file/folder name is not found. If you need any more info please ask. <div class=\"deletef\"><form action=\"_deletefolder.php\" method=\"get\"> <input type=\"text\" size=\"10\" name=\"foldername\"> <input type=\"submit\" value=\"Delete\"> </form> // The workings to delete <? rmdir($_GET["foldername"]); unlink($_GET["foldername"]); ?>
This discussion has been closed.