I'm currently working on a laravel project using an existing package for e-commerce functionality called Bagisto. I already downloaded the package files from th
I have in backend this link backend.com and for frontend frontend.com I want to lock my API backend for everyone except my frontend! my cors.php <?php retur
I tried to use MPDF library for generating PDF. try { $mpdf = new \Mpdf\Mpdf(); $mpdf->WriteHTML('Hello World'); // Other code
I have a problem with passing the query that returns a number of records, I already have it with a select that returns an input, but this only works with one re
I have this ajax function for login. Edit: I just noticed that this server runs php7 while other server where the login does work uses php5. What has changed in
I have this ajax function for login. Edit: I just noticed that this server runs php7 while other server where the login does work uses php5. What has changed in
I have a search engine that I found on google and I would like to search in the 'barcode' database that I have and if it finds the person it executes the code t
I have different tables like profiles, tournaments, tournamentdate, tournamentresult and pigeons. Profiles columns > ProfileId, Name, Address, etc. Tournamen
I'm working on a graph with a Satisfaction form with a database with jpgraph and I've encountered some issues with an handler error. This is my program: <?
The WordPress plugin PolyLang provides translations to a chosen language. Its functionality of "Strings translations" consists of a list of strings with custom
I want to change my database dates from jalali to gregorian. but when I run the code, foreach not working and not getting all of my datas from database. This is
Here is my controller: <?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class RegisterControlle
I am running a query loop and want that 'if' the post has a featured image, it needs to be inside a <figure> tag. But the featured image's <img> tag
I want to write a new code to override original function: For Exsample ori code: elementor-pro/modules/posts/skins/skin-cards.php class Skin_Card
I'm trying to connect to a service that requires a certificate for authorization, I import certificates on my machine and when I directly hit on the server by m
I am new to laravel and php. I have this code in one of my controllers: $group_by_precedence = array("true", "false"); And this code in the view: @foreach ($gr
I created a migration file using php artisan make:migration create_todoapps_table. The migration file was created with the table name as to_do_apps (Schem
I have a web app I wrote in JS. There is a form that allows file upload, which is then handled by PHP. I have an account already, and I've registered an applica
i am getting result like below in registration using passport laravel "success": { "token": { "name": "MyApp", "abilities": [
I've prepared a PHP browser interface (like a modem interface) for an embedded system, that is supposed to help manage the core application (uploading a new bin