Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 15-11-2011, 07:29 PM   #1 (permalink)
Apprentice
 
Join Date: Jul 2009
Posts: 62
Default autofill username/password popup from a php script


HI

we got a internal site which pops up a window to autofill username/password. That page is made in jsp. Now i got a php script to get the data from that site. Problem is i need to bypass the pop window or else it gives me auth errors. I already have username/password with me.
abhijeet2021 is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 15-11-2011, 08:32 PM   #2 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: autofill username/password popup from a php script

Assuming you have username in $username and password in $password variables:

Quote:
<form action="login.php">
Username: <input type="text" value="<?php echo $username ?>" name="username" />
Password: <input type="text" value="<?php echo $password ?>" name="password" />
<input type="submit" />
</form>
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Old 16-11-2011, 03:26 PM   #3 (permalink)
Apprentice
 
Join Date: Jul 2009
Posts: 62
Default

think you got my question wrong. nvm i had to use curl functions to get it done within php. will post the code later
abhijeet2021 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2