Login   Register  
PHP Classes
elePHPant
Icontem

File: MyCSVAdmin/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thiemo Mättig  >  TM::MyCSV  >  MyCSVAdmin/index.php  >  Download  
File: MyCSVAdmin/index.php
Role: Application script
Content type: text/plain
Description: Administrator Main Script and Configuration
Class: TM::MyCSV
Manage CSV files like database tables
Author: By
Last change: Accessible without user login
Date: 4 years ago
Size: 405 bytes
 

Contents

Class file image Download
<?php

require_once("Apeform.class.php");
require_once(
"../MyCSV.class.php");
require_once(
"MyCSVAdmin.class.php");

$admin = new MyCSVAdmin();
// $admin->dir = array("../", "./", "sub", "../tests");
// $admin->charset = "UTF-8";
// $admin->priv = PRIV_ALL;

$method $admin->GET('method');
if (empty(
$method) || ! method_exists($admin$method)) $method "tables";
$admin->$method();

?>