Php. ini configuration --- hide the PHPSESSION and X-Powered-By: PHP/5.2.1 in the response header of the PHP program. & nbsp; although I personally think this does not play a role in terms of security, sometimes there is still such a demand in
Php. ini configuration --- hide the PHPSESSION and X-Powered-By: PHP/5.2.1 information in the response header of the PHP program. Although this is safe, I personally think this is useless, but sometimes there is still such a requirement in actual
Background: Server: CentOS7 + nginx1.9.15 + PHP7.0.8 + Mysql cause: the response header contains X-Powered-By: PHP7.0.8. if you want to remove it, modify php. ini file, set expose_php to Off, restart nginx, and find that this product is still good ..
Php. ini configuration --- hide the PHPSESSION and X-Powered-By: PHP5.2.1 in the response header of the PHP program. Although this is safe, I personally think this does not work, but sometimes there is such a demand in practical applications. as for
Release date:Updated on:
Affected Systems:Bitweaver 3.xDescription:--------------------------------------------------------------------------------Bugtraq id: 56230Cve id: CVE-2012-5192, CVE-2012-5193
Bitweaver is a free open-source Web application
Copy CodeThe code is as follows:
Fix 404 Pages:
Header (' http/1.1 OK ');
Set 404 Header:
Header (' http/1.1 404 Not Found ');
Set Moved permanently header (Good for redrictions)
Use with location header
Header (' http/1.1 301 Moved permanently ');
Copyright statement: original works can be reproduced. During reprinting, you must mark the original publication, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://blog.csdn.net/mayongzhan-ma
Copy CodeThe code is as follows:
Fix 404 Pages:
Header (' http/1.1 OK ');
Set 404 Header:
Header (' http/1.1 404 Not Found ');
Set Moved permanently header (Good for redrictions)
Use with location header
Header (' http/1.1 301 Moved permanently ');
PHP output buffer control (OutputControl) learning. PHP output buffer control (OutputControl) learning php buffer introduction in fact, I still have a vague impression on the phpob series, but I still don't know much about how to play it. curd,
PhpTryCatch exception test. Use c1 of c in trycatch, b1 of B in c1, and a1 of a in b1. The default value is: a1 throws an exception, b1 captures the a1 exception, and then throws the exception. c1 captures the exception, and uses c1 of c in try
Use C1 of C in try catch on the page, B1 of B in C1, and A1 of A in B1.
The default value is: A1 throws an exception, B1 captures the A1 exception, and then throws the exception, C1 captures the exception, and then throws the exception. Finally,
Php session Principle
Session is a way to maintain user session data on the server side. The corresponding cookie is to maintain user data on the client side. HTTP is a stateless protocol. After the server responds, it loses its connection with the
When xml-rpc is used, the server obtains client data mainly through the php input stream input instead of the $ _ POST array. Therefore, we mainly discuss the php input stream php: input. in the following example, we extract... when using xml-rpc,
PHP input stream php: // input when xml-rpc is used, the server obtains client data, mainly through the php input stream input, rather than the $ _ POST array. So here we will mainly discuss the introduction of php input stream php: // input to a
PHP input stream php: // input introduction to the PHP input stream php: // input when using xml-rpc, the server obtains client data, mainly through the php input stream input, instead of the $ _ POST array. So here we will mainly discuss the php
Php: input is also a data submission method, but we seldom use php: input for data submission, so php: what is the difference between input and our common POSTGET data submission methods? Let's take a look at this article. Php: // input is also a
The Header () function sends an original HTTP header [HTTP header] to the client.
The header is the string sent by the server before the server passes HTML data to the browser with HTTP co-meaning.
Separate HTML files with a blank line. For more
For a php: // input introduction, the PHP official manual provides a clear overview of it.
"Php: // input allows you to read raw POST data. it is a less memory intensive alternative to $ HTTP_RAW_POST_DATA and does not need any special php. ini
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.