Hi
I have this small script:
<script language="JavaScript"> location.href = "ftp://<?=$username?>:<?=$password?>@myIPaddress" </script>
works fine with firefox, but not with ie
any ideas?
Thanks, Assaf
(this has nothing to do with PHP) anyway, IE no longer supports passing username/password in URLs.
Hi Assaf,
What goes wrong?
Look at the HTML source ... has the contents of $username and $password actually printed as expected?
Paul.
Hi devinemke,
Just saw your post.
I just tried ...
[url]ftp://username:password@ipaddress[/url] on IE v6.0 and it worked fine!
Yes I know, but when you use it with javascript - it doesnt work...
Originally posted by paulnaj I just tried ... [url]ftp://username:password@ipaddress[/url] on IE v6.0 and it worked fine!
yes it does. i remember reading somewhere that this was taken out of IE some version ago. it seems to work for FTP authentication but not for HTTP authentication.