Skip to content

Tag: xampp

Create Checkout Session.php 404 not found

I have downloaded the above code from here https://stripe.com/docs/checkout/integration-builder and put the file in my Xampp folder under htdocs, so whenever I am running http://localhost/my-projects/stripe-payments-prebuilt/checkout.html so it is showing me the checkout the page but when I clicked on the che…

How to install PHP 8 on XAMPP

I’m trying to update my PHP version to the brand new PHP 8. I have followed simular steps as this tutorial. But now the following error is shown: Notice: I have used a brand new XAMPP instalation version 7.2.33. I can’t find the solution for my issue. Edit It is saying that I need to look into the…

copy() fail to copy image from url to directory

I’m trying to copy an image from a URL to my server, but it doesn’t save. Below is my code The image URL in $url, doesn’t have a file extension, but the image is a .jpeg i tried both copy() and move_uploaded_file() but failed. when i use copy() i get this error I also tried with directory 20…

Weird file in php (xampp)

I could not find anything anywhere on the internet explaining what you can see in the screenshot. This is in my xampp folder (as you can see at the top of the screenshot), there is a file why.tmp which was apparently created in 2013. I got this PC in 2017 and now it’s 2020. You can also see the content