|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I want to be able to upload pictures to my server on an admin form along with a lot of info about the item that the picture is of. I will then need to store the address of the newly uploaded file in mysql. I am using a webserver (phpwebhosting). I will be constantly uploading many items into my database like this so I need a convenient way like this to do it. I would prefer using php if possible since its what I am learning. please help!!??
[This message has been edited by qweqwe (edited May 19, 2000).] |
|
#2
|
|||
|
|||
|
read webmonkey.com tutorials on php/mysql. that should give you some idea how to begin.
peace on earth a. |
|
#3
|
|||
|
|||
|
Thanks, but I figured it out a while ago. Just incase anyone is trying to figure it out (since i can't find any other info on it on Devshed.com) this is what I used:
in form file: <FORM action=upload.php method="post" enctype="multipart/form-data"> Picture:<INPUT type="file" name="picture"> </FORM> In (upload.php) file that sends the file: copy($picture, "../images/$num.jpg"); (..images/$num.jpg can be whatever you want to call the file) |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > how do I upload files on my page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|