<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> well, that's the thing, i'de like to *not* need to build a database...
a nice little area to add a model (see the "add attatchment" thingy for reference) and a drop-down to select an "area" to put it in...
as you view the page, it loads up all the areas, and when you click, it downloads the model...<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
sorry, but i think a database is simply the easiest thing for this, plus once u get it going working its just a case of people adding their models and the database updates itself.
Its not like u would have to manually enter each individual record, some adminstration may be required i suppose, but other than that its not horrific or nething.
Dunno if i could personally do it in ASP, it means reading my SAMS book again as i haven't touched ASP in ages. If chadpyu can do php now, thats prolly u'r best bet.
I'll do some mock ups once exams are finished if u like tho.
Sorry to hear this <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html//emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif' /><!--endemo-->
Well the ASP/PHP question pretty much depends on what platform the server is running. It has to be windows (running the swiss cheese web server IIS) for ASP to work. PHP can run on anything. I don't know much ASP, since my server is Linux, running PHP/MySQL.
I agree with everybody who is pro-database for this... It's the easiest way. Have a PHP script upload the file to the server, then have it checked out for viruses, etc. Have an admin page where you can enter the link to the .zip, to a render and a thumbnail, and where you can enter author, etc. PHP can read the file size, enter all that into the DB under a unique identifier. The frontend could be a script that prints a table of all entries in the DB that are of a certain category, polycount, etc. For a detail of each model, pass the UID to the script and it can fetch all the info from the DB.
If you wanted to do all that with static html... whoa.. lots of work.
<!--QuoteBegin-Dorian Gray+May 23 2004, 11:44 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Dorian Gray @ May 23 2004, 11:44 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I agree with everybody who is pro-database for this... It's the easiest way. Have a PHP script upload the file to the server, then have it checked out for viruses, etc. Have an admin page where you can enter the link to the .zip, to a render and a thumbnail, and where you can enter author, etc. PHP can read the file size, enter all that into the DB under a unique identifier. The frontend could be a script that prints a table of all entries in the DB that are of a certain category, polycount, etc. For a detail of each model, pass the UID to the script and it can fetch all the info from the DB.
If you wanted to do all that with static html... whoa.. lots of work. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> 1.) its a freebsd server, so i guess that means ASP is out...?
2.) that sounds exactally like what i want to do...
3.) that's what i'm doing now... almost
<b>what i'm doing now:</b>
create: Zip file, _desc.txt, _spec.txt, preview.jpg, code the html, enter it into a database
ok, so i'll start with the most logical part, the database... what i do is do entry name|wasted entry| <location of the "folder" where the _desc, _spec and preview.jpg are> | name of the preview image | location of the Zip | 0 (for download counting, which is broken)
i code in the html a pointer to the cgi script, that reads the database, and puts the html together for the pop-ups.... the popups (i'm sure you know what they look like) are a compilation of 3 files, the: <preview> <_Desc file> <_spec file>
so far, *ALL* of this work (excluding the creation of the zip file) is done in notepad/wordpad...
<b>What i'de like to do:</b> the exact same thing, just with ad admin panel... an area for the model description, model specs, the location of the preview image and zip to upload... and a little pull-down to tell it which page to add it to.
i'de like to keep the site *looking* the same... or at least nothing major graphical if that can be helped... of course, the admin upload page would be passworded and have the option to expand into more sections (TS, CS, FA, DoD, and more...)
if you guys can start thinking of how to do it, i'de greatly appreciate it. I don't know what i need to provide you guys other than that...
if you have to re-design the site interface, that's fine, just keep it simple and how it was before (index.html = main T2K site... links to sub-sections "mods", and from the mod page, the model pages)
I'll donate as soon as I get a snail mail address <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->:P:P
Comments
I know, im his brother
with a database you could have it store the fileurl, the description, amount of downloads, author, anything
or you can write to a file
if you want to have a static html... thats alot of work
a nice little area to add a model (see the "add attatchment" thingy for reference) and a drop-down to select an "area" to put it in...
as you view the page, it loads up all the areas, and when you click, it downloads the model...<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
sorry, but i think a database is simply the easiest thing for this, plus once u get it going working its just a case of people adding their models and the database updates itself.
Its not like u would have to manually enter each individual record, some adminstration may be required i suppose, but other than that its not horrific or nething.
Dunno if i could personally do it in ASP, it means reading my SAMS book again as i haven't touched ASP in ages. If chadpyu can do php now, thats prolly u'r best bet.
I'll do some mock ups once exams are finished if u like tho.
I agree with everybody who is pro-database for this... It's the easiest way. Have a PHP script upload the file to the server, then have it checked out for viruses, etc. Have an admin page where you can enter the link to the .zip, to a render and a thumbnail, and where you can enter author, etc. PHP can read the file size, enter all that into the DB under a unique identifier. The frontend could be a script that prints a table of all entries in the DB that are of a certain category, polycount, etc. For a detail of each model, pass the UID to the script and it can fetch all the info from the DB.
If you wanted to do all that with static html... whoa.. lots of work.
I agree with everybody who is pro-database for this... It's the easiest way. Have a PHP script upload the file to the server, then have it checked out for viruses, etc. Have an admin page where you can enter the link to the .zip, to a render and a thumbnail, and where you can enter author, etc. PHP can read the file size, enter all that into the DB under a unique identifier. The frontend could be a script that prints a table of all entries in the DB that are of a certain category, polycount, etc. For a detail of each model, pass the UID to the script and it can fetch all the info from the DB.
If you wanted to do all that with static html... whoa.. lots of work. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
1.) its a freebsd server, so i guess that means ASP is out...?
2.) that sounds exactally like what i want to do...
3.) that's what i'm doing now... almost
<b>what i'm doing now:</b>
create: Zip file, _desc.txt, _spec.txt, preview.jpg, code the html, enter it into a database
ok, so i'll start with the most logical part, the database... what i do is do entry name|wasted entry| <location of the "folder" where the _desc, _spec and preview.jpg are> | name of the preview image | location of the Zip | 0 (for download counting, which is broken)
i code in the html a pointer to the cgi script, that reads the database, and puts the html together for the pop-ups.... the popups (i'm sure you know what they look like) are a compilation of 3 files, the: <preview> <_Desc file> <_spec file>
so far, *ALL* of this work (excluding the creation of the zip file) is done in notepad/wordpad...
<b>What i'de like to do:</b>
the exact same thing, just with ad admin panel... an area for the model description, model specs, the location of the preview image and zip to upload... and a little pull-down to tell it which page to add it to.
i'de like to keep the site *looking* the same... or at least nothing major graphical if that can be helped... of course, the admin upload page would be passworded and have the option to expand into more sections (TS, CS, FA, DoD, and more...)
if you guys can start thinking of how to do it, i'de greatly appreciate it. I don't know what i need to provide you guys other than that...
if you have to re-design the site interface, that's fine, just keep it simple and how it was before (index.html = main T2K site... links to sub-sections "mods", and from the mod page, the model pages)
Justin 'Delarosa' Rose
3075 NW 144th Ave
Beaverton Or, 97006-5464
and yes, thats in the USA