RobertP Posted November 1, 2011 Share Posted November 1, 2011 i am looking for the best way to save data into a text file. i am open to suggestions. i have thought about xml, i am not very experienced in php xml pasers, but i think its time to learn i am willing to use what ever is the quickest as reading the file. writing the file i am not worried about speed. my general thoughts are to: - cvs style, get_file_contents and a few php explodes to extract the data. - xml to pase using dom or maybe even simple xml. - and i even thought to maybe use php files, write to a php file, then simply include it. so far this is what i have, if you have a better solution please share. my reason for this, i need a simple database that wont hold more then a few rows, and i want it to be 100% universal, and the worlds simplest setup for my script, (U&G) Upload & Go (hmm, copyleft to me ) Quote Link to comment https://forums.phpfreaks.com/topic/250254-php-files/ Share on other sites More sharing options...
gizmola Posted November 1, 2011 Share Posted November 1, 2011 How about sqlite? http://us2.php.net/sqlite Quote Link to comment https://forums.phpfreaks.com/topic/250254-php-files/#findComment-1284092 Share on other sites More sharing options...
RobertP Posted November 1, 2011 Author Share Posted November 1, 2011 ok, i need some info on sqlite, i have downloaded sqlite3.exe and have been playing around with it, but, what happens if someone get a hold of my database file? can they access it? can i password protect it? ps: my new best friend http://code.google.com/p/phpliteadmin/ Quote Link to comment https://forums.phpfreaks.com/topic/250254-php-files/#findComment-1284100 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.