Page 1 of 1

PHP - Dedicated Connection + File Handling

Posted: Sun Aug 01, 2004 10:57 am
by hendy
Ladies and Gentlemen of the advance PHP Database Race, I have a question here that i desperatley need an answer for a question at Uni, please please could someone breifly tell me what the advantages and disadvantages in using a connection to a dedicated
database server to store data over using PHP’s dedicated file handling
functions?????

Any help would be great, thanks

Posted: Sun Aug 01, 2004 11:01 am
by feyd
database: a lot easier handling, sorting, faster queries unless you have some awesome hashing skill. Simple query language.
file handling: you have to write your own database of sorts, lots of debugging, time wasted...

unless it's for learning how databases work internally, I wouldn't use the file system..

Posted: Sun Aug 01, 2004 11:25 am
by hendy
Cheers thanks for that...



Regards

Hendy

Posted: Sun Aug 01, 2004 2:33 pm
by tim
with using MySQL, i know feyd said it but didnt elaborate on it

you can manupilate data using MySQL functions, like math wise (with COUNT, MIN and MAX, etc.)

and doing it mysql-side, its faster then with phps file handling.

feyd basically mentioned the whole nine yards tho,

go db!

Posted: Sun Aug 01, 2004 5:39 pm
by hendy
Thanks guys, you have been a great help


Regards
Hendy

SOLVED

Posted: Mon Aug 02, 2004 4:29 am
by hendy
Thanks everyone