Category: xampp

Setup Laravel 10.x Homestead in Windows 10/11

Section – 1 [Install Software] https://laravel.com/docs/10.x/homestead#installation-and-setup vagrant_2.3.7_windows_amd64.msi – https://developer.hashicorp.com/vagrant/downloads VirtualBox-6.1.46-158378-Win.exe – https://www.virtualbox.org/wiki/Download_Old_Builds_6_1 VirtualBox 6.1.46 (released July 18 2023) << This and Not the >> VirtualBox 7.0.10 platform packages – ​Windows hosts According to: https://laravel.com/docs/10.x/homestead#installation-and-setup Code Editor/IDE: PhpStorm-2023.1.4.exe or VSCodeSetup-x64-1.80.1.exe Lastly install: Git-2.41.0.3-64-bit.exe – https://git-scm.com/downloads Section – 2

Read More

Enable CORS for multiple domains in PHP

In this article, we’ll explain to you how to permit CORS requests for multiple origins in PHP. To get the response from a simple cross-origin POST request, we need to include the header Access-Control-Allow-Origin. The specification of Access-Control-Allow-Origin allows for multiple origins, or the value null,

Read More

Exploring Security Issues with JavaScript Web APIs

This article explores the challenges and solutions of using third-party APIs in web applications while maintaining security. Browsers have a same-origin policy in place to prevent unauthorized data exchange between different domains. However, this policy can sometimes hinder the transfer of data between websites that have

Read More

Fix an Internet connection – Internet not working

Here is a Python Script If then try… …. else try .., From this script flow & flowchart you can learn to debug a non working connection EASY READ EVEN FOR NON PYTHON PROGRAMMERS SCRIPT HERE // FLOWCHART FOLLOWS 17-internet-connection_py Flowchart          

Read More

How to configure XAMPP to send mail from localhost?

How to configure XAMPP to send mail from localhost?   You can send mail from localhost with sendmail package , sendmail package is inbuild in XAMPP. So if you are using XAMPP then you can easily send mail from localhost. for example you can configure C:\xampp\php\php.ini

Read More