php3-list | 199901
Date: 01/30/99
- Next message: Thomas: "Re: [PHP3] Win32 Apache 1.3.3 & PHP3 installation"
- Previous message: Richard Lynch: "Re: [PHP3] Shell in background?"
- Maybe in reply to: Zeba Kimmel: "[PHP3] using PHP to "pipe" image files"
- Next in thread: Zeba Kimmel: "Re: [PHP3] using PHP to "pipe" image files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 7:15 PM 1/30/99, Rasmus Lerdorf wrote:
>> The only problem is, the code above doesn't work, and I don't know why.
>>I would be grateful for any advice.
>
><?php
> Header("Content-type: image/jpeg");
> ReadFile($name);
>?>
>
>works fine. Make sure you have absolutely no blank lines either before or
>after the php tags, and make sure the file actually exists.
And if you still can't make it go, play the telnet game:
telnet yourhost.com 80
GET /image.php3?name=whatever.jpg HTTP/1.0
Hit return twice after that second line. See what you get back.
-- "TANSTAAFL" Rich lynch <email protected> webmaster@ and www. all of:
R&B/jazz/blues/rock - jademaze.com music industry org - chatmusic.com
acoustic/funk/world-beat - astrakelly.com sculptures - olivierledoux.com
my own nascent company - l-i-e.com cool coffeehouse - uncommonground.com
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Thomas: "Re: [PHP3] Win32 Apache 1.3.3 & PHP3 installation"
- Previous message: Richard Lynch: "Re: [PHP3] Shell in background?"
- Maybe in reply to: Zeba Kimmel: "[PHP3] using PHP to "pipe" image files"
- Next in thread: Zeba Kimmel: "Re: [PHP3] using PHP to "pipe" image files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

