Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of -2
0 answers
111 views

I am trying to connect PHP 7.0 app to MySQL 8.4.7. MySQL is running in Docker and I am using these command parameters: db: image: mysql:8.4.7 command: > --character-set-server=...
Score of 1
0 answers
84 views

I have this very simple code which I am failing to see how to reach a coverage target of 100%. final class StringValidator { public function matches( string $pattern, string $...
Score of -1
1 answer
91 views

I'm trying to make a rate limiting function that prevent users from using specific forms when they reach a certain threshold. The limit will get reset after a certain amount of time. When a user ...
Score of -1
0 answers
85 views

I'm running WordPress locally using XAMPP on Windows. Environment: - WordPress: 6.8 - Elementor: 3.34.2 - PHP: 8.2.12 - Apache: XAMPP - MySQL: XAMPP Problem: My website loads normally in the frontend, ...
Score of 0
0 answers
111 views

I am trying to execute a code on the product attribute page where there are no products this is my page as an example https://shop.mmstore.be/merk/rosso/. The problem is that the hook add_action( '...
Score of 1
1 answer
115 views

I have created a form to update/edit rows in my database. This form works on updating the ID related to selected row that is updated. The page that this is selected from is displayed based on a ...
Best practices
1 vote
7 replies
243 views

I am currently learning PHP and trying to follow good practices regarding login handling, sessions, input validation, and database access. I wrote the following login script and added detailed ...
Score of 1
1 answer
70 views

I'm new to Tabulator library. I have a problem with ajax loading data. The last I used by other view ( framework CodeIgniter 4 ) is works. But, I don't know why on this case is not even works. I make ...
Score of 0
1 answer
106 views

I’m having a problem with auto-discovery of my Listener under the src directory in a Laravel 12 project. The application structure goes like this: - app (nothing in here) - bootstrap -- app.php - src -...
Score of 1
2 answers
179 views

I have .so files for my distributed C and C++ project: /home/j/OSL/build/lib/libOSL.so I'm making a web interface for my engine and am learning how to exchange data. My current technology stack is ...
Tooling
1 vote
2 replies
78 views

I am currently hosting my website on a Google Cloud Platform (GCP) Virtual Machine (VM), where users upload large datasets (approximately 20–50GB per upload) consisting of image files such as JPG, PSD,...
Score of 1
0 answers
108 views

I'm trying to clean up a client's page list by moving all of their forms (of which they have over 90, and all of them currently live on separate pages) into an accordion on one page using WordPress ...
Score of 0
1 answer
81 views

I am using Magento with Docker. I added the S3 extension in Docker; it's installed RUN composer require magecomp/magento-2-amazon-s3-remote-storage:1.0.8 My PHP version is 8.4. After the image build I ...
Score of 3
0 answers
164 views

I am new to Laravel development and have just started implementing my first services that interact with third party APIs. Per my best understanding from the docs, I have put environment variables into ...
Advice
3 votes
6 replies
173 views

I'm trying to understand the commonly accepted architecture patterns used in Laravel applications. I've come across different approaches in various projects: Controller → Model Controller → Service → ...

15 30 50 per page
1
2 3 4 5
97462