Category "php"

Access denied when making connection from php container to mysql container

I’ve been searching the web for hours but do not find any solution to my problem. I have 3 containers: - nginx - php - mysql They are all connected to th

How to replicate ASP Classic SHA512 Hash function in PHP

I'm currently rewriting an asp classic site in PHP, everything so far has been simple until I reached the password hashing function. In PHP I've used hash_hmac

PHP Include for HTML?

I have a navigational bar, an image, and a heading that I'll be including in every page of my website, so I wanted to use php include to refer to this code in s

PHP if in_array() how to get the key as well?

Struggling with a tiny problem. I have an array: Array ( [0] => [6] => 6 [3] => 5 [2] => 7 ) I am checking if a set value is in

How to keep value of selected value after form submission?

I know there are a lot of questions related to it but believe me, no solution is working for me. <form action="index" method="post" > <s

Nginx RTMP not recording

I already setting up Nginx RTMP in ubuntu linux hosted by DigitalOcean. And currently running my laravel web application in localhost mode in my desktop. Everyt

Laravel Unknown Column 'updated_at'

I've just started with Laravel and I get the following error: Unknown column 'updated_at' insert into gebruikers (naam, wachtwoord, updated_at, created_a

why is Blade code getting rendered on the page?

I just started learning Laravel, Installed Laravel 7.6.2, and PHP 7.4.4 Without modifying a single line of code in the entire Laravel project, I try to open the

Reading emails with MAPI in PHP?

As you know Microsoft Exchange Server uses a proprietary protocol called MAPI. Is that possible to read emails from the Ms exchange with that protocol in PHP. I

Why ping attribute not working correctly in html5

Hi I'm building an tracking system for my project and I'm try to use ping attribute, but this attribute not working correctly on localhost. Here is my code wit

How to assert parameter attribute sub-structures in PHPUnit mock call expectations

I am testing an parameter sent to a mocked event handler. The parameter is an object of "Event" sub-type, which itself has some data nested inside it. I want to

java URL working on browser but not in client program

Client JAVA Program part : try { String downloadUrl1="https://www......&downloaded=1";

Laravel PHP: multiple project run at the same time [closed]

I want to run multiple laravel frame work project at the same time.Exactly how to do it I dont know. I used a command : php artisan serv

Laravel - Browser displays message again when I press back button

Every time I create a new category in my application, it displays a message of success. Here is my code: return redirect('dashboard/categorias')->with('mess

onKeyUp event calculation not working on the following rows from php generated forms except the first one

-------------------------------------------------- |No|Style No|Item Desc|Qty|Unit Price|Total Price| ----------------------------------------------

Laravel dosen't connect with Oracle

I'm using yajra/laravel-oci8 for Oracle connection with laravel. But I couldn't connected to Oracle, from my client PC to Server. showing this error: I'm u

For what reason might the camera return the error "Invalid session in request data!"?

The problem is that the error occurs intermittently I have a Dahua HDW2230TP-AS-0280B camera. I back up the video to my server every 10 minutes. The request loo

Access forbidden! Windows 10 PHP XAMPP

Suddenly, i got this error when trying to submit my form. It worked fine until now. Access forbidden! You don't have permission to access the requested

How to display "git blame" in PhpStorm after opening file by default

How to display "git blame" after opening a file by default in PhpStorm. Without "right-click the left gutter, and select the Annotate option", I want to displ

How to map the two arrays with a duplicate value?

I have two arrays. $array1 = ['id_e' =>[91707, 91708]]; $array2 = ['id_s' => [18, 57]]; If I want to insert or delete into the database, I want to make