1,463,055 questions
1
vote
0
answers
32
views
Auto routing with modules in Codeigniter 4
im pretty new with CI4, i am trying to use the "auto routing (improved)" feature along with modules. i want to access controllers/methods inside modules like this:
https://example.com/...
-5
votes
0
answers
97
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
89
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
140
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
60
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
42
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
52
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
104
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:
...
1
vote
1
answer
75
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
96
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
65
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
131
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, ...
Advice
1
vote
10
replies
177
views
I would like to get some advice on this sql connenction with php. We use this in our school. Can you guys help if there is a better way to do it?
So this is the connection file. This is what we are using but my classmate said its not the best and not the safest but i want to use the structure of it.
<?php
function getData($muvelet, $...
-2
votes
0
answers
87
views
Custom HTML and CSS not rendering correctly when adding PHP snippet to wp_footer in WordPress [closed]
I am trying to add a custom promotional banner to my WordPress site. My goal is to output this HTML and CSS using a PHP function hooked to wp_footer so it appears consistently across all pages.
Here ...
Advice
1
vote
4
replies
87
views
Automatic image file type sorter, with automatic menu creation php
I’m currently working on a personal project that I’m really passionate about. My long-term goal is to scale it into something bigger, but right now, I’m in the thick of the early development stages.
...