Home « Server software «
Documentation: users/delete.php
users/delete.php - Delete a user profile
This script calls for confirmation, then it actually deletes the user.If the file
demo.flag exists, the script assumes that this instance
of YACS runs in demonstration mode, and user profiles are not actually deleted.Restrictions apply on this page:
- associates are allowed to move forward
- surfer is allowed to delete its own profile, except if this is forbidden
- permission denied is the default
To prevent self-deletion, you have to change the parameter 'users_without_self_deletion' from the configuration panel for users.
Accept following invocations:
- delete.php/12
- delete.php?id=12
This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- Pierre Robert