For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2006 > File upload class with attach user name / ID









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author File upload class with attach user name / ID
Spiral

2006-05-15, 7:59 am

Hi,

I am trying to create an image upload script from a form that has a text
input for the user's name this needs to be linked to the photo so that I can
cross reference this later. Any ideas on how to do this please?

Simon


Arjen

2006-05-15, 7:59 am

Spiral wrote:
> Hi,
>
> I am trying to create an image upload script from a form that has a text
> input for the user's name this needs to be linked to the photo so that I can
> cross reference this later. Any ideas on how to do this please?
>
> Simon


Yup losa ideas but ....

Do you have any code yet ??

Arjen
Martin Jay

2006-05-16, 3:58 am

In message <i4Cdnab59Kl4w_XZRVnyqQ@eclipse.net.uk>, Spiral
<spam@nospam.com> writes
> I am trying to create an image upload script from a form that has a text
>input for the user's name this needs to be linked to the photo so that I can
>cross reference this later. Any ideas on how to do this please?


I've uploaded a file to <http://www.spam-free.org.uk/pages/picture.zip>
that you might find helpful.

It simply moves the uploaded file to a directory called 'uploads' and
creates a text file with a similar name to the image, which contains the
name.

It's very basic, but it might be a good starting point for you.
--
Martin Jay
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com