Now, to see the script output, open the XAMPP control panel and start Apache to host the local webserver, where our script will be running.Ĥ. Inside the demo folder, create a new text file and name it “index.php” and write the following script.ģ. It’s considered good practice to create a new folder for every project you work on.Ģ. Go to “C:\xampp\htdocs” and inside it, create a folder. This is where all the programs for the web pages will be stored.ġ. In the XAMPP directory, there exists a folder called “htdocs”.
0 Comments
Leave a Reply. |