•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 397,592 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,882 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 944 | Replies: 5
![]() |
| |
•
•
Join Date: Jul 2007
Posts: 13
Reputation:
Rep Power: 2
Solved Threads: 0
Hello,
I'm developing a small, web-based music sharing application. I used to create static HTML contents. But now, I need a dynamic site that retrieve information from databases (also write data to database). As a beginner in PHP and MySQL, I hope someone from here can help me out..
Here is the scenario:
Four kind of users; Guest, Contributor, Registered User, Administrator
GUEST - browse, search file and download certain song/movies (limited functionality)
CONTRIBUTOR - upload files (song, video clips, image) and having full access to contents
REGISTERED USER - full access to contents and features
ADMINISTRATOR - Super User (maintain the website and database)
The last three users' details are stored in database...
MEDIA FILES
each video(music clips), audio(song) and photos details are stored in a separate table. Instead of saving media files as BLOB type, I used file path to point to the exact file location in the server directories (for performance reason according to my reading & net research). What is the best way to upload a file to a predefined server directory??? I know PHP can handle this.. but is there any 3rd party software that can perform the same action (i mean something more GUI)??
CONTRIBUTOR
This user have their own page within the domain (for displaying their profile- also stored in a table). We want to provide them choices of template so that can choose and customize their page. I guess this is the big challenge. Any idea??
RATING
I also want to have 'rate-this-song' feature. I have created a table to store the rating value submitted by user and total count (plus the associated field such as filename/ID). These two values will be dynamically updated when anyone rate the song (to avoid abuse, Im making use of session variable so that a particular user can only rate a file once). What is the best way to store all these rating statistics?? should I create one table 'rating' or 3 since I have Audio, video and image?? What's the best way to implement this function??
FORUM
Another table to store all the submitted forums. This can only be accessed by registered user and admin. So far Im planning to use PHP to retrieve and write data to the database... any suggestion??
FEEDBACK
As the admin need to monitor the site based on feedback form submitted by visitors, so I have table to store the information. Is this common???
GENERAL
For easier administration...Im planning to create interface for administrator to maintain the database (add/update/delete contents).. This of course can be achieved thru PHP/HTML.. is there any other "GUI" way to do it?? perhaps cPanel??
I guess thats all for know.. Im still brushin up my PHP & mySQL.. So far I know HTML, JavaScript, VB and some other programming languages..
Thanks for helping me out... truely appreciate it!
I'm developing a small, web-based music sharing application. I used to create static HTML contents. But now, I need a dynamic site that retrieve information from databases (also write data to database). As a beginner in PHP and MySQL, I hope someone from here can help me out..
Here is the scenario:
Four kind of users; Guest, Contributor, Registered User, Administrator
GUEST - browse, search file and download certain song/movies (limited functionality)
CONTRIBUTOR - upload files (song, video clips, image) and having full access to contents
REGISTERED USER - full access to contents and features
ADMINISTRATOR - Super User (maintain the website and database)
The last three users' details are stored in database...
MEDIA FILES
each video(music clips), audio(song) and photos details are stored in a separate table. Instead of saving media files as BLOB type, I used file path to point to the exact file location in the server directories (for performance reason according to my reading & net research). What is the best way to upload a file to a predefined server directory??? I know PHP can handle this.. but is there any 3rd party software that can perform the same action (i mean something more GUI)??
CONTRIBUTOR
This user have their own page within the domain (for displaying their profile- also stored in a table). We want to provide them choices of template so that can choose and customize their page. I guess this is the big challenge. Any idea??
RATING
I also want to have 'rate-this-song' feature. I have created a table to store the rating value submitted by user and total count (plus the associated field such as filename/ID). These two values will be dynamically updated when anyone rate the song (to avoid abuse, Im making use of session variable so that a particular user can only rate a file once). What is the best way to store all these rating statistics?? should I create one table 'rating' or 3 since I have Audio, video and image?? What's the best way to implement this function??
FORUM
Another table to store all the submitted forums. This can only be accessed by registered user and admin. So far Im planning to use PHP to retrieve and write data to the database... any suggestion??
FEEDBACK
As the admin need to monitor the site based on feedback form submitted by visitors, so I have table to store the information. Is this common???
GENERAL
For easier administration...Im planning to create interface for administrator to maintain the database (add/update/delete contents).. This of course can be achieved thru PHP/HTML.. is there any other "GUI" way to do it?? perhaps cPanel??
I guess thats all for know.. Im still brushin up my PHP & mySQL.. So far I know HTML, JavaScript, VB and some other programming languages..
Thanks for helping me out... truely appreciate it!
•
•
Join Date: May 2006
Location: New Jersey
Posts: 1,422
Reputation:
Rep Power: 5
Solved Threads: 34
Are you looking for someone to write this code for you? If so, you should post this in the Job Offers forum as you won't find anyone to do this kind of work for free.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
advertising blog breach browser browsers browsing community daniweb data database design development devices domains firefox google hacker india internet java legal linux marketing merger microsoft mobile applications mozilla msn multimedia news php privacy report research search security software sql sun survey users video w3c web web development wikipedia xml yahoo youtube
- Professional Web design Services (Flash, PHP, SQL, HMTL, CSS) (Web Development Job Offers)
- Quality Web Design, Logo, and Banner Services (PICTURES INCLUDED) (Post your Resume)
- Top 7 things I wish I'd known about web design (Web Developers' Lounge)
- custom banners and logos and web design (Post your Resume)
- How do you integrate a database w/web design? best solution for online catalogue? (Database Design)
- Web Design Board (Site Layout and Usability)
- Please suggest a very simple web design app (Site Layout and Usability)
Other Threads in the MySQL Forum
- Previous Thread: Nested insert queries in a single query
- Next Thread: Step Y Step Mysql Tutorials



Hybrid Mode