Hàm javascript tạo và lấy dữ liệu cookie trên trình duyệt
Hàm tạo cookie function setCookiename, value, days { var expires; if days { var date = new Date; date.setTimedate.getTime days 24 60 60 1000; expires = ; expires= date.toGMTString; } else { ...
#Frontend ·
28/03/2017 ·
367 lượt xem
Lỗi PDOException in TNTIndexer.php line 87: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
Thông báo khi cài laravel tnt PDOException in TNTIndexer.php line 87 SQLSTATEHY000 General error 8 attempt to write a readonly database Lỗi này sả...
#Bugs ·
23/03/2017 ·
401 lượt xem
Lỗi The MAC is invalid. trong laravel
Lỗi này là do tạo key mới bằng lệnh php artisan keygenerate Trong khi cookie trên trình duyệt bạn vẫ...
#Bugs ·
22/03/2017 ·
378 lượt xem
Căn giữa theo chiều dọc cho phần tử css
position relative; top 50; -webkit-transform translateY-50; -ms-transform translateY-50; transform translateY-50; Xem ví dụ See the Pen Vertical center with only 3 lines of CSS by ...
#Frontend ·
02/03/2017 ·
401 lượt xem
Chỉnh css kích thước cho google re-captcha cho phù hợp với website
...
#Frontend ·
09/02/2017 ·
370 lượt xem
Thay thế giá trị trong cột mysql
Câu lệnh thay thế giá trị trong cả cột mysql UPDATE my_table SET colum_name = replacecolum_name, 'oldstring', 'newstring'; Câu lệnh thay thế giá trị một ...
#Frontend ·
16/01/2017 ·
408 lượt xem
Tạo tên miền ảo cho localhost với XAMPP trên windows
B1 Sửa file hosts trong thư mục CWindowssystem32driversetc Nếu không lưu được thì vào properties thêm quyền sửa cho user Thê...
#Frontend ·
23/12/2016 ·
334 lượt xem
Download file bằng link đơn giản
Chỉ cần thêm thuộc tính download vào thẻ a chứa link tới file bạn cần tải như sau <a ...
#Frontend ·
30/09/2016 ·
303 lượt xem
Background Notification
https//wicg.github.io/BackgroundSync/demo/...
#Frontend ·
03/08/2016 ·
347 lượt xem
Minifile html code laravel 5.* bằng plugin
Plugin https//github.com/GrahamCampbell/Laravel-HTMLMin Bước 1 Chạy lệnh composer require graham-campbell/htmlmin Bước 2 mở config/app.php thêm dòng ...
#Laravel ·
03/08/2016 ·
490 lượt xem