PHP Classes

File: constant.php

Recommend this page to a friend!
  Classes of Verne Joe   XML Guestbook   constant.php   Download  
File: constant.php
Role: Configuration script
Content type: text/plain
Description: define constant
Class: XML Guestbook
Create and manage guestbooks stored in XML files
Author: By
Last change:
Date: 19 years ago
Size: 1,177 bytes
 

Contents

Class file image Download
<?php

/////////////////////////////////////////////////////////////////////
//
// this is the constants define page of guestbook
//
// last modify was on 2004-12-27
//
/////////////////////////////////////////////////////////////////////

//some constants use often
define ('XML_FILENAME', 'guestbook.xml');
define ('RSS_FILENAME', 'rss.xml');
define ('RECORD_DISPLAY_COUNT', '3');

//words display in page
define ('PAGE_TITLE', 'php&xml guestbook');
define ('NEW_LEAVE_WORD', 'submit new');
define ('WANT_CEART_WORD', 'please goto page one to submit new^^');
define ('WORD_AUTHOR', 'author: ');
define ('WORD_TITLE', 'title: ');
define ('WORD_CONTENT', 'content: ');
define ('SELECT_HEAD_PIC', 'please select a head picture');
define ('SUBMIT_BUTTON', 'submit');
define ('WORD_TIME', 'submit time: ');
define ('WORD_MODIFY', 'modify');
define ('WORD_DELETE', 'delete');
define ('TOTAL_RECORD_FRONT', '');
define ('TOTAL_RECORD_BACK', 'records in all');
define ('PAGE', 'page');
define ('SPACER', ' | ');
define ('FIRST_PAGE', 'first');
define ('PREVIEW_PAGE', 'pre');
define ('NEXT_PAGE', 'next');
define ('LAST_PAGE', 'last');

?>