PDA

View Full Version : whois online question


Ruth
29 Aug 2001, 20:14
if i want to hack whois online to show members in non-vB pages, but all my other non-vB pages are named index.php

how does the script differentiate between the pages?


thanks

Wayne Luke
30 Aug 2001, 13:55
You would have to add code so that it can based upon the directory the file is in.

Chen
30 Aug 2001, 14:06
I think that adding this line


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right above this line


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Should give you the full path (only folders) to the file.
Then you can use $folder for some if statements inside this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


i.e:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


I think that will work.

Ruth
02 Sep 2001, 16:09
thanks FireFly, i'll give that a try :)

cheers,