I'm baaaaaack!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jim
Forum Contributor
Posts: 238
Joined: Fri Apr 19, 2002 5:26 am
Location: Near Austin, Texas

I'm baaaaaack!

Post 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
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post 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..
Jim
Forum Contributor
Posts: 238
Joined: Fri Apr 19, 2002 5:26 am
Location: Near Austin, Texas

Post 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 :(
Post Reply