user

MySQL SELECT from PHP

I have one table ( members ) and five columns ( username , password , FirstName , LastName , Email ) I need to get the Email for the user admin. How would this be done? ...

Storing Exceptions in flat file

Hi, In any application, we can do error logging using flat file system. How do we handle a scenario when there are multiple users having exceptions which are logged in the same flat file? Many Thanks. ...

Updating record in Database

Hello, I have this form on my site where a user can enter many strings and save it to their account. But I'm not sure how to go about it. Instead of creating a whole new user, with new values, I'd just like to update a single entry in the database. For example if a user wanted to add another email address to their account, how would I...

List of logged in users in Wordpress?

Hello, Is it possible to get a list of logged in users in Wordpress? Thank you ...

Use of Execute As User in SQL 2008

We are transitioning from SQL Server 2005 to 2008 and suddenly our Execute As User statements aren't working. Did something change between these 2 releases? ...

List users in a datagrid, using WCF + RIA with Silverlight 4

How to list all registered users from a RIA Service? I tried to expose they by using a IQueryable (from a Domain Class Service), but got the error "The entity type 'User' is exposed by multiple DomainService types." My first clue is that the user is already exposed, but found nothing in code and there is nothing related to 'User' in 'Da...

User Settings: What are my choices?

hello, I'm trying to find out what my choices are when I'm going to use user (persistent) settings. In vs Studio this is possible in the properties of your project but I'm getting to know the limits there: Only values are allowed that can be converted to string. Collections (e.g items in a Listbox, with a name and value) cannot be sa...

What things should be taken point if we have to use unknown user css file

Hi guys, I am thinking to let the users upload a css file and control the colour scheme and other things of the site as per their own configuration. So before building it i would like to know what things i should take care? ...

User content table formatting?

I understand the part of inserting data in the database for creating a database driven user content website but how to do formatting? Say i insert the "Privacy policy" Now some text may require to be bold, some may be underline, some may have different size, spacing, etc. So do we have to insert each word 1 by 1 or how to handle this? Us...

drupal user relationships

hey all, throwing this one out there... hope it's a simple one. using the drupal module user relationships i can see my relationships by going to site.com/relationships i need a page that displays the relationships of a different user. is that available? ...

handling manual user creation with get_current_user() (GAE)

I am using GAE's Python environment and Janrain in order to provide multiple ways to login in my service. Based on login information I receive from Janrain, I create a google.appengine.api.User object and store it to the datastore. Is there a way to handle this new object with the built-in get_current_user()? I need to be able to dete...

get the number of logged user on system from within a service

I want to know from within a Windows Service (Local System Account) the number of logged in user on the system, i've implemented this method on my windows Service : protected override void OnSessionChange(SessionChangeDescription changeDescription) { base.OnSessionChange(changeDescription); switch (changeDescripti...

How can I filter only registered users in drupal?

Hi, I can filter users lie administrators, redaktors, editors, but I cannot filter registered users. Is there a module for it? I cannot find anything! I just wnat to see list of registered users except administrators, editors,corectors ...you know. thanks ...

user’s activity history in iPhone

Hi All, I am new to iphone development. I want to make an app, wherin I want to access following Logs: call log, message log, app usage log, media log, ... Logging data per activity: ex) call log: call direction, phone number, call duration, location, ... Privacy policy (logging policy, using policy of the log data, user consent policy...

How to display Andriod UI Elements about 180 degrees rotated

Hi, I would like to display some UI Elements on a android xml layout file. I try to make an application, where two players can sit at each end of the mobile device, and play against each other. So need to show some Button 180 degrees rotateted. Is this possible? I tried android:gravity, but this did not work. Thanks for you help, Ma...

How can I store a UserID and Name with the LoginControl?

I have a LoginControl that works great, however, I want it to store more information than just being authenticated or not. I would like to store the UserID of the user so when they make changes I can call that UserID and record that they made the changes. Here is my code. Dim db As New DataClassesDataContext Dim User = (From ...

In unix, how can I pipe the output of who into the groups command?

I'm trying to do something like this: Say there are 4 users logged into a UNIX machine, a, b, c, and d. Now, to get the groups these guys belong to, I have to type out : groups a b c d. What I am wondering, is if there is a way to do something like who | groups where I can pipe the users currently logged-in to the groups command, wh...

Tracking user's activity

HI I am intereseted in developing an application, which will track user's activities on phone like 1.calls 2.messages 3.Packet data 4.GPS Usages 5.Media Usage 6.Apps usage Please let me know if there is a way to achieve these. ...

Set umask for a sftp account?

Hi, Could anyone tell me how to set the umaskfor a single sftp user? Worth mentioning is a IBM AIX... Adding umask 002 to that user's .profile didn't work... (the goal is that this user files are accesible to people from the same group). I've seen somehowto's around editing the sftpd configs, though I want to set it for one user only,...

What function returns a Drupal-6-valid password hash?

I want to make a script to insert some 100 users into a Drupal 6 database - their username, mail and password hash. After reading about the PHP class that Drupal 6 uses, I'm not sure I can pull this off. My method was to send every user a mail like "Hello, x! Your new password is y", then insert the hashed "y" into Drupal's user table. ...