I know I ask alot of questions on php here is another one?

Nik

New member
I can't use a database by the way simply because it is for a person who doesn't know a lot about computers.

Here is what I have to do

The site displays items for sale not a shop or anything like that just some guys site. In the admin page I have to create a section that allows them to upload an image of the item but also contains a text area within the form to upload a text file to a folder named description.

So clearly

Images get uploaded to items for sale folder and text files from form go to descriptions folder but also to save simplicity later on I need another field that makes the user give the files the exact same name so that in the code later it looks for an image in one folder and a text file in another folder with the same names and echos them both to the site.

whats needed

php to validate the two fields to make sure they match
to upload both the files to the correct folder
to be able to write in the text file before uploading
and finally to display both the image and text file together.

By the way I have an image uploader and a code to display all images within a folder this code is fine.

Sounds complicated to me but I really appreciate any help even if you only know how to do one part of it it would great help thanks for any help.
 
Back
Top