1,463,048 questions
-8
votes
0
answers
38
views
jquery fileupload - missing header HTTP_CONTENT_RANGE [closed]
I have used fileupload successfully to select multiple files and upload them to a PHP server. The files can be large (up to 250 MBytes), and I am uploading the files in segments, reassembling them in ...
Advice
1
vote
1
replies
25
views
Yii3 REST API Authentication & Authorization Setup
I am working on a REST API using Yii3 and trying to understand the correct way to implement authentication and authorization.
Scenario:
I have a basic Yii3 REST API setup and now I need to secure it ...
-1
votes
1
answer
82
views
Error 405 when redirecting to a URL after submitting a form [closed]
I'm using Laravel + PHP + DataTables. I have a page with DataTables, and when I select one or more checkboxes, I use a form to send it to another page.
However, after sending, the page displayed ...
2
votes
1
answer
66
views
Auto routing with modules in Codeigniter 4
I'm new to CI4 and I'm trying to use the "auto routing (improved)" feature along with modules. I want to access controllers/methods inside modules like this:
https://example.com/tracking/...
-6
votes
0
answers
112
views
PHP: Passing encrypted data via URL [closed]
I have a secure message that I need to pass via query string to an external website. This does not have any connection to the same database or anything else. I am trying to encrypt the data, send it ...
Advice
0
votes
3
replies
124
views
inputs from fields on form output to print on image
Years ago I worked for a place where we had an application form that was done on our website. The fields, Name, Address, phone, etc were overlayed based on coordinates to a copy of the application we ...
Advice
1
vote
10
replies
165
views
Image upload to SQL PHP
After many hours of research I finally cracked the code to uploading images through POST and inserting them into SQL.
index.php:
Connect DB file to your index
require "db.php";
(prevents ...
-5
votes
0
answers
63
views
Laravel 11 + Nginx: 403 Request Timeout/Forbidden when using Xinax/laravel-gettext (works with artisan serve) [closed]
The Problem
I am running a Laravel 11 project with a Vue.js frontend on Fedora 43. The application runs perfectly when using 'php artisan serve'. However, when switching to a local Nginx + PHP-FPM ...
Advice
0
votes
1
replies
47
views
Plugin development for woocommerce : RFQ Broadcast Layer with Pincode Filtering
I’m working on extending the RFQ (Request for Quote) functionality in a WooCommerce-based multivendor setup using Dokan Pro.
"RFQ full form is Request for Quote where buyers can ask for quotation ...
Best practices
0
votes
1
replies
54
views
How to programmatically implement nested JSON-LD Schema for a biography database in WordPress?
I am working on a custom WordPress implementation for a celebrity biography site. I need to generate SEO-friendly JSON-LD markup dynamically for each post.
Specifically, I am struggling with the PHP ...
Best practices
0
votes
1
replies
118
views
Best approach for handling large file uploads and ZIP generation in Laravel?
I’m building a Laravel 12 folder organizer where users may upload large folders (many files / large sizes), and I categorize files by extension and generate a ZIP for download.
Current approach:
...
2
votes
1
answer
96
views
How to efficiently query nested JSON relationships (reacts_with, affected_by) without redundancy?
I am working with a structured JSON dataset where each ingredient contains relational metadata such as:
reacts_with
affected_by
compatible_with
A simplified structure is like this:
{
"...
0
votes
0
answers
97
views
Foreach loop on a multi-dimensional PHP array returns complete wrong results [duplicate]
I have a fairly straightforward MYSQL query which retrieves details from a sale and stores them in an array (I've simplified it by just using 1 saleid which has only 1 salesdetails row - other sales ...
1
vote
0
answers
67
views
Partial.ly API adding application_fee to Stripe PaymentIntent when using direct API Key (not OAuth)
Problem
I am building a custom WooCommerce plugin that integrates with the Partial.ly
API to create installment payment plans. I am following the official Partial.ly
documentation for creating a ...
Best practices
1
vote
4
replies
141
views
Why does my website randomly show a server error?
I am working on a travel booking website. It is working fine most of the time, but sometimes it suddenly shows a “We had a server error” message without any clear pattern.
This issue is not constant, ...