PHP Classes

File: ajax.php

Recommend this page to a friend!
  Classes of Brett Dutton   JackBooted PHP Framework   ajax.php   Download  
File: ajax.php
Role: Example script
Content type: text/plain
Description: Example script
Class: JackBooted PHP Framework
Web application framework using simplified MVC
Author: By
Last change:
Date: 8 years ago
Size: 455 bytes
 

Contents

Class file image Download
<?php
/* This is designed for serving up ajax calls
 * It will return quickly if this is PHPLiceX call or calling
 * with action to return some data
 */
require_once dirname ( __FILE__ ) . '/config.php';
// Check to see if this is a PHPLixeX call
PHPLiveX::create ()->execute();

// If made it to here as PHPLiveX did not execute then
// check if we have any wep page actions
if ( ( $html = \Jackbooted\Html\WebPage::controller() ) !== false ) echo $html;