[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP Image Uploader / Viewer



On Mon, 5 Jul 2004 21:37:14 -0400
Michael B Allen <mba2000@ioplex.com> wrote:

> On Mon, 5 Jul 2004 20:17:48 -0400
> "S.D.A." <dallan@rogers.com> wrote:
> 
> > On Mon, Jul 05, 2004 at 07:13:55PM -0400 or thereabouts, Michael B
> > Allen wrote:
> > > Can someone recommend a PHP script that will allow me to upload to
> > > occasional jpeg and then view it, the filename, and perhaps a
> > > little caption. I don't want a full blown CMS -- just a simple
> > > tool that does one function and does it well.
> > 
> > Here's how to 'roll your own';
> > 
> > <http://netcode.net/tutorials/php/uploader.php>
> 
> Actually apt-get install gallery and following the instructions in
> /usr/share/doc/gallery/README.Debian seems to be what I want. The
> configuration wizard is a very nice touch. I'm just worried about
> scripting bugs running in non-safe mode. Maybe I should password
> protect it?

If I'm remembering right, gallery has the ability to run with php in
safe mode, it just loses a feature or two, mainly dealing with how
"pretty" the urls look.

If you do a search on php and safe-mode though, you'll find a lot of
people that don't consider safe-mode to be much (if any) of a security
enhancement at all. There are other ways they recommend watch security
on your server if you're worried about php being abused.

HTH,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #62:
Slight disorientation after prolonged system uptime is normal for new
Linux users. Please do not adjust your browser. 

Attachment: pgpArALscQKOz.pgp
Description: PGP signature


Reply to: