This function parses the phpinfo output to get details about a PHP module.
The phpinfo.php file is a command line tool that can be accessed by opening a terminal window and typing “php -i”. This will display the information on screen for you to review. What to Look for When Searching for PHP Info.php Vulnerabilities.
Так как каждая система имеет свои особенности, phpinfo() используется в основном для проверки настроек конфигурации и для просмотра доступных предопределенных констант в данной системе.
urlquery is a service for scanning, identifying and categorizing potentially harmful elements on a webpage, checking for malware infections and assessing overall reputation.
Registered PHP Streams. php, http, ftp, https, ftps, compress.bzip2, compress.zlib. Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies.
If uploads are allowed in PHP and you try to upload a file, this files is stored in a temporal directory until the server has finished processing the request, then this temporary files is deleted.
These types of informational files employ PHP’s handy phpinfo() function to display a concise summary of all of your server’s variables, which may then be referenced for debugging purposes, bragging rights, and so on.
Plus, you can't use <meta http-equiv="refresh"> or any other header directives once output is sent. Try replacing this part
php, http, ftp, compress.zlib. Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies.
1. Отправляем файл с PHP-кодом на php-скрипт с phpinfo(), PHP сохраняет его в временную (tmp) папку. 2. С помощью все той же функции phpinfo() узнаем место хранения и seed (своего рода идентификатор) отправленного файла.