PHP Classes

File: examples/upload/fc.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/upload/fc.php   Download  
File: examples/upload/fc.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 550 bytes
 

Contents

Class file image Download
<?php
error_reporting
(E_ALL);
require
'config.php';
require
dirname(__FILE__) . '/../../A/Locator.php';

$Locator = new A_Locator();
$Locator->autoload();

$Request = new A_Http_Request();
$Response = new A_Http_Response();
$Locator->set('Request', $Request);
$Locator->set('Response', $Response);

$ErrorAction = array('', 'upload-files', 'index');
$Mapper = new A_Controller_Mapper('', $ErrorAction);

$Controller = new A_Controller_Front($Mapper, $ErrorAction);
$Controller->run($Locator);

$Response->out();

#dump($Request);