What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-25 03:15:09
wp varnish ip
//Add at the top of wp-config.php $temp_ip = explode(',', isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : (isset($_SERVER['HTTP_CLIENT_IP']) ? $_SERVER['HTTP_CLIENT_IP'] : $_SERVER['REMOTE_ADDR'])); $remote_addr = trim($temp_... Add solution -
PHP 2022-02-18 03:30:22
csv upload query in php
<?php // Load the database configuration file include_once 'dbConfig.php'; // Get status message if(!empty($_GET['status'])){ switch($_GET['status']){ &... Add solution -
Html 2022-02-15 18:00:01
file_put_contents(/var/www/demo.onlineexammanagement.com/public_html/storage/framework/cache/data/ea/83/ea83c7b371f7573de3cd055cea9229af0b0541e5): failed to open stream: No such file or directory
To do this, run the following Artisan commands on your command line php artisan cache:clear php artisan config:cache Then assign the permissions to the folder storage/framework/cache and Go to directory laravel/bootstrap/cache and delete co... Add solution -
Other 2022-02-11 08:30:02
wordpress multisite
1. Add below code to wp-config.php: /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); 2. Then navigate to Tools > Network Setup on Wordpress and follow prompts. 3. Add below code to wp-config.php: /* Multisite */ define('MULTISITE', true); defi... Add solution -
PHP 2022-01-31 21:05:57
increase upload size wordpress
1. Update .htaccess file php_value upload_max_filesize 128M php_value post_max_size 128M php_value memory_limit 256M php_value max_execution_time 300 php_value max_input_time 300 Change the numbers to the values that you need. The max executio... Add solution -
Other 2022-01-26 00:05:51
php connection file
<?php /** * A class file to connect to database */ class DB_CONNECT { // constructor function __construct() { // connecting to dat... Add solution -
PHP 2022-01-22 17:00:35
wordpress error enable
//Add develop or production config on your wordpress /wp-config.php file //DEVELOP CONFIG @ini_set( 'log_errors', 'On' ); @ini_set( 'display_errors', 'On' ); define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true );... Add solution
Best helpers
Ranking is empty