Current location: Hot Scripts Forums » General Community » Script Requests » Script or Database?


Script or Database?

Reply
  #1 (permalink)  
Old 03-18-08, 01:48 PM
IZasPIE IZasPIE is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Script or Database?

I have this website: www.apcarsales.com
Now I need to make a log in, so the admin of the site could log in as admin and browse for pictures from his computer and add them. Also so when he is done editing everything so he post and it makes a new page.
Right now I do everything manually.

I was wondering, would this be a script or a database would have to be written.

I built that site with Dreamweaver CS3.

(I only started in making websites and at the age 15 it's very difficult to know all the languages and scripts. Actually I know none. The most I am familiar with is HTML. )

Reply With Quote
  #2 (permalink)  
Old 03-19-08, 01:07 AM
curbview.com's Avatar
curbview.com curbview.com is offline
Junior Code Guru
 
Join Date: May 2006
Posts: 555
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by IZasPIE View Post
I was wondering, would this be a script or a database would have to be written.
Actually, you do not write databases. What you need is an hybrid image upload type script that uses Imagemagick or GD (for image manipulation/resizing/thumbnails). A database could be used on the back-end to contain the info (for searching) but if you will only have a low/limited amount of data then flat-file should be considered feasible. (Have a look at www.indyevents.com and click on "photo gallery" for an example.)
__________________
Whatever you decide, you should make sure best security methods are used and practiced. Should you really need more help, PM me.
Reply With Quote
  #3 (permalink)  
Old 03-19-08, 11:18 PM
IZasPIE IZasPIE is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
I need to make a script that allows admin to browse for and add pictures. And when he clicks submit it creates a new page for that car with the images and all. So only the admin could do it. No one else.
Reply With Quote
  #4 (permalink)  
Old 03-20-08, 11:17 AM
Boraan's Avatar
Boraan Boraan is offline
Coding Addict
 
Join Date: Jul 2007
Location: Clayton, NC
Posts: 292
Thanks: 0
Thanked 1 Time in 1 Post
People are waay to complicated these days. the answer to your question is both and something else.

He needs to browse his pc and add them - to what?

When he's done editing everything - the pictures you mean?

Specifics are your friend. I'm just going to take a stab in the dark from what you said and look at the site, and take it that you want a management system that will automatically generate pages when your friend adds a new car, and you need it to show the available pictures on those pages.

I most definitely would NOT use a flatfile. What you need is a database to store all of the information about the car, (including image names to generate links). Secondly, a file management system so you can store the images. The script will access the database and automatically generate a page. I already have each of those things between different projects that I've worked on and it will take me a couple weeks to bring them together into a nice fluid application for you. Message me and let me know if you're interested.
__________________
Dexter Nelson
Techdex Development & Solutions
========================
Internet Marketing For Programmers | Free Market Research in 15 Minutes or Less
My Software: Hotscripts Softpedia software.techdex.net
Reply With Quote
  #5 (permalink)  
Old 03-20-08, 11:22 PM
IZasPIE IZasPIE is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, I would be REALLY interested. Please help me out!

Yes, I need the admin to add new cars. So he would have to add pictures and at the end click ok, and it would upload them and create a new page.

THANKS A LOT!
Reply With Quote
  #6 (permalink)  
Old 03-20-08, 11:49 PM
Boraan's Avatar
Boraan Boraan is offline
Coding Addict
 
Join Date: Jul 2007
Location: Clayton, NC
Posts: 292
Thanks: 0
Thanked 1 Time in 1 Post
message me and we'll talk some more, (signature). The pages would be generated the moment he adds the information for a new model and be available with all the information before the pictures are saved. As he adds the pictures, they will become available on the page.
__________________
Dexter Nelson
Techdex Development & Solutions
========================
Internet Marketing For Programmers | Free Market Research in 15 Minutes or Less
My Software: Hotscripts Softpedia software.techdex.net
Reply With Quote
  #7 (permalink)  
Old 03-21-08, 12:08 AM
IZasPIE IZasPIE is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
That sounds good!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database script. AdamFraser Script Requests 0 02-01-08 04:52 AM
script timing out when adding entries to database Jay6390 PHP 4 04-24-07 08:47 PM
CSS Border Width Question. nova912 CSS 6 09-07-06 09:13 AM
Script for uploading data from local database to production database pual_cruzs PHP 1 07-06-04 12:44 AM
can i things into 2 tables in the same database on 1 script? tisza PHP 3 07-01-04 04:11 AM


All times are GMT -5. The time now is 09:17 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.