Mike Scirocco - 2009-07-06 05:56:01
I've been asked to make property management site that will allow the owners to upload text descriptions and photos of each property they manage, and let users browse through the sites under management.
I know HTML, CSS, javascript, and I've learned a little PHP, for example I can send email, read and write to a flat text file (using it as a simple database) on the server, do hashes, and store passwords using session variables. But I will definitely need to learn a few more things to complete this site. So I'm wondering what the simplest way to proceed is that doesn't require MySQL.
- Use a flat txt file properties.dat to store the name of each property under management.
- Create a folder for each property in the properties.dat file where text and image file uploads will reside.
- Display thumbnails of the uploaded image files to users, and a larger version when a thumbnail is clicked on without a page reload.
Does this sound like the most direct non-MySQL approach I could use? I would have to learn to create and delete folders, upload files, create thumbnails, check that each property name is unique and valid, which all seem like they're not too complicated in PHP. But before I got started I thought I'd ask more experienced people what they thought.
Comments or Suggestions would be appreciated!
Thanks,
Mike