/    Sign up×
Community /Pin to ProfileBookmark

Please Help, Using External site forms

I have a page and in it is a FRAME. Now, in the frame is a external website page which has a form in it I CAN NOT EDIT.

I am a administrator to user accounts. I want to give employees access to a page without telling them my password. So I wanted to now if I can Auto submit the password, to the form.

I wanted to know if there is a way I can input text in the exteral form. (SO….if i Clicked a button on My part of the frame it will transmit to the frame with the external site form.)

This is the form on the external site:

<form method=”post” name =”form” action=”postme.php”>
Login Name: <input type=”text” value=”” name=”userid”>
Password: <input type=”password” value=”” name=”password”>
<input name=submitbutton type=submit value=”Authenticate”>
</form>

Thank you very much!
Chris

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@JonaNov 17.2003 — [font=arial]You could try it, but you will get an "Access Denied" error, because you cannot execute code cross-server even if you are using frames.

I would suggest creating multiple accounts and passwords for each user, rather than giving out your password.[/font]

[b][J]ona[/b]
Copy linkTweet thisAlerts:
@vbprog40authorNov 18.2003 — Thats the thing I cant create new users. ? Im only a sub-administrator.

Im not to good at Javascript, But, If I was to try the cross-server posting, what would the code look like?

And finally, If this doesn't work, Do you have any other sudjections. (I have to use my user/pass :rolleyes: )

Thank You
Copy linkTweet thisAlerts:
@JonaNov 18.2003 — [font=arial]JavaScript wouldn't work in this situation. You would have to either give out your password or create a script such as PHP and store an encrypted password, then validate that password as a new password for those with which you wish to provide access. So basically, you're going to need to set up some sort of server-side script to process this... But not even that will work cross-server--you will need access to the server that the form is uploaded to.[/font]

[b][J]ona[/b]
×

Success!

Help @vbprog40 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 5.24,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...