view source code

1Tsme1941

Member
Trouble w/computer, lost my website source files.
went to website, captured source codes, recreated
folder and files.

Upon opening files, they all indicate "invalid source".

Someone explain?
 
Maybe. What exactly did you do to capture the source? What kind of website was it? just html, or php or otherwise scripted?
 
I do tend to be succinct;
lost MY website source files.
went to MY website ( https://guitarzRus.com ),
captured MY source codes ( right clicked on each visible page, chose "view page source"from the menu option and copied the code),
recreated MY folder and files(pasted the code into my localhost files.
 
It looks like it's all static html, so in theory copying them that way should work. How are you trying to open them? In an editor of some kind? In a browser? Do you have a webserver installed on your machine and you are trying to browse them? etc.
 
It looks like it's all static html, so in theory copying them that way should work. How are you trying to open them? In an editor of some kind? In a browser? Do you have a webserver installed on your machine and you are trying to browse them? etc.
I use XAMPP. I created a new folder in my htdocs folder and just pasted the copied code there. I open all html with notepad.
 
I'd double check that your html files contain what you expect. If they do, check your apache error log to see if it contains any clues.
 
Back
Top