Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Hosting Photo Album


I am writing a database for an online photo album website which will allow people to sign in, upload photos, and have an online photo album. I am trying to figure out the best design for this type of application, and I am not sure how to best set up each persons picture database. I suppose there can be a table with a list of all of the people, and then a table with all of their information that is linked to the list of people..does that sound right?

Also, does a primary key need to be the same for each table that is related to each other? (Silly question, I know.)




View Complete Forum Thread with Replies

Related Forum Messages:
Suggestions On DB Setup For A Photo Album
At the moment the site is just used by me, in time I might open it up to friends to use too. So I want to develop a DB that works now and doesn't need to be modified for the future upgrade if it happens. I'd like to have it so when when you go to the photo sections it shows the albums, represented by a single picture from that album. When you click that picture it goes to a new page that shows the pictures for the album. Should I make two tables, albums and images or just one images and have a way to find out which ones are the main image for albums and which pics belong to them?

View Replies !
Only Display One Photo Instead Of All Photo Upload By User... How?
I have a tableA storing user id and password, another tableB storing user id and the image file name. User can upload 5 photo to the site. Now, I wish to display a photo in the search result (when people search for user with name starts with 'A')

I have no idea how to only display one photo for the searched user in the result. Do you know any solution?

View Replies !
Xxx Photos In Album..
making a photo album (dreamweaver8 - PHP & MySQL)

On the page (with repeated region) that's displaying all the available albums (gallery.php), I would like to include the amount of photos each album contains.. however, it doesn't seem to work out..

I have 1 recordset/query for the albums-info (id, album, summary, date-added, and display-thumb), and I tried creating another query for the photos: selecting the photo-id, photo, and album-id (filtering on album-id)... but nothing...

I get either "5" photos for each album (which is actually the amount of albums), or "0"...

Thanks for any info on how to construct my query in order to display the amount of photos belonging to that certain album (album-id)..

View Replies !
How To Delete The Uploaded File(photo)
i have made a e-pal section where the members can upload the photos....now i m making a edit portion for the e-pals where the e-pals can edit their profile n change their photos......i have used mysql to store the datas of e-pals n the path of uploaded images(note it:mysql stores not the images only the path)...

View Replies !
Query For Member Information And Photo
member
member_photo

The member_photo has a record for each photo they upload. They can then choose which photo is their primary photo, which is flagged with a field called photomain. Im trying to get the list of all members along with their primary photo but Im using 2 queries which I feel is slowing down the page. Is there a subquery I should be using?

PHP

$query1 = $db->Execute("SELECT id,firstname,lastname FROM members ORDER BY lastname ASC"); //loop through the recordswhile(!query1->EOF){$memberid = $query1->fields['id'];$firstname = $query1->fields['firstname'];$lastname = $query1->fields['lastnamename'];$query2 = $db->Execute("SELECT photothumb FROM member_photo WHERE memberid = $memberid AND photomain = 1 LIMIT 1"); $memberphoto = $query2->fields['photothumb']; $query1->MoveNext();

View Replies !
Using MySQL With Coppermine Photo Gallery And Invasion
I have recently changed website hosts to one that offers MySQL. I know that Coppermine Photo Gallery and Invasion Power Board (?) both need MySQL to work. I have downloaded Coppermine but have no idea how to use it.

View Replies !
DB Hosting
I Was looking for a bit of advice, I am new to mySQL and the whole idea of building DB's and websites. There are a few things I would like advice on.

If I wanted to put a database that I have made on mySQL onto a webserver how can I do this?

Also if I built a website with a db for say a small business would it be a good idea to place the DB on a webserver? I.e. would the db information be safe? Is there a better way to do this?

View Replies !
Hosting MySQL
Any good tutorials on setting up the MySQL server for hosting? is this even possible in the community version?

