topical media & game development
professional-ajax-09-AjaxMail-AjaxMailAction.php / php
<?php
require_once("inc/config.inc.php");
require_once("inc/pop3lib/pop3.class.php");
require_once("inc/pop3lib/pop3message.class.php");
require_once("inc/pop3lib/pop3header.class.php");
require_once("inc/pop3lib/pop3attachment.class.php");
require_once("inc/AjaxMail.inc.php");
require_once("inc/JSON.php");
//headers
header("Content-Type: text/plain");
header("Cache-control: No-Cache");
header("Pragma: No-Cache");
//get information
_GET["folder"];
_GET["page"];
_GET["action"];
//create new mailbox
oJSON = new JSON();
//output for the page
action) {
case "delete":
_GET["id"]);
break;
case "empty":
mailbox->restoreMessage(info = folder, output = info);
echo
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.