EN VI
Posts (9)
2022-04-24 13:05:58
Laravel Thêm Helper Để Định Nghĩa Hàm(Function) Và Hằng(const) Sử Dụng Mọi Chỗ
Trong Laravel bạn có thể custom helper theo ý muốn của bạn và gọi nó ở bất kì đâu trong project giống như là cách gọi của route, blade view, models, controller... đây thực sự là một giải pháp tốt để t...
0
2022-04-14 10:04:38
Lập Trình SuiteCRM Giỏi Hơn Nếu Bạn Nắm Được Một Số Mẹo Khi Code
Sau một thời gian dài làm việc với SuiteCRM thì mình có rút ra được 1 số mẹo và cách viết code khá hữu ích nên mạnh dạn tạo post này để chia sẻ tới mọi người.SuiteCRM là gì?- Đối với người sửa dụng: S...
0
2022-05-09 10:34:17
Các Framework PHP phổ biến nhất ở thời điểm hiện tại
Framework(Khung) là tập hợp phần mềm hoặc chương trình, cấu thành nên một bộ khung và các thư viện lập trình được đóng gói giúp việc lập trình và triển khai dễ dàng nhanh chóng hơn. Nó giúp lập trình...
0
2022-05-09 10:57:16
Lập trình hướng đối tượng (OOP) trong PHP là gì?
1. Lập trình hướng đối tượng(OOP) là gì?     OOP viết tắt của Object-Oriented Programming – Lập trình hướng đối tượng ra đời giải quyết các vấn đề mà lập trình truyền thống gặp phải. Lập trình hướng đ...
0
2022-05-09 11:19:57
Objects & Classes (Đối Tượng và Lớp) Trong PHP
1. Class trong PHP là gì?    Một class là một khuôn mẫu đại diện cho một thực thể trong thế giới thực và nó định nghĩa các thuộc tính và phương thức của thực thể. Trong phần này, chúng ta sẽ thảo luận...
0
2022-05-09 11:46:59
Constructor và Destructor trong lập trình hướng đối tượng PHP là gì
1. Constructor là gì?    Hàm constructor là kiểu hàm đặc biệt mà sẽ được gọi tự động bất cứ khi nào có một sự tạo thành đối tượng từ một Class. Vì thế, chúng ta lợi dụng cách vận hành này, bằng việc k...
0
2022-05-09 12:04:40
Tìm hiểu Abstract Class và Interface trong lập trình PHP là gì?
Interface và Abstract class là 2 khái niệm cơ bản trong lập trình OOP. Nhưng phân lớn mọi người cảm thấy mơ hồ và lẫn lộn 2 khái niệm này. Vậy chúng là gì, khác nhau như nào? Tại sao dùng cái này Inte...
0
2022-05-23 09:44:29
Laravel mix là gì? Tại sao nên dùng Laravel mix? Cách sử dụng Laravel mix như thế nào?
1. Tại sao nên dùng Laravel mix?    Trong các dự án thì việc viết code chỉ là một phần, sau khi viết code xong chúng ta cần làm sao để tối ưu code, tối ưu trang web của chúng ta. Với những dự án nhỏ t...
0
2022-06-04 09:58:46
PHP Laravel - How to set up file permissions when deploy in host vps centos linux
ProblemI’m using Apache Web Server that has the folder owner set to _www:_www. I keep forgetting about the best practice when it comes to file permissions, for example when I create a new Laravel 5 pr...
0
Questions (26)
2022-05-29 15:40:47
It looks like your client receives some invalid XML - either the WSDL itself or the response returned by the server. Try to invoke the client with the trace option set to TRUE and check the actual XML...
Tags: PHP Coding Lập trình
2022-05-30 17:04:18
You can't set Cookies for other domain as you are on.maybe you can try something like this:User try to loginAPI request from A to B to get a Key ( remembered in Database Site B )Redirect User with thi...
Tags: PHP Coding Lập trình
2022-09-07 17:43:12
Run command:sudo systemctl start mariadbsudo service httpd start
Tags: PHP error MySQL
2022-12-03 01:03:40
To resolve this, you will need to assign 'Send as' permissions to the affected users. To do this for Exchange 2007, follow the below instructions:Log in to the server running Exchange.Open Active Dire...
Tags: PHP Mail Exchange
2022-12-11 20:32:32
The + is a special char which will be escaped by parse_str(). You need to parse the query string by yourself.Note: If there are multiple values you need to split by & first.Callinghttp://localhost:400...
Tags: PHP Coding error
2024-03-10 13:00:04
You're resetting $grand_total to 0 in each loop iteration. You should initialize $grand_total before the loop starts and then add $sub_total to each iteration. @php $grand_total = 0; @endphp @for...
Tags: PHP Laravel foreach
2024-03-11 06:30:03
JSON_CONTAINS_PATH would do the trick, e.g. select * from `units` where json_contains_path(`prefixes`, 'one', '$."abc"') limit 1
Tags: PHP MySQL Laravel
2024-03-11 21:00:05
The certificate obtained in the browser is in the PEM-encoded format. You can obtain the public certificate in the PEM-encoded format in your program by applying the openssl-x509-export function. $loc...
Tags: PHP ssl ssl-certificate
2024-03-12 00:00:12
It seems like you're on the right track! However, there are a couple of things that need to be adjusted to ensure the code works correctly: Array of Prime Numbers: In your $primes array, the number...
Tags: PHP
2024-03-12 04:00:07
I believe this may be what you are trying to do. PHP:
Tags: PHP

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login