PHP Classes

File: config/change_config.php

Recommend this page to a friend!
  Classes of jon   PHP Folder Image Gallery   config/change_config.php   Download  
File: config/change_config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Folder Image Gallery
Display images and folders inside a directory
Author: By
Last change:
Date: 2 years ago
Size: 799 bytes
 

Contents

Class file image Download
<?php

session_start
();

//checks if the ajax post has a "value" variable.
if(isset($_POST['value']))
{
   
//checks if the ajax post has a "type" variable.
   
if(isset($_POST['type']))
    {
       
//if so, check the "type" needed to edit.
       
if($_POST['type'] === 'select_encryption')
        {
            include(
'select_encryption.php');
        }
        if(
$_POST['type'] === 'select_version')
        {
            include(
'select_version.php');
        }
        if(
$_POST['type'] === 'select_domain')
        {
            include(
'select_domain.php');
        }
        if(
$_POST['type'] === 'select_logo')
        {
            include(
'select_logo.php');
        }
        if(
$_POST['type'] === 'select_alias')
        {
            include(
'select_alias.php');
        }
        if(
$_POST['type'] === 'select_folder')
        {
            include(
'select_folder.php');
        }
    }
}
else
{
   
//display an error
}