PHP Classes

File: uploady/admin/custom/actions/save.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/admin/custom/actions/save.php   Download  
File: uploady/admin/custom/actions/save.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Fix issue in saving custom code and fix dockerfile
Date: 2 months ago
Size: 283 bytes


Class file image Download

include_once '../../session.php';

if (
$_POST['button'] == "css") {
file_put_contents(APP_PATH . "/assets/css/custom.css", $_POST['editor']);

if (
$_POST['button'] == "js") {
file_put_contents(APP_PATH . "/assets/js/custom.js", $_POST['editor']);