Whitepaper explaining how PHPInfo can be used to assist with the exploitation of LFI vulnerabilities on PHP when combined with the file upload handling feature that is enabled by default.
You can download it from the following link: https://packetstormsecurity.com/files/download/104825/LFI_With_PHPInfo_Assitance.pdf
Source: https://packetstormsecurity.com/files/104825/LFI-With-PHPInfo-Assistance.html