PHP Classes

File: uploady/config/config.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/config/config.php   Download  
File: uploady/config/config.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
Fixe and Upgrade PhpFileUploading
Added Fallback for Dropzone
Initialize Application
Added Init to config.php
Date: 2 months ago
Size: 593 bytes


Class file image Download

// Database Settings
define("DB_HOST", "db");
define("DB_USER", "uploady");
define("DB_PASS", "uploady");
define("DB_NAME", "uploady");

// Application Settings
define("SITE_URL", "http://localhost");
define("APP_PATH", dirname(__FILE__, 2) . DIRECTORY_SEPARATOR);
define("LOGS_PATH", APP_PATH . "php_logs.log");

// Upload Settings
define("MAX_SIZE", "1 GB");
define("UPLOAD_FOLDER", "uploads");

// Environment Settings
require_once 'environment.php';

// Autoload Composer
require_once APP_PATH . 'vendor/autoload.php';

// Initialize Application
require_once APP_PATH . 'init.php';