PHP Classes

File: MyCSVAdmin/index.php

Recommend this page to a friend!
  Classes of Thiemo Kreuz   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: 15 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();

?>