I've recently signed up for my first server and created a PHP message
board which I've bolted squirrelmail onto to provide proper email for my
users. What I'm trying to do is create a link that can be clicked passing
across both a username and password to take the user straight to their
inbox. Unfortunately I've run into problems.

Using a form works fine:

<form method="post"
action="http://www.bobpitch.com/squirrelmail/src/redirect.php";>
<input type=hidden name="login_username"
value="test+bobpitch.disofthosting.net">
<input type=hidden name="secretkey" value="test">
<input type="submit" value="Test Button">

Using a link doesn't:

<a
href=http://www.bobpitch.com/squirrelmail/src/redirect.php?login_username=test+bobpitch.disofthosting.net&secretkey=test>Test
Link</a>

Well that's not actually completely true. I can sign onto my account
absolutely fine, this works:

<a
href=http://www.bobpitch.com/squirrelmail/src/redirect.php?login_username=bobpitch&secretkey=xxxxxxx>Test
Link</a>

I'm completely stumped by the problem, any help would be much appreciated
as I want to get rid of that single ugly button.

thanks,

James


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to