Web Hosting Forums | Forums for Web Hosting
Old May 22nd 2004, 07:19 PM   #1 (permalink)
Registered User
 
Join Date: May 2004
Posts: 3
PHP + New DB creation?

Well boss doesn't want to use databases, for something that *needs* databases... so I will have to work with txt files... so How should I format this stuff so its searchable? I posted previously on phpbuilders about this, but, I am not advertising. Anyways... how would I start off doing something like this?
Jeraych is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Forum Advertisement ** This Advertisement Does Not Show To Registered Users **
Old May 24th 2004, 09:42 AM   #2 (permalink)
Registered User
 
Join Date: May 2004
Posts: 3
Quote:
Originally Posted by Jeraych
how would I start off doing something like this?
By reading the XML spec at w3c or if you're not mad then by reading a book on XML I just got this book a few days ago and I'm finding it incredibly usefull. It moves pretty quick so it may be a little daunting but if you soldier on through it's well worth it.
There are other options (CSV) but they're not really feasable if you're talking about structured data.
bubblenut is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Old May 24th 2004, 10:12 AM   #3 (permalink)
Registered User
 
Join Date: May 2004
Posts: 9
Hello
If you want to use php and use files i would suggest you use *.db files as they can't be read from a browser. I also suggest you encrypt all your data using the md5(); function.
You can also take a look around pixel2life.com for tutorials on how to do this project.
Cele
Cele is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Old May 24th 2004, 03:36 PM   #4 (permalink)
Registered User
 
Join Date: May 2004
Posts: 3
Quote:
Originally Posted by Cele
Hello
If you want to use php and use files i would suggest you use *.db files as they can't be read from a browser.
Well neither can XML files if you place them outside the document root, which is where they should be if they're even slightly secure. Also, what exactly do you mean by *.db files (I hope it's not some proprietry Winblows thingy ), I can call a text file something.db and then put XML in it XML is a w3c standardised data modeling format which is not only incredibly versatile but also incredibly widespread. If you were to need a datafeed capability down the line you would probably just be able to cut out chunks of your DB and send them over to whoever as is with nothing more than a DTD or Schema and prehapse an XSLT for convenience.

Quote:
Originally Posted by Cele
I also suggest you encrypt all your data using the md5(); function.
WHAT?!? The md5 algorithm is a one-way hashing algorithm NOT an encrypition algorithm. This means it's only usefull if you know what the data is and you just need some way of confirming it for security (like with a password). You cannot use md5 to hash all the data in your database (well you can, but it would render all your data useless).

Finally you start to talk sense Seems to have a lot of tutorials there from all around the place, couldn't find any on flat file databases though?
Quote:
Originally Posted by Cele
You can also take a look around pixel2life.com for tutorials on how to do this project.
Cele
XML Databases : A lot of the articles are regarding integrating XML with existing database systems but there are a couple of articles on actual XML databases. I would imagine you won't even need the kind of complexity a full Datatabase aplication would provide, it may suffice to have a collection of simple files and write your own app to query them. What sort of data are you needing to store and how much of it?

Bubble
bubblenut is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Reply

« - | PHP Books »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Career in PHP navjeet ASP / PHP Forums 7 August 9th 2011 01:49 PM
Free Domain Offer + Hosting - $5.95 + Daily Backups + Installatron + mySQL5 + PHP WebzPro Web Hosting Advertisements 1 December 24th 2009 01:25 AM
PHP Real estate Script Like (makaan.com) Only $50 USD nisha101 Web Design Forums 0 December 19th 2009 08:14 AM


All times are GMT -5. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1
 

Web Hosting


Sponsor


 

Webmaster Links: Social Media Marketing | Pay Per Click


 

Featured Web Hosting Companies

 

©Ascendancy Media Limited All rights reserved / Legal Disclaimer / Privacy Policy
Basic Web Hosting Search Intermediate Web Hosting Search Advanced Web Hosting Search Log in to add your companies details Search the forums on web hosting, web design and programming Your bookmarked web hosting and web design packages Buy your domain names from here, includes multilingual registrations and translation! Our affiliate programs, including the ability to set up large and small corporations to sell domain names in real time using our transparent affiliate system Group of web hosting companies with some info on their services - use this to find a company FAST Jump to Top of Page Jump to Top of Page Back to previous page Back to homepage Back to homepage Back to homepage Back to homepage Back to homepage Back to homepage