View Replies !
Web Hosting Databases
Many times we want to be able to manage our databases stored in the web hosting but these only can be manipulated with the PhpMyAdmin.PhpMyAdmin is a simple but useful tool.
To people that use MySQL Clients a very good alternative it is the SSH Tunneling, throught this one we can carry out connections to web hosting that supports SSH.
SSH can be used to encrypt communications between MySQL Client and your remote MySQL server in your Web Hosting.The prime benefit of SSH tunneling is that it allows us to connect to a MySQL server from behind a firewall when the MySQL server port is blocked.

View Replies !
MySQL Hosting
does anyone know a stand-alone MySQL host... i need to be able to access a MySQL database from anothersite... seperate from the host of the MySQL database...

View Replies !
Info On Web Hosting
is it my sql that you need to but an ipb (free) becuase i want to knoe how to install my forum as im not quite sure.

View Replies !
NySQL Hosting Provider
would be interested in any advice since this is new territory for
me -- my experience has only been with Access so far, and for situations
where only I could modify the database. But now I have a web
application where lots of users need to have password access and be able
to modify their own data etc, and where I need to be able to administer
the whole thing.

View Replies !
Hosting Service's SQL Command
I have been having trouble getting the following statement to work to populate my databse with data from a text file.

LOAD DATA INFILE 'Listings-Residential.txt'
INTO TABLE `RESIDENTIAL`

According to my hosting company's support, cPanel configures databases in such a way that this statement will not work.

My question is, I also have access to a co-worker's hosts - one that runs Plesk and one that runs Verio's control panel. Do either of these panels disallow this statement? Is this a common thing, that control panels configure databases in such a way that certain commands cannot run on them?

View Replies !
Yahoo's GeoCities Pro Hosting
I am using Yahoo's GeoCities Pro Hosting and when I get into "MyPHPadmin" to view my databases I get the following message.

Warning: Your privilege table structure seem to be older than this MySQL version!
Please run the script mysql_fix_privilege_tables that should be included in your MySQL server distribution to solve this problem!

How can I get to the script?? Can't find it.

View Replies !
MySQL Virtual Hosting
When you create a new user, let's call him "userJohn", is it possible to set a different data foler for that user?

I was thinking it would be great if you could keep user databases seperate from each other, kind of like every user has thier own folder on a virtual database folder, and access can be restricted for that user to the databases in their folder.

So if user1 creates a database named "Database1", and later user2 creates a database with the same exact name, it will not give an error, and when user1 alters his "Database1," it will not effect any other users "Database1". Similair to webhosting, where every user has their own folder they keep thier data in.

View Replies !
Website Hosting Which Use MySQL 5
Does somebody knows a website host using MySQL 5, php 5 with MySQLi?

View Replies !
Pull Hosting Plans
I am currently creating a web hosting website for a client of mine, for the packages and the order process we are using a script called "Auto-Host (http://www.idevspot.com/AutoHost.php)", which stores all the hosting plans into a mysql database.

This is a great script and it does exactly what we want it too, the only thing missing is it doesnt create a page where people can view the hosting plans and click a sign-up button. Can someone please give me guidance on how i can get a page with all the hosting plans on please?, alternatively i am willing to pay somebody for doing this on my behalf

View Replies !
Demon Hosting How To Use It (odbc/MySQL)
My customer wants a PHP web page; very basic one which I can do for him but I have no idea how to set up ODBC connection (I want to use Access format database) on his account. I can do that with fasthosts quite easily but I cannot find anywhere this option on his demon account.

p.s. How do I use MySQL with demon? do I need to install anything on my pc to connect to their server?

View Replies !
Client App Connecting To A Hosting Database
I have installed this webapp http://www.webhelpdesk.com/ on my 2 computers. I want to setup both computer to pull data from my hosting database. I'm with dreamhost.com and when I created my database with the name webhelpdesk. When I checked the database its show as webhelpdesk.domain.com. When I try to change the database on the webapp I get the following: Could not connect to MySQL database 'webhelpdesk' on host 'webhelpdesk.domain.com'.
Please confirm the connection settings.

View Replies !
How To Control Mysql In Hosting Server
I am a ASP programmer. I use MS Access for quite some time, and I am to switch to MySQL.

