PHP Classes

File: include/deleteImg.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   WYSIWYG Rich Text Editor with Ajax Gallery PHP MySQL   include/deleteImg.php   Download  
File: include/deleteImg.php
Role: Example script
Content type: text/plain
Description: Example script
Class: WYSIWYG Rich Text Editor with Ajax Gallery PHP MySQL
Edit HTML on a Web page, including images
Author: By
Last change:
Date: 1 year ago
Size: 277 bytes
 

Contents

Class file image Download
<?php
   
include "./autoload.php";
   
$base = new UploadIMG;
   
header("Content-Type: application/json");
   
    if (isset(
$_POST["delete"])) {
       
$name = $_POST["name"];
       
$delete = $base->deleteIMG($name);
        echo
json_encode($delete);
    }
?>