mariovaldez.net http://www.mariovaldez.net/webapps/forums/ |
|
two login buttons but how can i direct to the right page? http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=11&t=191 |
Page 1 of 1 |
Author: | giovi [ 17 Feb 2005, 12:18 ] |
Post subject: | two login buttons but how can i direct to the right page? |
I succeeded in developing two login buttons: one to enter my english site one to enter my italian version of the site I did it by modifying slogin.inc.php. The only problem left is I want to direct to the right index.php. The english one is index.php and the other one indexitalo.php. I don't understand the script enough to find out how this works. Any hint would be appreciated |
Author: | mvaldez [ 18 Feb 2005, 13:56 ] |
Post subject: | It would be easier if... |
giovi: > I succeeded in developing two login buttons: > one to enter my english site one to enter > my italian version of the site I did it by > modifying slogin.inc.php. The only problem > left is I want to direct to the right index.php. > The english one is index.php and the other > one indexitalo.php. I don't understand the > script enough to find out how this works. > Any hint would be appreciated Maybe I'm too simplistic, but I think it would be easier to provide the option to choose a language before the login. So, for example, you could have indexeng.php and indexitalo.php, both password protected. And index.php would be a unprotected PHP script with a selection like "click here to enter our English site / click here to enter our Italian site". Of course there is the problem of the translation of the login box (so that italian pages have an italian login box, english pages have an english login box). But that is very easy to solve. Or maybe you are trying to do something different and I'm missing the point. If that's the case, please explain me and I'll think about a solution. Regards, Mario A. Valdez-Ramirez. |
Author: | Guest [ 19 Feb 2005, 10:11 ] |
Post subject: | Re: It would be easier if... |
mvaldez wrote: giovi:
Or maybe you are trying to do something different and I'm missing the point. If that's the case, please explain me and I'll think about a solution. Regards, Mario A. Valdez-Ramirez. Hi Mario, thanks but what I'm trying to do is a login button with the name 'english' and a login button with the name 'italian'. I succeeded to create these buttons but I can't let the italian one go to the right page, both logins goto index.php . Can you tell me what part of the script should be rewritten to have my second button to goto the right page? |
Page 1 of 1 | All times are UTC - 7 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |