Re: Photo Uploads

by "Frank Boumphrey" <bckman(at)ix.netcom.com>

 Date:  Thu, 30 May 2002 18:16:29 -0400
 To:  "Brandon Coughlin" <bcoughlin(at)urx.com>,
"Hwg-Techniques(at)Hwg.Org" <hwg-techniques(at)hwg.org>
 References:  computer
  todo: View Thread, Original
There are a number of issues here all of which are discussed at
http://ca.php.net/manual/en/features.file-upload.php

Two gotchas
1. If you are using a unix box you must set the correct file permissions.

2. In windows 2000 (and I think XP), the person uploading must set the
correct permissions in the folder containing the photo that needs to be
uploaded you will have to tell them how to do this in your help file.

I can send you some code if you want, but you will find that you will have
to tweak it to suit your environment. Nearly all the issues are covered in
the contributor notes at the above reference, and most of the code you need
is also there.

Frank
----- Original Message -----
From: "Brandon Coughlin" <bcoughlin(at)urx.com>
To: "Hwg-Techniques(at)Hwg.Org" <hwg-techniques(at)hwg.org>
Sent: Tuesday, May 28, 2002 1:38 PM
Subject: Photo Uploads


> I am looking for a good PHP program that will allow users to upload photos
> to a specified folder.  The use, will be for a website that allows users
to
> display their photographs online, and allow visitors to vote on each
photo.
>
> (Taking it one step further).....
>
> I would like the top voted photo to appear on a specified page - such as
the
> homepage.
>
> Anybody seen anything like this?
>
> Thanks
> Brandon Coughlin
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.