Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial php文件用DW编辑,电脑突然断电,重启后文件乱码 怎么办?

php文件用DW编辑,电脑突然断电,重启后文件乱码 怎么办?

Jun 23, 2016 pm 01:54 PM
dw Garbled characters document Restart

在本地php,用DW打开调试PHP文件,电脑突然断电,重新开机以后,php乱码,用notepad打开是这样,DW直接空白,这个怎么办? 有什么办法可以恢复吗?


回复讨论(解决方案)

这个得问比尔盖茨

不过比尔盖茨会对你说:我已经给了磁盘清理程序,你不用那怪谁呢?为了访问迅速,临时文件都保存在虚拟的驱动器中了

不过比尔盖茨会对你说:我已经给了磁盘清理程序,你不用那怪谁呢?为了访问迅速,临时文件都保存在虚拟的驱动器中了



啥意思呢 没看懂

没希望了,放弃吧。重新写过,权当磨练。

我写一个PHP,保存刷页面,保存刷页面,都好好的。突然停电,开机打开,文件全部丢失。。。
以后还是老老实实,用DW调好HTML后,就换记事本吧。

是的 无解...重新苦B的敲键盘吧

可怜的楼主,我也遇到过这种情况,文件莫名其妙丢失了。

笔记本是自带不间断电源的。

有些软件有自动备份功能的,不知道DW有木了。 编辑的时候最好是要经常ctrl+s一下了

好像没救了,大侠,请重新来过!

有些软件有自动备份功能的,不知道DW有木了。 编辑的时候最好是要经常ctrl+s一下了


这个问题,是DW的一个bug。我中间保存过很多次,也执行过很多次。断电,就突然全部清掉了。跟经常ctrl+s无关。

突然有个想法,不知道可行不可行。就是你把保存文件的目录设置成自动同步的。自动同步的服务挺多的,比如微软的SkyDrive,百度也有。不过会消耗一些系统资源。

突然有个想法,不知道可行不可行。就是你把保存文件的目录设置成自动同步的。自动同步的服务挺多的,比如微软的SkyDrive,百度也有。不过会消耗一些系统资源。


不过断电之后应该是不可以马上联网启动电脑,否则则一启动马上就会开始同步出错的文件了。那样就悲剧了。
不过Dropbox可以查看历史版本,这个实在是太逆天了,不知道历史版本占不占用空间。另外操作系统本身也提供系统还原的功能,就是可以查看某些文件以前的版本,但是一般盗版的操作系统默认好像都是把这个关了的。另外这个好像只能在单个磁盘上启用,好像是不能针对某个文件夹。

Dropbox之前被墙过,但是最近被解禁了,不知道什么时候又会被墙了。
https://www.dropbox.com/

敲了个关键程序,从写到改,用了一天,突然它乱码了,我重写

突然断电。我的是一片空白 
搜到答案,苦恼中.....

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What to do if the 0x80004005 error code appears. The editor will teach you how to solve the 0x80004005 error code. What to do if the 0x80004005 error code appears. The editor will teach you how to solve the 0x80004005 error code. Mar 21, 2024 pm 09:17 PM

When deleting or decompressing a folder on your computer, sometimes a prompt dialog box "Error 0x80004005: Unspecified Error" will pop up. How should you solve this situation? There are actually many reasons why the error code 0x80004005 is prompted, but most of them are caused by viruses. We can re-register the dll to solve the problem. Below, the editor will explain to you the experience of handling the 0x80004005 error code. Some users are prompted with error code 0X80004005 when using their computers. The 0x80004005 error is mainly caused by the computer not correctly registering certain dynamic link library files, or by a firewall that does not allow HTTPS connections between the computer and the Internet. So how about

How to transfer files from Quark Cloud Disk to Baidu Cloud Disk? How to transfer files from Quark Cloud Disk to Baidu Cloud Disk? Mar 14, 2024 pm 02:07 PM

Quark Netdisk and Baidu Netdisk are currently the most commonly used Netdisk software for storing files. If you want to save the files in Quark Netdisk to Baidu Netdisk, how do you do it? In this issue, the editor has compiled the tutorial steps for transferring files from Quark Network Disk computer to Baidu Network Disk. Let’s take a look at how to operate it. How to save Quark network disk files to Baidu network disk? To transfer files from Quark Network Disk to Baidu Network Disk, you first need to download the required files from Quark Network Disk, then select the target folder in the Baidu Network Disk client and open it. Then, drag and drop the files downloaded from Quark Cloud Disk into the folder opened by the Baidu Cloud Disk client, or use the upload function to add the files to Baidu Cloud Disk. Make sure to check whether the file was successfully transferred in Baidu Cloud Disk after the upload is completed. That's it

What is hiberfil.sys file? Can hiberfil.sys be deleted? What is hiberfil.sys file? Can hiberfil.sys be deleted? Mar 15, 2024 am 09:49 AM

Recently, many netizens have asked the editor, what is the file hiberfil.sys? Can hiberfil.sys take up a lot of C drive space and be deleted? The editor can tell you that the hiberfil.sys file can be deleted. Let’s take a look at the details below. hiberfil.sys is a hidden file in the Windows system and also a system hibernation file. It is usually stored in the root directory of the C drive, and its size is equivalent to the size of the system's installed memory. This file is used when the computer is hibernated and contains the memory data of the current system so that it can be quickly restored to the previous state during recovery. Since its size is equal to the memory capacity, it may take up a larger amount of hard drive space. hiber

How to solve the problem of garbled characters when importing Chinese data into Oracle? How to solve the problem of garbled characters when importing Chinese data into Oracle? Mar 10, 2024 am 09:54 AM

Title: Methods and code examples to solve the problem of garbled characters when importing Chinese data into Oracle. When importing Chinese data into Oracle database, garbled characters often appear. This may be due to incorrect database character set settings or encoding conversion problems during the import process. . In order to solve this problem, we can take some methods to ensure that the imported Chinese data can be displayed correctly. The following are some solutions and specific code examples: 1. Check the database character set settings In the Oracle database, the character set settings are

What is the correct way to restart a service in Linux? What is the correct way to restart a service in Linux? Mar 15, 2024 am 09:09 AM

What is the correct way to restart a service in Linux? When using a Linux system, we often encounter situations where we need to restart a certain service, but sometimes we may encounter some problems when restarting the service, such as the service not actually stopping or starting. Therefore, it is very important to master the correct way to restart services. In Linux, you can usually use the systemctl command to manage system services. The systemctl command is part of the systemd system manager

Detailed explanation of the role of .ibd files in MySQL and related precautions Detailed explanation of the role of .ibd files in MySQL and related precautions Mar 15, 2024 am 08:00 AM

Detailed explanation of the role of .ibd files in MySQL and related precautions MySQL is a popular relational database management system, and the data in the database is stored in different files. Among them, the .ibd file is a data file in the InnoDB storage engine, used to store data and indexes in tables. This article will provide a detailed analysis of the role of the .ibd file in MySQL and provide relevant code examples to help readers better understand. 1. The role of .ibd files: storing data: .ibd files are InnoDB storage

How to deal with garbled characters in Linux terminal How to deal with garbled characters in Linux terminal Mar 20, 2024 pm 03:12 PM

How to deal with the problem of garbled characters in the Linux terminal. When using the Linux system, sometimes the text displayed in the terminal will be garbled. This brings inconvenience to us when using the terminal and needs to be dealt with in time. This article will introduce how to deal with some common Linux terminal garbled problems, and provide specific code examples. Problem 1: Garbled Chinese characters on the terminal. Garbled Chinese characters on the terminal are usually caused by incorrect character encoding settings on the terminal. We can solve this problem by modifying the terminal's character encoding settings. #View the current terminal

How to shut down and restart Meizu 21pro? How to shut down and restart Meizu 21pro? Mar 18, 2024 pm 02:28 PM

Meizu 21Pro is a popular smartphone with excellent performance and rich features. But sometimes we may need to perform operations such as shutting down or restarting. If you need to know how to shut down or restart Meizu 21Pro, the following steps will be introduced in detail. How to shut down and restart Meizu 21pro? Method 1: When shutting down, you only need to hold down the power button for a while, and the shutdown option will appear. Click [Power Off], wait for shutdown, and then press and hold the power button to restart. Method 2: When the phone freezes, press and hold the [Power Button] for about 15 seconds until the screen goes black. You can force it to shut down and restart. Method three: If there is a more serious crash situation and the above method does not work, then we can only wait for our Meizu phone to run out of battery.

See all articles