Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 19th, 2000, 10:54 PM
qweqwe qweqwe is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 18 qweqwe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to qweqwe
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).]

Reply With Quote
  #2  
Old May 28th, 2000, 10:29 PM
lucky23 lucky23 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 2 lucky23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
read webmonkey.com tutorials on php/mysql. that should give you some idea how to begin.

peace on earth

a.

Reply With Quote
  #3  
Old May 29th, 2000, 11:50 AM
qweqwe qweqwe is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 18 qweqwe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to qweqwe
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)

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > how do I upload files on my page

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap