Category "php"

Apply filter array/return terms

I would like to apply a filter on which taxonomies are displayed in a widget. I'm close but I think I don't have the correct spelling for it and I'm surely miss

How to write on existing pdf file in php

I know this question has been asked many times but I read all related answer and my problem is not solved yet. I can add text and image on a new blank pdf file

Sub-Domain Laravel problem cannot open it in browser

I wanna ask about Laravel. I just learn about subdomains in Laravel. And I opened www.myapi.com in my browser but it showed site not found, can anyone help me

keith-wood Signature not working on production

jQuery UI Signature working on local but not working on live server javascript: var sig = $('#sig').signature({syncField: '#signature64', syncFormat: 'PN

MOODLE: What does it mean to aggregate h5p assets?

I'm having an issue where my H5P assets are not loading in my 3.11.2 Moodle site. Unable to find constructor for: H5P.CoursePresentation A forum post on the H5P

Laravel Spark - Defining a free plan

I am using Laravel Spark Next and I am trying to create a free plan. My application is charging users "Per seat" (# of projects) My application, however, will a

PHP Get value from JSON [duplicate]

Let's say I have this JSON: { "achievement": [ { "title": "Ready for Work", "description": "Sign up and get validated",

Laravel Docker Call to undefined function MyActionFunction

I'm new to docker and laravel. I'm trying to dockerize a laravel application, the source code is not mine. I used Sail for local tests, but now I want to build

How can i get the value of multiple anchors in javascript which are generated from php and send the value to another Php page using AJAX

Here is how my anchors are displayed on the web. I need to get the value of the anchor and send it to another PHP file, so i would use the value of the anchor i

How can i call a function that executes an fpdf based on the choice of a form selector?

I am trying to create FPDF's with different formats, which are inside a file of functions that are called through a form on another page inside the field select

Dynamic dropdown Ajax PHP request

I'm trying to make a dynamically populated drop down in a form for location selection. I have scoured stack in other posts that ask similar questions and some w

Can I redirect the user to another page while uploading files to the server?

I have a php script that: compresses and sends to the server images uploaded by the user, sends the text inputs as email, and then does a redirect with header('

Unable to create lockable file - Laravel 8 & PHP 8

I'm stuck in a Laravel project, I've been using laravel a lot of years and never happened this. I'm using Vagrant (as always) and only happens this with PHP 8,

Basic Authentication with CURL/PHP

I'm trying to do a basic API Authentication using PHP and CURL and I keep getting the error "no Route matched with those values". Here is what the API docs are

How to install mCrypt extension for php in macOs xampp

I am new to macOs and i have a project in which it has many extensions needed all are working fine only mCrypt is off. can anyone suggest me that how to turn it

Nginx downloads php files

I read about this problem and tried many fixes, but none has worked. I use Ubuntu 22.04 and PHP 8.1. My Nginx config file is now ## # You should look at the fol

how to validate form data in codeigniter 4

i am new to codeigniter 4, i am currently building a registration form. when i submit reg form it give error of required fields even if i fill all fields with c

How to solve "Error: MySQL shutdown unexpectedly" In Xamp?

When I open XAMPP and click start MySQL button and it gives me an error. I had started it just before, but now it isn't working. It given error below in xammp E

Error converting docx to pdf using Unoconv

I am trying to convert .docx files to .pdf files using Unoconv. Libreoffice is installed on my server and the script works for another website on the server. Us

Get WooCommerce products from specific category

I am trying to insert a WooCommerce element to display "products" (courses) from a specific category into a page. I had also to hide these products for this spe