RE: [PHP-DB] PDF encoded
| From: | Shekhar Juneja | Date: | Tue, 12 Jul 2005 14:56:09 +0000 |
| Subject: | RE: [PHP-DB] PDF encoded | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39932@lists.php.net to get a copy of this message | ||
Hi Bastien.
Snippet of my code is
header('Content-type: application/pdf');
header(" Content-Disposition: inline");
header('Content-Transfer-Encoding: base64');
echo echo base64_decode€($String);
Where
$string contains the encoded string.
Don’t know where I am going wrong.
Regards
Shekhar
-----Original Message-----
From: Bastien Koert [mailto:bastien_k@hotmail.com]
Sent: Tuesday, July 12, 2005 3:06 PM
To: shekhar@rootinfotek.com; php-db@lists.php.net
Subject: RE: [PHP-DB] PDF encoded
http://ca3.php.net/manual/en/function.base64-decode.php
bastien
>From: "Shekhar Juneja" <shekhar@rootinfotek.com>
>To: <php-db@lists.php.net>
>Subject: [PHP-DB] PDF encoded
>Date: Tue, 12 Jul 2005 14:30:32 +0100
>
>Hi ,
>
>I am trying to figure out a way how to display base64 encoded string.
>Basically I am getting base64 encoded string back a webservise, I was
>to display this PDF inlined in the browser. But instead its printing
>the encoded string in the browser.
>
>request help on this:)
>
>Warm regards
>Shekhar
>
--
PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php