If IE browser do this if firefox do that...
Posted: Fri Sep 23, 2005 9:31 am
How do i write an if function that based on the browser that the surfer is using it does something different?
I want a function that does
If Microsoft IE then:
<link>http://user+domain.com@ftp.domain.com</link>
if Firefox then
<link>http://user@domain.com@ftp.domain.com</link>
My FTP server always adds a @domain.com to each user name. I want a link that will link the user into the FTP site and ask for a password for that user. IE and Firefox handle it very differently.
Thanks,
Dan

I want a function that does
If Microsoft IE then:
<link>http://user+domain.com@ftp.domain.com</link>
if Firefox then
<link>http://user@domain.com@ftp.domain.com</link>
My FTP server always adds a @domain.com to each user name. I want a link that will link the user into the FTP site and ask for a password for that user. IE and Firefox handle it very differently.
Thanks,
Dan