gt3400
07-24-2003, 12:16 AM
Hi, I'm making a authentification site and I was wondering if I am aloud using VB files on all my domains because i'm using sub domains but I was wondering if I was aloud uploading global.php and the other files to those sub domains but not using the forums itself. The forums will be on the domain i bought them for but I just want to know if I can use the VB files themselves to make a member site and say if there a guest, it will redirect them to the Register page on the domain i bought the forums for. I plan to use this code <?php
chdir("/home/virtual/site7/fst/var/www/html/members");
require('./global.php');
if ($bbuserinfo['userid']==0) {
header("Location: http://boards.mysite.com/register.php");
}
?> if someone can tell me if i'm aloud to use the files I would appreciate it.
Thanks,
chdir("/home/virtual/site7/fst/var/www/html/members");
require('./global.php');
if ($bbuserinfo['userid']==0) {
header("Location: http://boards.mysite.com/register.php");
}
?> if someone can tell me if i'm aloud to use the files I would appreciate it.
Thanks,