twoaspen wrote:
> Dreamweaver has connected to my data base but the server
behavior
> settings only seems to allow a single destination page.
Using php can I send a
> visitor to a page according to their username?
Yes, but it involves making a minor change in Code view.
Apply the Log
In User server behavior using an ordinary page. For the sake
of this
example, call it menu.php.
In Code view, find the following line:
$MM_redirectLoginSuccess = "menu.php";
Change it to this:
$MM_redirectLoginSuccess = "$loginUsername.php";
This will redirect the user to a page that uses his/her
username. For
example, if the username is dpowers, it will redirect a
successful login
to dpowers.php.
If you want to redirect to a different folder, you can add
the rest of
the relative path inside the quotes, for example:
$MM_redirectLoginSuccess = "../users/$loginUsername.php";
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/