![]() |
Login.php Help
Was wondering, is there anyway to make the login on the navbar login to 2 different locations? For instance, would something like this work:
<form action="login.php?do=login" action="/testboard/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> I'm not sure how I would go about making the login submit login to 2 different locations or if it's even possible. |
You cannot submit to two locations. You could, however, submit to your script first, which then redirects to another script.
|
Basically what I'm trying to do is show a vbulletin mod on another page, thats in another directory, but it seems vbulletin needs to have it logged in the same dir, to show the mod working for registered users. Like this is exactly what I have:
public_html/index321.php (for the login form for the mod to show) then: public_html/forum/index.php (the normal install of vbulletin) You have any example code that'll login and stay on the forum/index.php page, but also login the index321.php file? |
You need to chdir() to your forums directory, then include global.php.
|
All times are GMT. The time now is 12:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|