Page 1 of 1

I'm baaaaaack!

Posted: Sun Jun 09, 2002 7:42 pm
by Jim
I've been away a while for lack of a host on which to practice my coding :P However, I'm back, and with a vengeance, so expect my usual load of questions to appear on these forums.

In fact, my most recent project is an article submission system, and I need help :)

I'm using flat files for this rather than a MySQL db, so I'm a little bit out of my league (though I'm no pro in the MySQL league either...) but I figure this could be a great learning experience for me.

So this is what I'm trying to do:

There are going to be fields for the article, including the Article Title, Author name, and the body of the page, and submitters will have to decide where the file goes (a strategy folder, an article folder... stuff like that).

I can figure most of it out, except for two thing (at the moment, at least). How can I make each submission create an entirely new document, and how can I make sure that new doc is placed in the proper folder? Thanks guys! I'll ask more as questions arise :P

Posted: Sun Jun 09, 2002 8:19 pm
by hob_goblin
well, do you want filenames to be generated for it? or do you want the user to specify the filename?

same with the folder...

it is really easy to do..

Posted: Sun Jun 09, 2002 8:45 pm
by Jim
I think it would be easiest if each file were named automatically, like file1, file2, file3 etc.

And I'm going to have a drop down box which allows the user to choose which folder the article goes in.

Is it really that easy? I'm sorry, I'm pretty new to this and haven't been able to work on it forever :(