LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2004, 11:18 PM   #1
Jayantha
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Unhappy PHP and MySQL (Images)


I run a linux server with Apache, and MySQL. I wrote some PHP programs for my website. Now I want to have a photo Gallery. I want to upload and keep a record of the photos under different titles in a database. Can someone help me with this matter?
 
Old 05-20-2004, 04:45 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
1. u can put the photos in a directory on the server and keep their url's in the database. this is the recommended and faster way
2. u can store the pictures in the database (as blob)

u may take a look at hotscripts.com for example to download some existing scripts that will do the job. u dont need to re-invent the wheel if u dont feel like it.
cheers,j.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Images in PHP Napalm Llama Programming 5 04-06-2005 09:17 AM
how to import images into mysql x2000koh Programming 6 02-03-2005 01:16 PM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 09:54 PM
changing images in php devit Programming 0 04-04-2004 12:17 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 09:59 PM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration