Click to See Complete Forum and Search --> : Text Files or Database ??


stuartc1
01-27-2003, 05:58 AM
Hi,

I wrote this script as a learning project. First of all the script I wrote was also to help in learing PHP (so I would kill 2 birds with one stone). The script is PHP Code Snippet Libarary it does just that - it keeps snippets of code for you to refer back to if you need to. Its realy just for personal use (not multi user). So first of all I designed it using a databas eas the storage bank and all worked well. Then I thought if beginners were going to use this or if the user didnt have MySQL installed, what else could i do to make it easier to use and configure ??. I came to the answer of text files (with very basic encription), this would make the script much more portable, and should work well enough for personal use.
I would be grateful if you could have alook at the script and give comments on it usabliliy ect.
It's available at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=895&lngWId=8 , please vote on it also as this will help me see its quality, thanks to anyone would helps me with comments.

$SuperString
01-27-2003, 12:04 PM
sounds good, looks good..... goody good.

planetsim
01-27-2003, 05:23 PM
Ok i didnt look at it sorry

Anyways. It sounds like a good project.

mahers
02-05-2003, 01:54 AM
This is excellent really well done! I'm using version 6 at the moment.

LukeO
02-05-2003, 05:47 AM
Looks really really, a true gem :). I would stick with database if I were you, using files can cause problems down the road. Especially if someone has safe-mode enabled on their server.

Good luck and thank you for providing such an excellent script :).

Luke