Can you give demo account details to test the script – Username & password?
You can register there than login with the creds you registered with. It wont currently send out a text to control cost.
you can login here http://avandata.com/avandata.net/two_factor/views/login_view.php
Nice, good luck with sales!
What SMS service does it use?
I Don’t find the SQL_Structure.sql
or i dont see the SQL Statements, that i need to Set up my MYSQL Database.
Shot me an email. I can email you the sql structure.
What are the login details to test the script ?
you should register at http://avandata.com/avandata.net/two_factor/views/registration_view.php
Thats correct you can register there It wont currently send out a text to control cost and than login here http://avandata.com/avandata.net/two_factor/views/login_view.php
Hi. I have just purchased this script. Like mark217q I also don’t see and SQL data in among the files.
Shot me an email I can email you the sql data structure.
Alex, thank you this is working great!!
Unfortunately I am not a php developer, but I want to use this for my personal site to protect pages. My question is what can I add in a page header for any page to protected? The success_view.php is just plain php.
and how can I add logout button to kill the session?
on success_view.php you can do the following
//You are successfully logged in
echo “You have passed the login steps”;
//Any code here that says you are not logged in or a redirect of some kind
//Session destroy will destoy any user sessions escentially logging the user out
Also, make sure to add this line to login_view.php at line 22
//If successful login redirect to whatever page we want
$_SESSION[‘logged_in’] = true;
It works!! thanks a lot.
Is there a way if you enter if you enter an incorrect sms code to get prompted to enter it again with the correct one?
The problem if you enter incorrect code you have to start over with the login and twilio sends a new sms code… more $$$
I made some changes to login_view.php I emailed you the fix. Let me know if you got it ok.
Thanks again. nicely done
you are welcome.
Is this script supports https://msg91.com/ sms provider ?
currently I only have support for twilio. However, it may be easy to integrate other text messaging service.
Hi, could pass me the demo link?
thank you .
to protect cost it currently does not send out text
Ok, could you tell me if this system would work normally in Brazil and for different cities, and how the form of levying sending text works?
How difficult is it to edit the script to work with e-mail instead of sms? If it isn’t that hard to change it I’ll probably buy it
I dont think it would be that hard. I think if you know a little bit of programming just modify the function that sends out the text to send out an email instead. I can help if need by.
I purchased this script yesterday. I did not get a copy of the database code with the rest of the script I downloaded. I see others have had the same problem. It looks very interesting. I would like to get this working Please help!
Just sent you the sql structure.
Sql structure must be within the download pack, but it wasn’t.
I get an error that says; invalid csfr code. Don’t know why.
Im also interested in the solution from unixtime. because a login script without protection of the pages behind, is not the right way to protect something.
The idea is great, i hope its gonna werk for me!
Great job in advance!
Hi sent you an email regarding the SQL data, can you please email it to me. Thank you
Need sql data as well
Send me an email so I can provide the SQL file. Alexgv@avandata.com
Hi, how can i protect or read the session data in success_view.php? It makes no sense that the dashboard is free for all to view with or without a valid session?
You can use the following code or something similar. To add the login check to other pages.
Also, if you call the function session_destroy(); that will log a user out.
To pull user information you have to store the user information in the session to store user information in the session you can do the following $_SESSION[‘user_id’] once you store that you can then do a query to the database to pull all other user data that is in their. You can add as much information to the user data in the mysql table.
Okay, great! Thank you
Running the script on a PHP7 server returns in an error: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. (8192) Do you have a fix?
Can anyone e-mail me db_structure.sql please? mavipatik (at) hotmail com
HI, are you able to update your code to remove the issue with crypt() and php 7 as outlined above. I want to start implementing this, but if its going to have errors when we move to php 7 I will need to find another solution. Thank you.
I’ll take a look at that one on Monday or Tuesday.
Status, its been 3 months…
Can you send me the SQL file?
Does sending sms have to pay?
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $3
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work