To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publish.htmlOpen lugnet.publish.html in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / HTML / 315
314  |  316
Subject: 
Re: Announcing DeepSpace.com
Newsgroups: 
lugnet.publish.html
Date: 
Thu, 15 Jan 2004 02:58:24 GMT
Viewed: 
2495 times
  
In lugnet.publish.html, John Henry Kruer wrote:
   In lugnet.space, Bram Lambrecht wrote: Would you need to store it as a string an the database? Couldn’t you just simply pass along a session variable that holds the array and use that? Although I guess if you wanted to add comments, you would have to store everything in a database.

Well, if you store it in a database, then you only need to get a directory listing the very first time the page loads (like when the thumbnails are created)...after that, it can just get the array from the database, which is most likely faster.

   BTW, just a simple question to all you fellow PHP-ers. Do you upload a model by inserting all your stuff into a database manually and then upload the images into a directory, or do you make a form that does it for you? I’ve already made a form for my site, but I think its kind of hard to make comments for individual images on it because you don’t know what order the images are beacause they will be put in alphabetically.

I use a form, and upload my images manually. For my photography website (still under construction), the photo file names are all stored in a database table with a caption, photo data, and an automatically generated ID number. The photo entry also contains a field for the gallery number. The gallery numbers are associated with the gallery name, directory, and description in another table. That way, when a gallery is called up. I can search for all the images with that gallery number and create the proper listing of photos.

   (p.s.You working on anything, Bram?)

BMW announcement

Other than that, I’m trying to finish sorting an RBR and my Luna Spire. After I finish sorting and clean up the mess that is my Lego room, I can start on a project I’ve been pondering for a while.
--Bram



   Bram Lambrecht
www.bldesign.org



Message is in Reply To:
  Re: Announcing DeepSpace.com
 
(...) Would you need to store it as a string an the database? Couldn't you just simply pass along a session variable that holds the array and use that? Although I guess if you wanted to add comments, you would have to store everything in a database. (...) (21 years ago, 14-Jan-04, to lugnet.publish.html)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR