What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-08-30 00:16:02
iteration in php
<?php class MyClass { public $var1 = 'value 1'; public $var2 = 'value 2'; public $var3 = 'value 3'; &... Add solution -
-
Javascript 2021-08-29 21:45:02
dropzone csrf codeigniter
var myDropzone = new Dropzone("div#mydropzone", { url: "/controller/method_receive_files", sending: function (file, xhr, formData) { formData.append('<?php echo $this->security->get_csrf_token_name(); ?>', '<?php... Add solution -
PHP 2021-08-29 21:00:01
strpos case insensitive php
stripos ( string $haystack , string $needle , int $offset = 0 ) : int|false <?php $findme = 'a'; $mystring1 = 'xyz'; $mystring2 = 'ABC'; $pos1 = stripos($mystring1, $findme); $pos2 = stripos($mystring2, $findme); // Nope, 'a' is cer... Add solution -
PHP 2021-08-29 20:25:02
change php version using htaccess
# php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74 .php .php7 .phtml </IfModule>... Add solution -
Shell/Bash 2021-08-29 20:19:03
magento bin install
php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --ba... Add solution
Best helpers
Ranking is empty