Home « Server software «
Documentation: comments/delete.php
comments/delete.php - Delete a comment
This script calls for confirmation, then actually deletes the comment.This page is to be used by associates and editors only, while they are editing comments. The script updates the database, then redirects to the referer URL, or to the index page.
Restrictions apply on this page:
- associates and authenticated editors are allowed to move forward
- permission is denied if the anchor is not viewable by this surfer
- permission is granted if the anchor is the profile of this member
- authenticated users may suppress their own posts
- else permission is denied
Accept following invocations:
- delete.php/12
- delete.php?id=12
If the anchor for this item specifies a specific skin (option keyword '
skin_xyz
'),
or a specific variant (option keyword 'variant_xyz
'), they are used instead default values.This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com