Web Hosting Talk







View Full Version : I gave up with MySQL. Now I'm looking for a script...


jonathanbull
09-24-2004, 07:13 PM
Hi there,

You may remember me debating whether to use mysql or not, but I decided against it. As my hosting is from a friend it's too much trouble to install and to be honest, I don't really need it.

Now here's the tricky bit. I'm looking for a flat-file user registration script, but can't find what I'm looking for. I've googled and googled for hours with no result. I went through every 'user authentication' script on hot scripts and still couldn't find what I'm looking for.

Preferably, I'd like one with email verification and user features like 'change password', but I suppose anything would do - I'm desperate! :D

Could anyone point me in the right direction? I'd be really grateful for any help.


Thanks in advance,
Jon.

sea otter
09-24-2004, 07:44 PM
How about

noSQL: http://www.bonneville.nl/software/noSQL/

phpPageProtect: http://php.warpedweb.net/pageprotect/


noSQL is just that; a bunch of sql-like php routines with a sql-like syntax that operate on flat files. You could build a registration system on top of that yourself.

phpPageProtect also uses flat files, although it is aimed at created secure pages which only registered users can see (users are created via an admin panel). I suppose you could modify the admin panel form to turn it into a user signup form.

Either way, there'll be some coding involved on your end :(

Hope this helps.

jonathanbull
09-24-2004, 08:12 PM
Thanks very much sea otter, your reply certainly does help.

Although I'm not new to PHP I'm still learning, so preferably I would like a script without any extra coding necessary.

I had a look through those scripts and although they're perfect, my PHP just isn't up to scratch (yet!).

Thanks again for your help, I really appreciate it.

Any more?!

Burhan
09-25-2004, 03:30 AM
You may be looking for the impossible here. You probably would need someone to modify an already made script (easy way) or have someone write one from scratch (the really easy way).

Good luck with your search.

jonathanbull
09-25-2004, 07:59 AM
Thanks for all your help.


I have found many scripts that do exactly what I want, but log the data to a mysql database.

Would it be easy to change one of these to log it to a flat-file?

Burhan
09-25-2004, 10:44 AM
Depends entirely on your skillset.

sea otter
09-25-2004, 12:39 PM
You might want to look at the PEAR libraries http://pear.php.net/

Their PearDB database module is an abstracted database layer, and can write to anything, including flat files. Most mear stuff is well documented and has sample code, so you can cut and paste most of what you need. There are also Pear user authentication modules, but I always found them confusing and overly-complex.

That said, if you find a registration script that writes to MySQL but uses the PearDB library to do so, it would be much much easier to modify to do what you want.

innova
09-25-2004, 06:14 PM
Also check out SQlite.. its an embedded SQL database in a single file, most standard SQL commands work as expected.

Please do yourself a favor and dont use flatfiles :)

jonathanbull
09-25-2004, 07:32 PM
Thanks for all your kind help.

I managed to find a script that does almost exactly what I want. I'm slowly editing it, but it's improving my PHP knowledge so it can't be too bad!

The flat files are encrypted, and as all I'm storing is username/email/password, this suits me well!

sea otter
09-25-2004, 08:13 PM
If you run into any problems, post back here :) I'm sure we can all help you get through it.