I have a folder in the webroot at http://somesite.com/folder which I'm password protecting with the directory password protection feature in cpanel which I guess uses some form of htacccess. So it's not protected with a normal login system that's connected to a database that I can check against.
Once a correct username and password is ...
This question is related to a previous question I asked, but it's a different.
I'm using htaccess to control login to http://somesite.com/folder.
Once logged in, I have php code in folder/index.php to check the username and password used to login: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']. I log that info to a database.
...
I'm trying to use mod_authn_dbd to password protect a directory.
I used the code from their apache help page, but it's chocking on the DBDriver line
# mod_dbd configuration
DBDriver mysql //modified
DBDParams "dbname=mydbname user=myuser password=mypass" //modified
/path/to/folder/.htaccess: Invalid command 'DBDriver', perhaps missp...
I am making IRC chat client and I am wanting to grab the user list or simply the user count, how can I go about doing this. This is the method I'm using to connect to the IRC:
Private Sub IRCConnect()
Dim stream As NetworkStream
Dim irc As TcpClient
Dim reader As StreamReader
Try
irc = New Tcp...
added user with perl-ldap in Open Directory but password: Crypt Password not Open Directory
some weird things happen
1) those user fall into
Workgroup Manager > Viewing directory: Search Policy.
but I expecting to see them in
Workgroup Manager > Viewing directory: /LDAPv3/127.0.0.1
2) Account Summary indicated those user
Password: C...
I have a user control called "MyLabel". When combined with a tagPrefix in my web.config, I would add the source code to an aspx page as follows:
<sr:MyLabel ID="lblCopyright" runat="server" ResourceKey="Copyright" />
Now, instead of entering this in the aspx, I would like to keep this code string in the database, and in the codebehin...
Currently we deploy one of our applications to every individual user's PC. However, all our users have access to the same intranet. I'm wondering what is stopping us from just putting the binaries on a network file share and letting multiple users run it from there.
So my question is: Are there any gotchas with multiple users accessing...
We are trying to develop a system where a person creates an account where the username is the person's email address. The problem is, the person can have his own unique account (where he is the admin), plus be a "user" of someone else's account.
The "admin" of an account would be able to assign a person's email address to their account...
We have a service where we literally give away free money.
Naturally said service is ripe for abuse. To defend against this we do the following:
log ip address
use unique email addresses (only 1 acct/email addy)
collect more info like st. address, phone number, etc.
use signup captcha
BHOs (I've seen poker rooms use these)
Now, let'...
I am trying to create a system which would be able to find users with similar favourite movies/books/interests/etc., much like neighbours on last.fm. Users sharing the most mutual interests would have the highest match and would be displayed in user profiles (5 best matches or so).
Is there any reasonably fast way to do this? The obviou...
Is there anyway to implement this.If admin block a user then session of that current user should be expired in ASP.NET
...
I've got a permissions/group based setup that I'm trying to merge results on. For example, a user might be associated with four groups:
| username | passwd | email | groups |
| test_user | 9agb9 | [email protected] | g1, g2, g3, g4 |
grouping table:
| group | perm1 | perm2 | perm3 | perm4 | perm5 | perm5 | perm7 |
| g1 ...
the goal is to render a comment form with an extra recaptcha field if the user is not authenticated.
I'd like to extend the comments framework, making the contrib CommentForm dynamic, so the constructor checks to see if the context user is authenticated.
But it doesn't seem like I can get the context user in the form without passing it...
Hey:
i am very new to windows form UI development. now i am just doing all the drop and drop for UI design. but the problem is that all my UI elements are fixed size. when i maximum the window. the window gets bigger but all the UI elements in the window stays in the same size, and it looks awkward. is there a property could be set so t...
Hi friends,
I have created a site-admin role for my client to edit page contents.
Are users under this site-admin included to $is_admin condition? I tested and as I see it is not unless I miss something. So, what is the equality of $is_admin for my custom created role users?
Appreciate helps!! Thanks a lot
...
Is there any way to parse the HTTP_USER_AGENT to get the current user language ?
...
Below is my current script:
<script type="text/javascript">
if (navigator.userAgent.indexOf('BlackBerry')!= -1){
document.write('<link rel="stylesheet" href="/m/css/mobile.css" type="text/css" />');
} else if (navigator.userAgent.indexOf('iPhone')!= -1) {
document.write('<link rel="stylesheet" href="/m/css/smartmobile.css" type=...
Hello,
First I am not a joomla developer. My friend has a web site created with joomla 1.5. In webroot there are some joomla files. I created a directory in webroot "mydirectory" and i have an index file in this directory. I try to access joomla's user info in this page i grab the user object but it doesn't work.
//i included joomla co...
Hi guys,
So I've developed this Access 2007 application with about 2 forms, a lot of VBA code and a bunch of tables.
Now the business wants to run this off a network drive (call it G:\ for example). My current solution (which I've already implemented is have a table similar to:
__________________
|Setting | Value |
=================...
In order to filter the available options on one section of my web application, I would like to get the user object at the form object. I found some information about possible ways to do that (using sfContext, for instance) but some users discouraged this approach.
What is a possible manner to achieve my purpose?
...