I need a login that requires user to validate email so that password is sent to email, but my computer crashed and I lost it can anyone help?

Recommended Answers

All 4 Replies

You should at least post some codes so we can help you. Without any code, I'm not sure anyone is going to help you.

You should at least post some codes so we can help you. Without any code, I'm not sure anyone is going to help you.

I am very new to php and I don't know any books to refer to.

Member Avatar for diafol

> I need a login that requires user to validate email so that password is sent to email, but my computer crashed and I lost it can anyone help?

So, do you want somebody to check your broken PC and retrieve the code for you?

Seriously, you can search Google or this forum for login scripts. That, you can do yourself.

if(!filter_var($email, FILTER_VALIDATE_EMAIL))
        die("not valid");
else
	die("valid");

this will check for the validity of your email :D
and as far as login is concerned..you can use $_SESSION superglobal array to create a very simple login script ( although not very secure but its good for beginners )

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.