/    Sign up×
Community /Pin to ProfileBookmark

hi,
I’m looking for a login/register script in php that doesn’t use Mysql. Of course you can find loads of those but they dont do th register part. So can anybody tell me a script that register and logins from a txt file?

Thanks

Fire Cat

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@welshSep 04.2009 — Hey, the closest one i found was this: http://www.mariovaldez.net/software/sitefilo/

however it does not have a register part, so you could write a register portion to it.
Copy linkTweet thisAlerts:
@Fire_CatauthorSep 04.2009 — Hey, the closest one i found was this: http://www.mariovaldez.net/software/sitefilo/

however it does not have a register part, so you could write a register portion to it.[/QUOTE]


Oh great! Thanks! Though... I'm really bad at PHp (I barely know the basics) so could anyone do it for me? I will definitly mess up if I even manage to thing of a code.

NO really, I know this could be a great learning for me but I have to have it done really quickly



Though, Thanks a lot Welsh
Copy linkTweet thisAlerts:
@welshSep 04.2009 — ill prob take a stab at it when i get off work in 3 hours...my suggestion is just search google and maybe you will find something. (will be nice practice for me, not the best with writing to files yet)
Copy linkTweet thisAlerts:
@NogDogSep 05.2009 — Might I ask why the "no MySQL" restriction? It would be much more scalable and flexible than a text-based solution, and would also be faster (especially as the number of users increases beyond a handful). If it's specifically an issue of MySQL not being available for some reason, have you considered [url=http://php.net/sqlite]SQLite[/url]?
Copy linkTweet thisAlerts:
@Fire_CatauthorSep 05.2009 — About the MySql, I don't know. my boss just told me not to use it.

The register code I am looking for , must just write this in a file:

testuser, testpass

testuser2, testpass2

And check if the username isn't allready used.

Thanks

[I]Edit: Is it also possible to have a "image code/check"? The one to stop robots and also a cookie? to stop people making acounts every 2 minutes[/I]
Copy linkTweet thisAlerts:
@criterion9Sep 05.2009 — Instead of using txt files you might look into using the simpleXML built into PHP and store them as an xml file. Do a quick search for "CAPTCHA" to find your verify image. A quick search for "cookie php" will land you just about everything you'd ever want to know about setting and reading cookies in php.
×

Success!

Help @Fire_Cat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...