173 comments found.
Hi Suddenly, when we log into the pages, messages like this appeared everywhere, quote: Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in /var/www/xxxxxxxxxxxxxxx/SimpleAuth.php on line 725 And then the same ones on lines of code 726, 727 and so on… We didn’t change anything in the code, tell me what to do? Thanks
Well, we just realized what the matter was We switched to PHP version 8.3 and then it happened Now we’ve returned to version 7.4 and the code works fine But this is certainly not a solution, since it’s wrong to stay on the old PHP
What are your thoughts on this?
It’s a shame you haven’t found the time to answer my question in these six months. What wonderful support!
Hello, I’m sorry, I haven’t been receiving emails from CodeCanyon for several months now, it seems.
I’m planning to create a modern redesign of this script for recent versions of PHP.
This script is used by thousands of people, and there’s a huge demand for support for older PHP versions.
I’ve decided to release a new version for modern versions and keep the existing one for older versions.
As soon as it’s released, you’ll be able to get it for free as compensation.
I apologize for any inconvenience.
With this app, can i control In such a way that no one can access my app login page without first becoming my member. It will be even better if your app login can also be used for my app login.
Good morning, It is not possible to do this automatically because this script does not use a database.
You must manually add your users to a file
Hello, This problem has been fixed on the last version. I will send the new version on your email.
Is this tool offer Country List, Auto fetch state & city list based on selected country, SMS mobile verification, Mobile number with country code, Leads database, Waiting for your reply
No, sorry
hello I need help
What do you need ? Do you read the documentation ?
pre_purchase question: what are the username and password for demo
All accounts for demo is on the demo login page. Like admin/admin, ....
Hi there, i sent a support request and also emailed directly but have not received a response yet. Just following up here to see if the support requests have been received
Ok, I will see if your requests have been processed
$ username = 'admin'; $ password = '123456';Tried to import the data into SimpleAuth.php using:
require_once ("admin.php");
and in the user list:
var $ users = array (
'$ username' => '$ password',
or
var $ users = array (
$ username => $ password,
But it is not working. How can I use the values of these variables in SimpleAuth.php ?
I see nobody from support don’t respond…. Great Sent emails too but nothing.
Hello, You must follow the documentation and put your credentials to the simpleauth.php file directly.
Hi. It’s a brilliant script. Thanks so much. But I can’t change the theme. I followed the documentation but it is still the regular one. Would you mind helping me with that please? I’d appreciate!
Hello, can you send me your FTP access (contact form)
I already solve it. But hey, I was about to buy that modern theme for 6 dollars. But it seems that is no longer available. Is there any chance to get it yet?
Send me an email to arnaud[]wixiweb.fr
I dont know why codecanyon has unpublish this theme.
Hi. How can I pass the variable “login” to another PHP file? Thanks
Hello?
<?php $simpleAuthInstance = ${(require_once('SimpleAuth.php'))}->protectme(); ?>
<!-- PAGE CONTENT -->
<?php echo $simpleAuthInstance->getLogin(); ?>
Hello Arnaud. Thanks for your answer. Works perfectly. 
Sorry, is it possible to do the same with the Password variable?
Sorry, you should never display a user’s password
You got reason. Thanks again.
Best wishes.
Thank you for this simple script. Bought, installed and very best.
Thanks
Works with googlesite?
No, sorry.
Hi. Thanks for this great script. I have a question: How can I make Spanish the default language?
// Locale for translation
'locale' => 'ES',
// Allow user to change locale
'localeSwitcher' => false,
Fantastic! Many thanks.
Hello, can i add reCaptcha in the form?
I have my site set up with a folder for each user and it works great. However, I have come across a bug of some sort that I do not understand. Sometimes, when I navigate from:
- http://www.mywebsite.com/secure/user1/index.php
to lets say
- http://www.mywebsite.com/secure/user1/anotherpage.php ,
it will ask to login again even though I am still logged in.
The strange thing is that this never really happened until the last month or so and only about half of the time. Would having the page not fully loaded have anything to do with this? Any suggestions?
This can be a hosting problem. You seem to lose the session randomly
What kind of hosting problem would we be talking about? Is there any workaround here? The strange thing is that it doesnt do that all the time. Sometimes it works fine and other times it will try to login again.
This small script sounds exactly what I am looking for, but… can this script redirect different users to different pages or urls after logging in?? for example: user1 goes to https://example1.com/123/ user2 goes to https://example2.com/abcd/ user3 goes to https://example3.com/987/
etc.
I’m not a programmer, but this sounds relatively easy to setup. I hope to hear from you soon. Thanks.
- http://www.mywebsite.com/secure/index.php (Your defaut login page)
- http://www.mywebsite.com/secure/SimpleAuth.php (SimpleAuth core file)
- http://www.mywebsite.com/secure/user1/index.php (User 1 home)
- http://www.mywebsite.com/secure/user2/index.php (User 2 home)
You make authentification of All user on index.php page and you forward to a dedicated space :
<?php
$simpleAuth = ${(require_once(‘SimpleAuth.php’))} -> protectme();
$client = $simpleAuth -> getLogin();
header(‘Location: ’.$client); ?>
After, you can allow only 1 user for each page. Put this script on each secure/clientXXX/index.php :
<?php
$login = array_pop(explode(DIRECTORY_SEPARATOR, dirname( FILE ))); ${(require_once(’../SimpleAuth.php’))} -> protectme(array( ‘allowedUsers’ => array($login) )); ?>
I can send you an exemple. Please contact me to mail.
Thanks
Your ChangeLog shows an update 4.2.0 of 12/02/2019 but the download is the previous ver. 4.2 of 13/12/2016. Don’t know what the change “fix type” is?
Oups, It’s “Fix title”. I upload a new version 4.2.1. Thanks
hello…i wonder how can i echo which user is logged in on website once he is logged in page?? something like LOGGED IN AS: <?php echo $users;?> ????
Hello,
You can have this information on the documentation.
If you are in a secure page, you can display the user login You can place this line to the place you want it to display the login of the user logged :
<?php echo $simpleAuthInstance->getLogin(); ?>
You can add custom information about your users. For example, you can add 3 new fieds (phone, email, skype) for 2 users (login@domain.com and admin) You can retrieve information with the following code :
Phone : <?php echo $simpleAuthInstance->getMetas(“phone”);?>
Email : <?php echo $simpleAuthInstance->getMetas(“email”);?>
thank youuuuuuuuuuuu
Hi and thank you for creating this awesome script! I have a feature request / idea: captcha. I think that captcha will add an extra layer of security and will help preventing the brute force attacks.
I would like the login box (container not field) to be center of the page. Easy to do?