1,462,902 questions
2
votes
1
answer
53
views
Why do I need `zend_extension = xdebug`?
My system is:
Windows 11 Pro
Xampp
PHP 8.2.12
xdebug v3.5.1
I define the binary in my php.ini as
zend_extension = "D:\websites\php\ext\php_xdebug-3.5.1-8.2-ts-vs16-x86_64.dll"
Everything ...
0
votes
1
answer
67
views
How do I read an XSLX file with Curl in PHP?
I am trying to read an XSLX file with Curl in PHP. I can read text files just fine, but every time I try it with a binary file, it returns zero bytes, but does not appear to throw an error.
Here is ...
-6
votes
0
answers
58
views
Authorize.NET PHP API - last day of the month on recurring payments [closed]
I have a client who allows patrons in her fitness center to pause their monthly membership. She charges them for one month up front, and then startes charging them 1 month later after their re-start ...
2
votes
1
answer
100
views
Confusion about php-fpm permissions with SELinux
I recently set up a fedora 44 server in a home lab. I started Apache on it and installed php and php-fpm. I put in /var/www/html a PHP website (SPIP).
All the files and folders of the website are ...
-3
votes
1
answer
114
views
Intelephense in VS Code doesn't recognize a php variable from included file
I'm using the extension PHP intelephense for Visual Studio Code.
$root = $_SERVER['DOCUMENT_ROOT'];
include($root . '/sqlcon.php');
$gettextquery = mysqli_query($con, "SELECT * FROM `pics` WHERE ...
Advice
1
vote
1
replies
49
views
Laravel WhatsApp Share - Description not showing / cut issue
I am working on a Laravel + React project where I implemented a WhatsApp share button.
The problem is:
On WhatsApp, only the link is showing OR
The description is missing / cut off
Image sometimes ...
Advice
1
vote
3
replies
83
views
What is the best way to implement fast media search with autocomplete suggestions?
I am building a web application that allows users to search for media content (audio/video) like Tubidy. I want to implement a fast and responsive search feature with autocomplete suggestions.
What ...
-10
votes
0
answers
71
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
38
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
104
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
86
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
120
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
147
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
193
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 ...
-6
votes
0
answers
71
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 ...