The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
I'm making a hack, and I'm wondering how to use iff as VB does. This is what is in newreply.php:
Code:
$ipaddress=iif(getenv("REMOTE_ADDR")!="",getenv("REMOTE_ADDR"),$HTTP_HOST); Code:
if (getenv("HTTP_X_FORWARDED_FOR")!="") { $proxyip=getenv("HTTP_X_FORWARDED_FOR"); } Code:
$proxyip=iif(getenv("HTTP_X_FORWARDED_FOR")!="",getenv("HTTP_X_FORWARDED_FOR")); Thanks :bunny: (I just love that bunny ^^) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|