Skip to main content
The 2024 Developer Survey results are live! See the results

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.

php
0 votes
0 answers
27 views

php file not found when path contains spaces using fastcgi unix socket

I am transferring a site that was built on windows xampp to a server running ubuntu 24.04, apache 2.4.62, and php 7.4.33. Everything is working fine except php files containing spaces anywhere in the ...
Colt's user avatar
  • 1
-2 votes
0 answers
24 views

MacBook remote database access works with Sequel Ace and MySQL Workbench but not php (not a duplicate) [duplicate]

My remote database access works with Sequel Ace and MySQL Workbench but not php My connection script contains the exact same data. I've searched everywhere for a solution. Any idea why? Thanks. Robert ...
Robert's user avatar
  • 1
-2 votes
0 answers
29 views

I'm using the PHP Server extension in Visual Studio Code and received a message

Hi I have created a website with .php format and I need help to run these PHP files on VS code, here is the massage that shows "From v3.0.0 onwards, PHP server will open the server URL in your ...
Shadman Sammy's user avatar
-2 votes
0 answers
27 views

Mapbox display pins from point A to point B [closed]

I have a mapbox with multiple pins. How can i display only pins from specific A point to specific B point within a radius of 10 km? Specific points will be typed by the user from two text inputs (A ...
Catalin Iamandei's user avatar
-2 votes
1 answer
33 views

Limit the number of characters / words in WooCommerce product backend [closed]

When we create a product in WooCommerce, I want to : limit the product title to 30 characters limit the product short description to 50 words I found many shortcodes that limits that in the frontend,...
Jeriss Cloud Center's user avatar
0 votes
0 answers
9 views

GraphQL nested objects query returns internal server error

I am learning GraphQL server with PHP, MySQL and I have following problems with nested objects. This is my ProductType.php: <?php namespace App\Types; use GraphQL\Type\Definition\Type; use ...
Nick Helper's user avatar
0 votes
0 answers
26 views

Remove backslash from escaped forward slash in a string

I have an array(imageURLS) of string in js. Used 'fetch' to send the array as JSON.stringify(imageURLS) to savedesign.php. The array elements are like ['shop/2.png' , 'shop/3.png']. But each elements ...
zaman's user avatar
  • 29
0 votes
0 answers
22 views

File Size & Resume Option is Not Showing While Downloading File with HTTP Header

I've written a code in php, which is used in downloading link like https://example.com/dl.php&file=test.zip. Here the file dl.php checks the HTTP refer, if it is allowed then it download the file ...
Ahtsham Khan Qazi's user avatar
1 vote
0 answers
17 views

Using Laravel Reverb with Laravel and Nuxt and multiple apps/layers

I have a weird issue. I am using Laravel Herd Pro locally for development and I added a Laravel Reverb Server using the Services in Herd. I got these credentials: REVERB_APP_ID=1001 REVERB_APP_KEY=...
Torben's user avatar
  • 5,454
2 votes
0 answers
20 views

prevent change quantities on cart page

I'm using combo offer woocommerce plugin to make a bundle product with specific item number of linked products. I had unchecked this option: "Buyer can change the quantity of combo products?"...
engnajjar 's user avatar
1 vote
0 answers
36 views

PHP - Issue when adding a return type declaration for a parent class [closed]

I have currently have the following classes: class Textarea Extends Field {} class Field {} I'm trying to declare a return type for the following function public function field(string $field): Field ...
Jackatron's user avatar
0 votes
0 answers
28 views

How to view images and sentences like "With text wrapping -Square" of Word - laravel-dompdf

I'm using laravel-dompdf now for printing pdf. PDF format: Two images are displayed on the right half of the first page. The sentence is displayed as much as possible in the left half of the first ...
bluestar0505's user avatar
0 votes
1 answer
34 views

Eloquent ORM performance with subqueries for relational models

Laravel eloquent uses subqueries for relationship model instead of joins as joins offer more optimal performance .How does eloquent orm ensures performance for relational models ?
Rubin Porwal's user avatar
  • 3,805
-4 votes
0 answers
26 views

I am having a problem removing a google mark from my website [closed]

I am having a problem because my website is showing a google mark on the right hand side. I want to remove it. But I don't how to do this. The website name is https://mozodeals.com/. I have deleted ...
Amit Goyal's user avatar
2 votes
1 answer
15 views

Custom Low Stock availability string for WooCommerce product variations backorders allowed

I'm looking to edit the woocommerce low stock message. But only for product variations which are set to allow backorders. The message should include the stock level, and only appear when the stock ...
Jeff's user avatar
  • 21

15 30 50 per page
1
3 4
5
6 7
97800