Cheap VM really cannot believe it!

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.