how to protect PHP my admin access [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How can I protect PHPMYADMIN with password? I mean that whenever I will go to localhost/phpmyadmin it will ask for username and password, only after given the right username and password, it will allow the user to view all of the databases, tables and so on.
Thanks in advance!

PHPMyAdmin should ask for a user already, unless you somehow avoid the log in if you're on localhost.
Either way, from PHPMyAdmin you can create and edit users. Simply add a user to view the database with, and make sure there are no accounts that can see the database without a username and password.

Related

Is there any way to generate facebook login timestamp? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
On my site I have used fb login and I can do it easily for my site. But as we have users fb login id and other details, is it possible to generate facebook login time stamp for user for www.facebook.com.
Something like varifying how many times user performs facebook login and how many times he comes to my site.
or something nearer to this if possible
I don't fully understand what you want to do, if you just want a timestamp for when you receive the response from Facebook then you can just create one on your side of the code using time(). If you want to know anything about the user's login habits beyond you're site then that isn't possible due to privacy reasons I imagine.

PHP registration allow admin to create accounts [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am developing an application where it will be necessary that during registration the user who registers becomes the "admin" for their group and then has the ability to create sub users who they can manage.
I plan on creating a table with the following fields: unique id; username; password; role and group.
I am uncertain best method to enable that the original account is auto tagged as the admin and has the ability to both create groups and have the sub groups tied to it.
The original question got tagged as not being right for the forum -- but I am not looking for how to code and more so best process.
You could add a boolean field "group_admin" in the table where these users are stored to control if the user can or cannot create other users. If group_admin equals true (or 1) he is able to manage the group. Did that help you?

Query information about my app's user in twitter [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to query information about my app's user Info (name, id...)
In twitter (PHP).
What I want to know how I can reuse the token credentials of user???
I have done that but with my Twitter session. It means I must login with my twitter account, after that I can query information about my app's user (That's not correct!!!!!).
Please read this, this will be useful for your query :-
http://mikerogers.io/2013/02/25/how-use-twitter-oauth-1-1-javascriptjquery.html

Check Read and unread Message [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am trying to conditionally style user-to-user messages on my site based on the following:
If the user has not yet accessed the message, it remains bold ("unread").
If the user clicks the link and accesses it, it goes from bold to unbold ("read")
(reference: this is how many email inboxes work)
Question: How would I check if the user has clicked on the link to view their new message, or if they have not? As in, how would I store this information and indicate that it has been "read"?
Try adding a column to your messages' table (for example read) and set this column to 1 when the user has read his message?

How create and send an user activation email in CakePHP 2.x [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am new in cakephp. So I would like to know about how will create an email activation link in Cakephp 2.x and how will send it? Please anybody give an example
you can use verification link as hash tag to generate from username or email address which should be unique to your entire application.
here i am giving you just idea how to achieve this task, but you must have to try with your self to do something by yourself
just go throw this link and understand how they actually sending email verification to user and how they verify this after click on email.

Categories