buza586 Posted April 30, 2017 Share Posted April 30, 2017 I have students creating sites that have multiple pages that link together through a nav bar and also have images with an external file source. When students send them to me obviously the images don't work because I don't have them saved in folders with their sites and also the links don't work to the other .htm pages for the same reason. My first thought was to have students send me all files so that they would all be in my downloads folder and in theory work. They work to an extent but images are distorted. My second solution was to use a zip file but that doesn't seem to work either. Any help with this is much appreciated. Link to comment Share on other sites More sharing options...
dsonesuk Posted April 30, 2017 Share Posted April 30, 2017 Have local server ( install wamp or xamp), make sure all page links are relative not absolute paths unless external links to images or bootstrap for example. Zip parent folder containing folders, images and other files, unzip how they where zipped in proper folder hierarchy, you should be able to type once properly set up local server http://localhost/students_name/ and it should reference their index page and other pages from thereon. Link to comment Share on other sites More sharing options...
buza586 Posted April 30, 2017 Author Share Posted April 30, 2017 (edited) ... Edited April 30, 2017 by buza586 Link to comment Share on other sites More sharing options...
buza586 Posted April 30, 2017 Author Share Posted April 30, 2017 9 hours ago, dsonesuk said: Have local server ( install wamp or xamp), make sure all page links are relative not absolute paths unless external links to images or bootstrap for example. Zip parent folder containing folders, images and other files, unzip how they where zipped in proper folder hierarchy, you should be able to type once properly set up local server http://localhost/students_name/ and it should reference their index page and other pages from thereon. Excuse my ignorance, but what is wamp? Link to comment Share on other sites More sharing options...
dsonesuk Posted April 30, 2017 Share Posted April 30, 2017 (edited) Windows, Apache, MYSQL, PHP https://www.google.co.uk/search?q=wamp&ie=utf-8&oe=utf-8&client=ubuntu&channel=fs&gfe_rd=cr&ei=Wg0GWcufF6T38AeI6Z2YBw Edited April 30, 2017 by dsonesuk Link to comment Share on other sites More sharing options...
buza586 Posted April 30, 2017 Author Share Posted April 30, 2017 4 minutes ago, dsonesuk said: Windows, Apache, MYSQL, PHP https://www.google.co.uk/search?q=wamp&ie=utf-8&oe=utf-8&client=ubuntu&channel=fs&gfe_rd=cr&ei=Wg0GWcufF6T38AeI6Z2YBw I already did that search, still not quite understanding how it fits in with my classes websites. Link to comment Share on other sites More sharing options...
dsonesuk Posted April 30, 2017 Share Posted April 30, 2017 It gives you a local web server on your own computer, instead of purchasing a web hosting site, it loads html, php pages as it would on a normal website, instead of http://mydomain.co.uk you would type http://localhost/ instead, you can store individual student folders by student name (no spaces) then type http://localhost/student_name/ and it would open the student site as it would a normal website. You use this to develop or test a site, and once finished, upload to folder on website host site using FTP program like filezilla. Loading a page from your O/S file system folder into browser is not the same as on local or website hosting server. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now