The way I use Access is create tables in my computer and upload it. When I want to do backup, I will download it and make another copy locally.

1. How to create a MySQL DB and Upload it?
2. How to modify the DB structure? For example, create index for certain field? do I have to download it and change it locally?
2. How to download and make backup?

View Replies !
Odbc Problem While Hosting Mysql In Ubuntu
I am new comer in mysql, i have a code that is running well when i am using vb6 to accessing mysql database which is hosted in windows.
But the odbc facing problem ( table "ttt" does'nt exist ) when i am trying to host the mysql database in ubuntu.
I have trying to looking for the solution from google, but until the time of writing this thread, i got no solution.

View Replies !
MySQL Version - Hosting Problem/Question
I was wondering if any of you ever had experiences with different MySQL version with your hosting providers?

I used MSSQL with PHP last month in a project and I liked the clean and easy code after using STORED PROCEDURES.

So, How can I go about using MySQL 5 or so if hosting provider doesn't support it??


View Replies !
YROOT Default Password On Yahoo Web Hosting
Can any one tell me the mysql database default password of "yroot" user on yahoo web hosting?

2- How can I delete user from mysql database on yahoo web hosting?

View Replies !
How Do I Import A Mysql Database To Godaddy Hosting Account?
i dont know whether this is the right forum 2ask on.... But Id like to know how can I upload import a Mysql database into my hosting account at Godaddy...


View Replies !
Can I Upload A MYSQL Database To My Free Web Hosting Space?
I have a domain with awardspace.com which has php and MYSQL enabled.

I am a newbie and not quite sure how to set it all up or if it's even possible with the Database I've created on my desktop.

When I go to the Database Manager in the administrator section it has a spot to create a database,and confirm a password. From there I take it you would use the PHPMyAdmin to alter the database.

Can I just upload a database using an FTP manager like Dreamweaver, or do I need to start from scratch and create the database on this server. If so is there a way to eventually download it so I don't lose any of the information in it.

View Replies !
How Often Is Best To Create New Database, Migrate Data With Shared Hosting?
I have got a web site that I have ben working on since March, 2007. It is a news reporting web site. It is replacing an older web site.

I created a new database (it uses the MySQL database) last March when I started working on the new web site. I have migrated all of the news content from the old web site database to the new web site database.

I have a shared web hosting. It's my understanding that the hosting service provider fills up one server with databases then starts a new server with databases.

For example, the IP for the server that is hosting the current database for the new web site is 10.6.166.5

I just created a new database (the hosting allows you to have ten databases per shared hosting). The IP for the server for the recently created database for the new web site hosting is 10.6.166.92

If the servers are ordered sequentially there have been 87 new servers filled up with databases since last March (i.e. 10.6.166.92 recently created IP minus 10.6.166.5 March, 2007 IP equals 87 servers).

The problem with migrating the nine-month old database to the new database is that I have got over a thousand news stories and two thousand pictures stored in the database with the 10.6.166.5 IP address. I would have to copy and paste all of the data into the phpMyAdmin program or write a PHP script that would automate the process.

Is there any benefit to migrating the 10.6.166.5 March, 2007 IP database over to the more recently created 10.6.166.92 IP database? Would it be reasonable to expect the more recently created database to perform better over the next 12 to 18 months than the one created nine months ago?

View Replies !
Why Dont Shared Hosting Accounts Provide Stored Procedures And Triggers?
i am searching for 3 days now for a reliable, fast hosting company, which supports stored procedures and triggers on mysql5. most of them dont support this, because mysql5 has a design-flaw in which it stores procedures and triggers on a root level-area (tables mysql information_schema). due this logic, most of the hosting companies wont allow you to create/run procedures and triggers. funny, that hosting companies forbid you to use new technologies and methods to build faster.

View Replies !
Connect To "mysql" In Hosting Server?
i wana to connect to "mysql" in hosting server(on the web) from my descktop application how can i do this.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved