HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Hybrid View

Where to put html, css, php files

Hi. My knowledge of computers is very limited so can you make any response as simple as possible please. I have a raspberry pi running the rasbpian linux. I've managed to install phpmyadmin, apache2 and mysql etc. I'm trying to learn to build websites using php, MySQL, html and css. I just want to check some code out to see if it works. I have located where the /var/www bit is in file manager which has a file called index.html. When I open this file with the Linux web browser it comes up with 'It works! This is the default web page for this server. The web server software is running but no content has been added, yet. Where on my computer do I save files to be able to change the index.html to some html I have written? When I try to save files to the /var/www bit in file manager it comes back with 'can't open file to write'. I save the file in leafpad as say myfirstparagraph.html or try to edit index.html in leafpad and save it but it just keeps coming back with 'can't open file to write'. My raspberry pi is connected to the internet. Can someone help please. Thanks