Real IP with PHP apache

how can I configure the display of real IP addresses on the apache server using PHP? Need some code to add to the htaccess file or somewhere else? Please help what PHP code and what file to add to the Access log displayed real IP cloudeFlare. Hosting shared Apache server

thank you in advance

You can google this: php x-forwarded-for or cf-connecting-ip

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.