PDA

View Full Version : My first real php Script!!



Archbob
January 15th, 2003, 00:05
Hey what do you think of this script? Its my first real script in php that I wrote, a directory script.
There are no entries yet.

http://www.betteruiuc.org/users/ychen/index.php

Features:
Infinite Categories and levels and subcategories
Admin Validation of submissions
Admin add link, delete link, and browse as Admin features
Can decide how many entries per page.

Should I put category description on the main page?

Weirds
January 15th, 2003, 03:02
I like it.:)

Archbob
January 15th, 2003, 12:56
Thanks,
I'll make a few minor adjustments and then release it in a month or two.

Canuckkev
January 15th, 2003, 14:58
Cool, I was working a script like this. Does it use a mySql db? I think that way is best. A problem I encountered is when you delete a category, all the subcategories would remain in the db. It's very easy to fix this, but just something to think about.

Archbob
January 15th, 2003, 16:32
Yes, mine uses mySQL DB. When you delete a category, all its subcategories just get bumped one level up on mine.

Dean
January 15th, 2003, 17:50
Add voting and comments!!

Archbob
January 15th, 2003, 19:03
I'm working on some admin features now, voting and comments may be introduced in later versions(I'm not sure how to do that yet).

conkermaniac
January 18th, 2003, 03:58
What is a "real PHP script"? :p

I thought everyone grew up making MadLibs games using PHP. At least that's what I did when I first learned about PHP variables. ;)

notnamed
January 18th, 2003, 19:07
Once I learned about variables and $_POST, I made a whimpy site navigation using forms for my local dev server. Nice script, I'll take it (:p Age of Empires quote.)

Archbob
January 19th, 2003, 17:29
I might eventually add the "Muguogaipan" feature, but it'll take a while before I figure out how you an get your script to cook food for you.