14/12/2019How do you use bcrypt for hashing passwords in PHP?use password_hash() to create a bcrypt hash of any password: password_hash('yourPassword', PASSWORD_DEFAULT); use password_hash() to create a bcrypt hash of […]
21/02/2024Allow upload csv file for wordpressFunction allow upload csv file for wordpres in function.php
17/12/2019Export databases with mysqldump and gzip filemysqldump -u[dbuser] -p[dbpass] [dbname] | gzip > [dbname].sql.gz
09/12/2019Query mysql update home and siteurl table wp-option wordpressCâu lệnh SQL update url website wordpress SET SQL_SAFE_UPDATES = 0; UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl.com', 'http://www.newurl.com') WHERE […]
17/06/2023Lỗi Export mysql “ERROR 1045 (28000): Access denied for user”If you’re able to connect to the database using mysql, but you get an error for mysqldump, then the problem […]
02/09/2019Fix EE4 ssl-renew bị lỗiVào đổi tên các file trong thư mục có đường dẫn /opt/easyengine/services/nginx-proxy/certs/ Sau đó chạy lệnh ee site ssl-renew domain.com