login-script

Modal Registration Box using ExpressionEnine and jQuery

I'd like to create a modal style registration/login box for my ExpressionEngine site. What's the best way to handle registration on a modal box? Should I call a registration page using an iframe. Are there security concerns? ...

cURL login problem

Using cURL to scrape a secure (i.e. login) page, and I'm at my wits' end. I managed to successfully scrape two sites with little or no problems, and now I just can't log into this one. cURL gets all the pages I ask it to, but they're all not logged in, which doesn't help. So maybe someone could spot a mistake I've missed? The code is: ...

How do I authenticate into Gmail using Perl?

I've installed this module to gain access and controls within a Gmail inbox. However, when I try to connect through a small Perl script and test the functionality, I get this error message. Error: Could not login with those credentials - could not find final URL Additionally, HTTP error: 200 OK This is an error built within the Gma...

login form running script without refreshing page, but need to remove form once successful

The code below gets the username/password and runs it thru the backend.php script. <?php session_start(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; <script type="text/javascript"> ...

Help a Beginner with a PHP based Login System

I'm a bit embarrassed to say, but I've run into issue with creating a PHP based login system. I'm using a site template to handle the looks of the the login process, so I will spare you the code. Here is my thought process on how to handle the login: Create a simple login.php file. On there will be a form whose action is set to itself...

The best way to store username and password without a database

Hello everyone, I want to build a simple single user login "library" in PHP, but I'm facing the following dilemma: how should I store username and password if I'm not using a database? A simple plain text file could be easily read and then the password could be easily decripted so that's not an option. If I create a php file with just ...

Using Python to add/remove Ubuntu login script items

I have written a Python application and would like to give my users the option of having the app automatically launch itself when the user logs in. It is important that the user is able to toggle this option on/off from within the app itself, rather than having to manually edit login scripts, so this needs to be done from within the Pyth...

Automate Field Entry in outside site

I am attempting to automate the entry of data into form fields. The problem is that this data (user/pass) is not known by the user. I'm not expressly hiding it from them, but they also don't need to know it. This is used to automate logins on several of our outside partner websites, who do not want our agents knowing their passwords. Sa...

Attaching a link to back button in php

Is there any way by which I can attach the back button of my browser to any particular link? Actually I am designing a login page in PHP. After login I want the back button of my browser to open any particular page that I want, how can I do that in PHP? Actually I am not a PHP guy, so my question might sound silly to some. :P ...

HTML stops at a PHP script made to connect to a mysql database. No errors printed.

I'm trying to set up a login script for PHP using the tutorial on this site. The problem is that the site stops when it hits these lines, no error, no text: <?php $conn = mysql_connect('localhost', 'root', 'password') or die('error line7' . mysql_error()); mysql_select_db('mydb', $conn) or die('error line8' . mysql_error()); ?> If I t...

PHP secure logon script - md5 hash is not matching the hash i wrote to the database in a previous script?

I am trying to cobble together a login script in PHP as a learning project. This is the code for my database write when the user registers. Both of these values are written to the database. $this->salt = md5(uniqid()); $this->password = md5($password.$salt); Upon logging in, the following function is fired. function challengeLogin...

Running a process at the Windows 7 Welcome Screen

So here's the scoop: I wrote a tiny C# app a while back that displays the hostname, ip address, imaged date, thaw status (we use DeepFreeze), current domain, and the current date/time, to display on the welcome screen of our Windows 7 lab machines. This was to replace our previous information block, which was set statically at startup ...

How to login to a website programmatically from the server

Using any language (php, java, ruby, python), what's the best way to login to a website programmatically from the server? (for example, login to amazon, jetblue, etc. ) Are there are some frameworks to make this easier? ...

My Project Admin is not working on my Localhost for PHP..

I am working on a osCommerce project, which is accessible on the main server, but when i try to access the admin portion of the project on my LOCALHOST the login page do accepts my login, ideally it should accept my login and redirect me to index,php.. below is the login script i am using.. <?php require('includes/application_top.php'...

Is there a codeigniter auth class which allows face book login?

^ or whats the best auth class for codeigniter? ...

Which is the "better" way of mapping drives in Powershell?

I am trying to optimise a login script to make it as robust and quick to execute as possible. The script logs a number of drives, and I can see I can use either: (New-Object -ComObject WScript.Network).MapNetworkDrive("X:", \\myserver\myshare)) or net use x: \\myserver\myshare To map the drives. Which is the "better" way? The "tr...

prevent user fom logging back in after logging out by hitting back button

I am using a PHP login script that challenges user for username & password. Once authenticated program stores a session value. On logout, session value is set to blanks. Once logged out I want to avoid allowing user hitting the back button a few times and and betting allowed to see screen of data or accidentaly logging himself back in....

In SQL Server 2005, how can I write a query to list all login, their server role, correspond user in all db, db role?

Hi guys, I'm not clear about the security-related catalog views in SQL Server 2005 or 2008. I want to list all logins, their server roles, their correspond users in all database, all database roles in one query. How can I write the query? I know there are some catalog views to use, but I'm not familiar with their relation. These catalo...

Saving login status with JavaScript cookies

Hey guys, I'm working on the login/ucp module of an application and I'd love to add a "remember me" option to remember the currently logged-in user and keep them logged in next time they visit. I know this requires JavaScript cookies, and I've never done anything like this before. Do you have any boilerplate code or tutorials that cou...

Problem using Curl to login to NYTimes.com

UPDATE: Turns out my code works. Browser was caching previous failed response. Thanks for the pointers. I'm building a prototype and one thing I'd like to do is perform a service if the user is a valid member of NYTimes.com by providing their credentials. Using curl, I'm trying to perform a login to the site, and then check for succes...