PHP Classes

File: verifyguestbook.php

Recommend this page to a friend!
  Classes of Frederik Yssing   Guestbooks   verifyguestbook.php   Download  
File: verifyguestbook.php
Role: Example script
Content type: text/plain
Description: verify a users entry
Class: Guestbooks
Manage guestbooks or simple blogs using MySQL
Author: By
Last change:
Date: 12 years ago
Size: 456 bytes
 

Contents

Class file image Download
<?php
   
include_once('blog.class.php');
   
$blogUser = new blogUser();
   
    if(isset(
$_REQUEST['entry']) && isset($_REQUEST['email'])){
        if(
$blogUser->verifyBlogEntry($_REQUEST['entry'],$_REQUEST['email'])){
            echo
"Your blog entry have been verified, now please wait for it to be approved by an administrator. Thank you.";
        } else {
            echo
"An error accured when trying to verify this entry";
        }
    } else {
        echo
"Missing something?";
    }
?>