/    Sign up×
Community /Pin to ProfileBookmark

question about phpmyadmin

Hello, if you are using phpmyadmin, when you logout you will see (&old_usr=root) a part of the url. This tells you the username (in mysql) of the user who logged out. I need to edit the application so that when any new user logs in, (&new_usr=user1) will be added to the url. I need this information because I am using Apache log file to see who logs in and who logs out.
I appreciate your help

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@stephan_gerlachFeb 13.2009 — Not sure if this will work but give it a try.

go to your phpmyadmin folder and then into your scripts folder

You should see there a file called signon.php

on line 26 I got

[code=php] header('Location: ../index.php');[/code]

try changing it to

[code=php] header('Location: ../index.php?new_usr='.$_POST['user);[/code]

I assume it would work but I also assume that it would also show ailed logins. but its probably a start
×

Success!

Help @alluoshi 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.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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