Questions tagged [php]
PHP is an open-source, multi-paradigm, dynamically-typed, and interpreted scripting language designed initially for server-side web development. Use this tag for questions about programming in the PHP language.
1,466,685
questions
0
votes
0
answers
5
views
Make a Splash screen file to work universally, regardless of the domain or environment . PHP/LARAVEL
I am an PHP/Intern Junior Software Developer , and i've been given a task to do, i am almost done it , but there is a small issue i wanna learn if it is possible?
My task is , i have to create some ...
0
votes
0
answers
7
views
Problem with ACF Date Range and Repeater Integration in WooCommerce
I am using ACF to create fields integrated with WooCommerce. I am struggling to manage the tour status for each period in the Week Days mode:
The tour has 2 modes: Week Days and Exact Dates.
A tour ...
0
votes
0
answers
16
views
Microsoft Graph API Authorization Error: 'Invalid size of Code_Challenge parameter.'
I am trying to generate an access token via a PKCE flow to call the Microsoft Graph API.
I am following this msdoc : Microsoft identity platform and OAuth 2.0 authorization code flow - Microsoft Entra ...
-5
votes
0
answers
20
views
Resize or change resolution of images on upload [closed]
I have a module on my website that the people that created it no longer exist as company and I need to modify a couple things.
This module, among other things, uploads images to the hosting.
I managed ...
0
votes
0
answers
12
views
How to change "ownerRecord" in RelationManager in Filament 3?
It is a basic RelationManager example of PostResource:
public static function getRelations(): array
{
return [
MediaRelationManager::make()
];
}
$post->media() (morphMany).
...
-2
votes
0
answers
15
views
React Expo push notification, sending notification to required channelId from PHP
https://exp.host/--/api/v2/push/send
{
"to": "ExponentPushToken[***************]",
"title": "Test Notification",
"body": "This is a test message.&...
0
votes
0
answers
35
views
Accented chars in dates
I've a problem in formatting dates in it_IT locale.
I've a customer with a site running on PHP 8.0.3, and due to some certification issues (this customer has to mantain ISO27001 certification) I've ...
0
votes
1
answer
33
views
Upgrading PHP to 8.3.9 from 8.2.12 on Windows 11 - cURL is not working [closed]
Steps I am taking:
Fresh install of XAMPP, which uses PHP 8.2.12.
After install, I confirm that cURL shows enabled in my phpinfo and my local coding files work as expected.
I renamed the existing php ...
-3
votes
1
answer
25
views
why my form not getting saved to mysql database [closed]
this error keep showin up after clickin submit
ERROR: Form data not submitted.
this is the form
<form action="connection.php" method="post">
<p>
<...
0
votes
1
answer
24
views
AlpineJS submit a form without refreshing the page
I am working with Hyva theme with AlpineJs on Magento and using a <form> with the needed inputs to add a product to the shopping cart.
This is part of the form code:
<form method="...
0
votes
0
answers
27
views
Problem while trying to run composer update
I'm currently working on the dockerized version of ProcessMaker 4.1.21 and I'm encountering the following error when I try to run the "composer update --ignore-platform-reqs" command :
PHP ...
0
votes
0
answers
13
views
Watermark for custom image size in WordPress
I use a watermark code for a WordPress theme. The code works fine, but it generates a watermark for every uploaded image. How can I modify my code to not watermark some image sizes?
I have an image ...
0
votes
1
answer
16
views
Can i login using only pin in Auth::attempt
i tried this to login but it failed to login in system
if (Auth::attempt(['mpin' => $otp])) {
$check_otp->update(['otp' => '']);
session()->put('is_login', true);
session()-&...
0
votes
0
answers
17
views
Laravel Backpack saves files twice
I'm using Laravel Backpack.
I have a Product model. It has photos (wow) that I upload when creating a model in the backpack admin panel.
But there is a problem! Photos are uploaded twice:
It was '...
0
votes
0
answers
22
views
Crypto-Key Header conflict with p256ecdsa value
I'm not sure if this is a PHP or crypto issue, but in my free time I am using PHP to attempt a Data-Free Web Push Subscription Update.
I have a class with a method I called save_ssl_keys() that ...