Raised This Month: $ Target: $400
 0% 

is worth and possible cache user ip and auth in index as global string var?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-04-2013 , 02:15   Re: is worth and possible cache user ip and auth in index as global string var?
Reply With Quote #6

Regex is NOT a more efficient method and should not be used here since the possible outputs of get_user_authid() and get_user_ip() are very limited (in fact, the IP output from the function will always be valid). Connor's method will be more efficient.
__________________

Last edited by fysiks; 08-04-2013 at 05:00.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode