There are variants of base64, which replace the + / characters with something
less likely to cause problems.
http://en.wikipedia.org/wiki/Base64
Jared
sorry Ive done it again, for anyones interest, you might have
to urlencode the string twice for mod_rewrite to accept
encrypted and
Continueing on my prior problem, Ive discovered that base64_encode adds
forward slashes in its encoded string, when its urlencoded it becomes
something like
/feeds/UmFuZG9tSVZd%2FMChU7sMQqdUi%2FrgYHD7
mod_rewrite doesnt seem to like the %2F in the string and fails with a
404 as it doesnt
sorry Ive done it again, for anyones interest, you might have to
urlencode the string twice for mod_rewrite to accept encrypted and
base64_encoded strings which add slashes and ampersands into their
strings.
It is confirmed there is a bug in mod_rewrite and doesnt like the
urlencoded %2F
On Tue, May 10, 2005 8:50 pm, Joe Harman said:
Hey just curious if it's okay to encode variables that are passed in
URLs with base64_encode??? since, I am going to pass a email address
in the URL, I would like to protect the email address from typical
people
I dunno if every character that
HA... Thanks for your thoughts...
I am actually using this for a broadcast email system... I just use a
PHP image generator to make a 1 x1 gif... the image generator script
takes a variable for color then I added another one for email address
to keep stats on who has opened the message
ex.
Joe, this may be a little off topic, but most modern email clients
wont show images in HTML unless the user clicks to show images
manually. This could fool your automatic counting and email
verification.
On 5/11/05, Joe Harman [EMAIL PROTECTED] wrote:
HA... Thanks for your thoughts...
I am
Hey Thanks Brandon... I know that does happen, so the stats is just
suppose to approximate.. thanks for point that out
Cheers
Joe
On 5/11/05, Brandon Ryan [EMAIL PROTECTED] wrote:
Joe, this may be a little off topic, but most modern email clients
wont show images in HTML unless the user clicks
Hey just curious if it's okay to encode variables that are passed in
URLs with base64_encode??? since, I am going to pass a email address
in the URL, I would like to protect the email address from typical
people
--
Joe Harman
-
Do not go where the path may lead, go instead where there is
Hi,
I trying to send a binary file (exe, zip, etc etc) that is attached
using mail() function.
I'm do a base64_encode and chunk_split after read the file, but the
result is a corrupt file so i can't read the attached file with my mail
client.
When i call the script the attached file is
sounds right.
HTH
Andrew Braund
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 27 June 2002 11:15
To: php-gen
Subject: [PHP] base64_encode
What other characters are possible from the output of base64_encode()
except [A-Za-z0-9
What other characters are possible from the output of base64_encode()
except [A-Za-z0-9] ??
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sounds right.
HTH
Andrew Braund
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 27 June 2002 11:15
To: php-gen
Subject: [PHP] base64_encode
What other characters are possible from the output of base64_encode()
except [A-Za-z0-9] ??
Thanks
like + and /.
26+26+10+2=64 sounds right.
HTH
Andrew Braund
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 27 June 2002 11:15
To: php-gen
Subject: [PHP] base64_encode
What other characters are possible from the output of base64_encode()
except
I've been trying to decode an attached image in an email using imap.
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in imapTest.php
on line 80
$image = trim(@imap_fetchbody($mbox, 2, 2));
$64image = base64_encode($image);
I've also tried:
$image = trim(@imap_fetchbody($mbox, 2,
14 matches
Mail list logo