What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-12 02:30:05
removing index.php in codeigniter
<?php #By default, the index.php file will be included in your URLs: # Create a .htaccess file in your root folder and paste the below code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$... Add solution -
PHP 2022-03-11 13:30:01
index.php in codeigniter
<?php #By default, the index.php file will be included in your URLs: # Create a .htaccess file in your root folder and paste the below code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$... Add solution -
PHP 2022-03-02 10:05:02
basic code for file upload in php
//This is the minimal code for an image upload for first time learners //html portion <!DOCTYPE html> <html> <head> <title>ImageUpload</title> </head> <body> <form action="upload.php" method="p... Add solution -
PHP 2022-03-01 10:10:04
log data into file php
//Something to write to txt log $log = "User: ".$_SERVER['REMOTE_ADDR'].' - '.date("F j, Y, g:i a").PHP_EOL. "Attempt: ".($result[0]['success']=='1'?'Success':'Failed').PHP_EOL. "User: ".$username.P... Add solution -
Other 2022-02-27 10:40:20
Self hosted Auto update Custom WP Plugin or Theme - AKA Personal Wordpress Update Repository
define( 'PREFIX_PLUGIN_VERSION', '1.7' ); ################### # Automatic updates ################### /** * Pop-up with details about plugin update visible when there is a new release */ function prefix_plugin_info( $res, $action, $args ) { // do... Add solution