/    Sign up×
Community /Pin to ProfileBookmark

Help me PLEASE!!

Here is my code:
<td><input type=”text” name=”email” id=”email” value=”” size=”23″ style=”width:165px;”></td>
<td><input type=”password” name=”password” id=”Pass” size=”23″ style=”width:165px;”></td>
<input type=”image” src=”imageshack.com/upload/3943853343″ id=”loginbutton” name=”loginbutton” alt=”Log In” onClick=”return doSubmit();” /></td>

When i hit subit i have:
<script language=”Javascript” type=”text/javascript”>
<!–
function doSubmit() {

}
//–>
</script>

IM STUCK!
I need code that takes the username and pass word so when i hit subit it will log it in a txt document. Any help please!

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@Banana_AnandaJul 23.2007 — From what I understand, I think you'll need a server-side script for this.
Copy linkTweet thisAlerts:
@ChikaraJul 23.2007 — A few problems here.

1.) You can't write to a file with javascript.

2.) You can do this using ASP and PHP but it write the file to the server.

I don't think you really want to do this. If you are attempting to track usernames and passwords there are much more effective ways of doing this.

What are you trying to do with this script anyways?
Copy linkTweet thisAlerts:
@NeedToScriptauthorJul 23.2007 — Well could you tell my how to write to a txt in php using the form i already posted?
Copy linkTweet thisAlerts:
@JMRKERJul 23.2007 — Might be more appropriate to ask that question on the PHP forum.
×

Success!

Help @NeedToScript spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...