You're absolutely correct. Finally got it working with this:

<a
href=http://www.bobpitch.com/squirrelmail/src/redirect.php?login_username=<?php
echo
strtolower($c_username);?>%2Bbobpitch.disofthosting.net&secretkey=<?php
echo strtolower($c_password);?> target=_new>Email</a>

thanks to all that responded.

j

> Hello Goldcd,
> On Thursday, July 31, 2003, GoldCD wrote...
>
>> Thanks for the pointer. I'd thought that that might have something so do
>> with it, and had tried subbing it for the html character code in the
>> PHP,
>> but that still gave me a '+' symbol in the html it generated, maybe PHP
>> helpfully converts it for me. Anyway thanks for the help, I love
>> squirrelmail to bits,
>
> Not HTML encode... URL Encode...  They are different things, and yes,
> PHP does urldecode data for you.  If you want to know what the + is,
> put this in a simple PHP Script:
>
> ===========8<-------------------------------------------------------------
>
> <?php
>
> $str = urlencode('+');
>
> echo '+ is: ' . $str;
>
> ?>
>
> ===========8<-------------------------------------------------------------
>
> Then run it, see what + comes out as, then use that in the URL instead
> of a +.
>
> --
> Jonathan Angliss
> ([EMAIL PROTECTED])
>
>
>
> -------------------------------------------------------
> 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
>



-------------------------------------------------------
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