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.