An error occurred while uploading the php file! I am a new network administrator in our company. The company has a broken system, asking me to maintain updates. I must update a php file. after the php file is written. After browsing and uploading through the background of the system, it will not work properly. later I discovered that after uploading from this system, the "or" or "\" symbol appears at the beginning, for example, if "123456789" is uploaded to the server, it will become \ "123456789.
Ps: Except for this background permission, the system does not have any other permissions.
Reply to discussion (solution)
1. except for this background permission, the system does not have any other permissions.
Are you not a network administrator? Do not have operation system management permissions?
2. since you do not have permissions, how do you know that ", ', \ are escaped?
3. can your system update system files without uploading files?
4. execute the stripcslashes function to remove the escape character.
Answer: 1. not all network administrators have permissions.
2. I uploaded a txt htm html file and wrote the same content.
3. it would have been possible, but there was no permission. when the old network administrator went away and no information was left, I guess the user password in the background of the system.
4. I used to use This method is submitted to the server because the code does not have the "'\" symbol.
Then, without using this system to upload files, the files are uploaded. However, when executed, it was intercepted by the dongle, which was said to be the wooden spurs and installed on the server. powerful fire prevention for dongle
5. I want to modify the "'\" symbol in the PHP file and use another symbol. Yes?