What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-17 08:30:02
install magento 2.4.2
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition ./ php bin/magento setup:install \ --admin-firstname=John \ --admin-lastname=Doe \ [email protected] \ --admin-user=admin \ --admin-pa... Add solution -
PHP 2022-03-17 06:35:44
download file zip from subdirectory using php
<?php // Create ZIP file if(isset($_POST['create'])){ $zip = new ZipArchive(); $filename = "./myzipfile.zip"; if ($zip->open($filename, ZipArchive::CREATE)!==TRUE) { exit("cannot open <$filename>\n"); } $di... Add solution -
PHP 2022-03-17 05:45:16
checking php version
<?php echo 'PHP version: ' . phpversion(); ?> Add solution -
PHP 2022-03-16 22:55:34
wp_query item count
<?php $count = $custom_posts->found_posts; ?> Add solution -
PHP 2022-03-16 19:50:17
laravel create new migration
php artisan make:migration create_users_table Add solution -
PHP 2022-03-16 16:05:02
run a server php terminal
$ cd ~/public_html $ php -S localhost:8000 Add solution