English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a website and and a host. Does anyone know how to make an upload form script so people can upload pictures to my database? But its not normal. I need the script to change the name of their submiited picture to the persons user name so i know who sent in which picture. it might not be possible but thought id ask. anyone know? The language im using is php.

2006-09-15 04:30:37 · 4 answers · asked by peter s 1 in Computers & Internet Programming & Design

***i forgot to mention, don't give crap answers (donna)***

2006-09-15 04:34:49 · update #1

4 answers

Its isn't so much the form you need, but a database also. You need to get some O'Riley Books and study up on how to write PHP.

2006-09-15 04:32:57 · answer #1 · answered by Laquishacashaunette 4 · 0 2

all you need to do is create the form (it has to be a multipart form, the PHP website http://www.php.net/ has all the information about setting it up). Then just get the user info from the db, save the uploaded file (you have to have file system access set up in php.ini) where you want it, and you are done.

full details on the $_FILES[] variable can be found at - http://www.php.net/manual/en/features.file-upload.php#features.file-upload.post-method

2006-09-15 05:17:27 · answer #2 · answered by John J 6 · 1 0

the whole photo sharing internet website for wedding ceremony customer to upload is cliprr it really is new one yet with stepped forward valuable houses which quite some the different photo sharing internet website cost them.the different sturdy places to percentage those images is fcaebook,pinterest and twitter.

2016-11-27 00:31:28 · answer #3 · answered by Anonymous · 0 0

Renaming the file to the username can be done in the move_uploaded_file() function.

2006-09-19 03:16:15 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers