I've been looking for a few days in the stack overflow here but I can't find the answer to my problem. I'm trying to add the Cookie Yes script, to insert the co
When i type php artisan migrate from my pc it throws an error. 1 D:\xampp\htdocs\cms\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php
i am making a search for the website so the user can search for results from database everything is working fine but how can i hide results until the user compl
I'm trying to write a query to be able to find duplicate records based on a column called hash and remove all but the 5 newest records, I figured I could use th
I'm trying to insert my CSS which is in github repo but when I call it in my php file using require_once() it's not working. Here is my code: <?php require_o
I'm trying to change the stock management availability text on single product page based on different conditions in WooCommerce. There are 5 situations, dependi
session and csrf did not work in laravel after enabling Cloudflare and it redirects to the login page after submitting the login form and also before redirectin
I have a plugin (for Magento 2.4.4), it is using the following class "GuzzleHttp\UriTemplateFactory" but "UriTemplateFactory" is deprecated and removed from Guz
My Code: namespace App\Enum; enum HomeStatus: string { case RENT = 'rent'; case MOVE_IN = 'move_in'; case SOLD = 'sold'; case COMING_SOON = 'co
Hello Guys I have a problem on my PHP API i uploaded my API on this website "app.infinityfree.net" whenever I try to access my build in PHP API I get this error
I am trying to restrict access to the login if the user is already logged in by checking if there is already a token in the localStorage. Any idea on how I can
I have created an online store with Paystack gateway implemented. Up till now it's been successful, but I need a little help with creating a webhook event scrip
I have installed Xdebug with VS Code and Flywheel local and I am learning how to make themes. I have put a breakpoint in my index.php file. However, the said br
Peace be upon you. I just developed a free PHP tool that extracts YouTube video details of all public videos in json format. It works perfectly with local serve
I just downloaded all the PHP's extensions, and this error popped off: And I did what the error says, and when I started coding, I wasn't able to do a comment
I apologize in advance for the horrible title; I'm sure there's a better way to ask this question, but I couldn't come up with it. I'll try to do a better job w
I have two tables: post table: |post_id | post_title | +--------+------------+ | 1 | Post 1 | | 2 | Post 2 | | 3 | Post 3 | post_cre
I want to attach a MTA report (not delivered bounce mail) to an email, but what is the correct MIME type? I fetch the full body of the MTA report with $body = i
I am using Azure Cognitive Services with text to speech (tts) in combination with PHP and Curl and while I am getting output, I am not getting anything usable a
I'm trying to create the same behavior of PHP __callStatic magic method in Node.js. I'm trying to use Proxy to do that, but I don't really know if it's the best