SunQuest
           MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old June 9th, 2000, 08:18 AM
baldwnad baldwnad is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 30 baldwnad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to baldwnad
I want to store pictures in a MySQL database, how would I go about inserting a picture into a MySQL database? Thanks

Reply With Quote
  #2  
Old June 9th, 2000, 10:15 AM
CS CS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 44 CS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I upload the pictures I want to store to a webserver, and input the url of the image into the mysql database. If there's a way to just upload the image to the database, I'd like to know how to do this too.

Reply With Quote
  #3  
Old June 9th, 2000, 10:46 AM
baldwnad baldwnad is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 30 baldwnad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to baldwnad
I know with access databases you can store pictures directly in the database as type BLOB....so I am guessing you should be able to do it with MySQL...I guess we will just wait for someone to help us.

Reply With Quote
  #4  
Old June 9th, 2000, 10:57 AM
peterg's Avatar
peterg peterg is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40 peterg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Well, PHP makes it very simple. The only problem is that the example I found only did one picture - a bit of a pain if you have several hundred to do :-) have a look at http://www.weberdev.com/get_example.php3?count=167

I also found an example which used Perl and DBI, but I can't get it to work. I think there is a fundamental error in the script I found and I can't fix it :-( So, I will try and write a bulk loader in PHP and post it ..

Reply With Quote
  #5  
Old June 10th, 2000, 02:33 AM
scoobydoo scoobydoo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: Sydney, Australia
Posts: 32 scoobydoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
There's also an article in phpbuilder about this too..

<A HREF="http://www.phpbuilder.com/columns/florian19991014.php3" TARGET=_blank>http://www.phpbuilder.com/columns/florian19991014.php3
</A>

scoobydoo

[This message has been edited by scoobydoo (edited June 10, 2000).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Pictures and MySQL


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway