Reply to Re: Securely serving files

Your name:

Reply:


Posted by Jerry Stuckle on 02/14/06 12:23

Jasen Betts wrote:
> On 2006-02-14, Jerry Stuckle <jstucklex@attglobal.net> wrote:
>
>
>>Sure it does. And the original post intimated they are text files -
>>because they are serverd with readfile().
>
>
> text/binary makes no difference on unix systems.
>
> <?php
> header("Content-type: image/gif");
> readfile("example.gif");
> ?>
>
> Bye.
> Jasen

Yes, I know there's no difference between text and binary on Linux.
I've probably been using Unix a lot longer than you - and longer than a
lot of people here have been alive.

However - again, he didn't say he was outputting gif's, jpegs or
whatever. Nothing at all about it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация