| balbuto 2006-04-11, 9:57 pm |
| Hey!
I'm kinda new at this, but I was wondering if I'm the only one having this problem. Whether I write code in HTML, CSS or PHP on Windows, I usually don't use a code editor. I just write to text files using Notepad and save to .php, .css or .html. I just started writing PHP code and have been religeously saving my text files. Every time I did an update to my code which was often, I hit "save" and then "save as" to save it as .php. I'm sure I did that every time -- perhaps 20 times or more.
But guess what. Today when I opened the text file, I found the most archaic version of my code -- perhaps the very first version I typed in. My PHP file for that code still works fine, but I lost all the text for my code, and I know for a fact that it was saved and resaved many times. I'm about to come unglued, because I lost a lot of work.
But it's not just with PHP, I've had the same problem writing and saving to HTML or CSS. It seems that Windows gets with all that saving. I don't know what's going on. Has anyone else had that problem? Is there anyway to fix it? This is a long shot: Is there any way to retrieve what was lost -- perhaps by extracting it from my .php file or salvaging it from my hard-drive?
Thanks!
Mike |