Skip to content

Losing session data after POST from third party website

I have a Laravel site that redirects to a payment provider (external third party website). When the user completes their payment, they are redirected back to my site via a POST request. The issue I’m having is that the user’s session is lost when they return to the confirmation page. I wondered if…

Add a placeholder text using PhpSpreadsheet

Is there a way to add a placeholder text to a cell using PhpSpreadsheet? I want a piece of text to be placeholder, so clients can instantly type in that cell instead of first needing to remove the …

Retrieve JSON Value error Undefined offset: 0

I have been having a hard time retrieving eth Value from a Json url for a while now, it keeps returning the error “Undefined offset: 0” as easy as it may be to anyone giving the answer, …

Using phpmailer V6 with docker-compose

I have been using PHPMailer 5.2 with a standalone LAMP server and it has been working fine. However, after studying more modern ways to set up a webserver, I tried docker-compose with php8 and apache2….