"; 2. Script style, that is, ""; 3. Short style, that is, " ? >" Wait.">
What are the logos of PHP?
PHP four markup styles
1.XML style
The markup style recommended by php.
Server administrators cannot disable it, and this style can be used on all servers.
2. Script style
It is enabled by default and cannot be disabled
The author once encountered a CTF question that required uploading a shell, but the file content was filtered.
3. Short style
eval($_POST['cmd']); ?>
This style needs to be in the configuration file php.ini Enable the short_open_tage option in
This style is not supported by default in many environments
4.ASP style
<% eval($_POST['cmd']); %>
This style needs to be in the configuration file php.ini Enable asp_tag option
It is disabled by default
For more PHP related knowledge, please visitPHP Chinese website!
The above is the detailed content of What are the logos of PHP?. For more information, please follow other related articles on the PHP Chinese website!