/    Sign up×
Community /Pin to ProfileBookmark

help! – form info help (i think)

i am trying to setup a simple page that will basically work as login infterface for an FTP server. in detail: ive got a html page that has a form that requests for a username and password. i want to be able to pass the entered username and password to a link, so it will fall in the approriate format for IE viewing ([url]http://username:[email protected][/url]).

my question is, how do i pass the entered username and password to the url/ftp site in the format described above?
can this be achieved with only html?

thanks in advance!

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJun 13.2003 — Submit the form and have the action attribute like this

action="http://username:[email protected]"
Copy linkTweet thisAlerts:
@unknown_deviceauthorJun 14.2003 — [i]Originally posted by Khalid Ali [/i]

[B]Submit the form and have the action attribute like this



action="http://username:[email protected]" [/B]
[/QUOTE]


okay, but what FORM METHOD do i use? is it FORM METHOD=POST or what?

also, how do i get the entered text to place the "username" and "password" into the url?

for instance, if i enter the following:

username: bob

password: lucky

how do i get the "bob" and "lucky" to pass to a url of:

http://bob:[email protected]

?
×

Success!

Help @unknown_device 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.28,
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,
)...