• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

UberCMS - CloudFlare Real IP?

Ask me about Daoism
Loyal Member
Joined
Nov 6, 2010
Messages
1,560
Reaction score
393
I've been trying all night to use CloudFlare's HTTP header script to work, but I can't get the last_ip to be the correct user's IP. Could someone give me the proper PHP for this? I need it so I can ban users without preventing future users from being banned (CloudFlare IP, yknow..)

Thanks in advance!
 
Newbie Spellweaver
Joined
Dec 29, 2012
Messages
15
Reaction score
7
Hope this will help you out:
forum.ragezone.com/f335/tut-setting-cloudflare-retro-use-902262
 
Upvote 0
Back
Top