23、FTP页面登录

23FTP页面登录

<html>

 

<head>

<title>网页特效---FTP页面登录</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

 

<script janguage="javascript">

 

<!--

 

// Title: JavaScript - FTP log-on script

 

 

 

function goFtpSite() {

 

document.location.href = "ftp://" + document.ftp.login.value + ":" + document.ftp.password.value + "@" + document.ftp.url.value;

 

}

 

 

 

//-->

 

</script>

</head>

 

<body>

 

<table cellspacing="1" width="500" align="center">

<tbody>

  <tr>

    <td align="center"><strong style="font-weight: 400"><font face="隶书" color="#FF0000" size="5">FTP页面登录</font></strong></td>

  </tr>

  <tr>

    <td align="center" valign="middle">

      <p align="center"> </p>

      <p align="center"> </td>

  </tr>

</tbody>

</table>

 

<table border="0" cellpadding="0" cellspacing="0" width="500" align="center">

  <tr>

    <td align="left" valign="top" width="15%"> </td>

    <td align="left" bgcolor="#0099FF" valign="top" width="85%">

    <font face="楷体_GB2312"

    size="3" color="#FFFF00">    </font>

    <font face="宋体" style="font-size: 9pt">

    如果读者有自己的个人主页,或上传过文件,想必对

    FTP登录软件不会陌生吧!其实FTP登录还可以用在其他很多地方,象早期的一些新闻组、论坛等都需要FTP登录,也许你认为实现FTP登录功能是需要复杂编程技术的,其实很简单,爪哇脚本程序的强大功能,可以帮助你轻松实现,放一个在你的网页中,可以使你的网页顿显专业水准。</font></td>

  </tr>

  <tr>

    <td align="left" width="15%" valign="top"> </td>

    <td align="left" bgcolor="#FFFFFF" valign="top" width="85%"><form name="ftp">

      <table border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" align="center">

        <tr>

          <td><table border="0" cellspacing="0" cellpadding="5" align="center">

            <tr bgcolor="#bbbbbb">

              <td width="75" align="right"><font face="arial,helvetica" size="-1">Ftp:// </font></td>

              <td><font face="arial,helvetica" size="-1"><input type="text" size="15" name="url"> </font></td>

            </tr>

            <tr bgcolor="#dddddd">

              <td align="right"><font face="arial,helvetica" size="-1">Login: </font></td>

              <td><font face="arial,helvetica" size="-1"><input type="text" size="15" name="login"

              maxlength="20"> </font></td>

            </tr>

            <tr bgcolor="#bbbbbb">

              <td align="right"><font face="arial,helvetica" size="-1">Password: </font></td>

              <td><font face="arial,helvetica" size="-1"><input type="password" size="15"

              name="password" maxlength="20"> </font></td>

            </tr>

            <tr bgcolor="#ffffff">

              <td colspan="2" align="center"><font face="arial,helvetica" size="-2"><input type="button"

              onclick="goFtpSite();" value="LOG-IN"> <input type="reset" value="CLEAR"> </font></td>

            </tr>

          </table>

          </td>

        </tr>

      </table>

    </form>

    </td>

  </tr>

</table>

 

</body>

 

Write a comment

Comments: 0