Cheap VM really cannot believe it! In addition to the last. htacess file, I only moved the website and the program was not moved.
Today I found a bunch of problems.
; Magic quotes for incoming GET/POST/Cookie data.
Magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec (), etc.
Magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape 'with ''Instead \').
Magic_quotes_sybase = Off
It seems that the default value is on. The input single quotation marks are escaped.
Warning: fsockopen () [function. fsockopen]: unable to connect to smtp.126.com
Image expansion gd2.dll is not enabled
Is there any recommended host? the price is less than 100 RMB
Reply to discussion (solution)
Magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
Php5.3 disabled by default
Php5.4 cancel
Magic_quotes_sybase is useless to you. it is set for sybase series databases, such as sybase, mssql, oracle...
In short, php removes the automatic escape of incoming data on the grounds that the security issue should be the programmer's own business.