【正文】
件傳遞的情況下,才可以進行上傳,否則必須返回確保有文件被選擇有以上傳,然后還要繼續(xù)判斷文件的大小必須滿足規(guī)定的最小值和最大值之間。 就表示該對象的文件大小屬性。 a href=onclick=(1)返回 /a則表示返回瀏覽器的上一歷史記錄,也就是返回上一頁的操作。在化境無組件類中使用“ filename”屬性獲得文件名稱。定義標(biāo)簽 Forum_upload=JPG|PNG|GIF|DOC|TXT|CHM|PDF|MP3|WMA|WMV|ZIP|RAR Forumupload=split (Forum_upload,|) For i=0 to ubound (Forumupload) If f_type=Forumupload (i) Then uploadsuc=true 39。格式不吻合時標(biāo)簽 End If Next If uploadsuc=false Then 39。f_folderamp。f_type))=False Then If ( (/amp。f_folder) (/amp。/amp。f_folderamp。f_type) End If End If f_ftn=/amp。/amp。若沒有則可立即創(chuàng)建該文件夾( ),并將最終的保存文件夾路徑賦值給變量以方便文件保存之用( f_ftn=”/”amp。”/”amp。 5.定義文件名并上傳 為了防止上傳文件可能重名而引起原有文件被覆蓋,則需要對上傳的文件進行重命名,一般是添加隨機數(shù)來標(biāo)識。/amp。_amp?!盻”amp。 6.保存上傳文件至數(shù)據(jù)庫記錄 在文件被上傳到服務(wù)器端后,需要將該文件的路徑保存并應(yīng)用,否則文件的上傳就沒有意義了。amp。 39。 amp。 39。教師課件 39。 課件搜索功能模塊設(shè)計 本設(shè)計中,將查詢頁面和查詢結(jié)果顯示頁面合為一個頁面,查詢課件的頁面設(shè)計如 圖 24所示。實現(xiàn)此頁面的步驟如下: (1)單擊“綁定”面板中左上角的加號( +)按鈕,在彈出的菜單中選擇“記 錄集(查詢)”命令,在彈出的“記錄集”對話框中單擊“高級”按鈕切換到“記錄集”對話框的高級模式。 圖 23 查詢課件頁面( ) (2)切換到“ ”代碼視圖,在代碼區(qū)的上面添加以下代碼: % k_name=trim ( (k_name)) k_power=teacher If (k_name=) then Flag=true Else Flag=false End if strsql= If k_name then StrSql=k_power like ?% amp。%39。 and k_name like 39。k_nameamp。 End if % (3)在“代碼”視圖中找到記錄集相關(guān)的代碼段,修改此代碼段如下: % Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = () = MM_conn_STRING If flag=false then If Trim (StrSql) then = SELECT * FROM kt where amp。 end and % /div % () Set Recordset1 = Nothing % % end if % 密碼驗證功能模塊 按照下圖 25所示設(shè)計該頁面 : 圖 24 密碼驗證頁面設(shè)計 切換到代碼視圖 ,加入如下代碼 : % dim URL URL=Trim ( (t_k_pwd)) Kpwd=trim ( (kpwd)) If (kpwd=) then Flag=true Else Flag=false End if strsql= If kpwd then If URL=kpwd then Strsql=URL End if End if % 這段代碼表示從數(shù)據(jù)庫讀取該教師設(shè)置的課件密碼 ,然后和表單上獲取的數(shù)據(jù)進行比較,如果相同,則使 strsql等于課件密碼。然后切換到代碼視圖,在“ 密碼正確 ,請點擊進入 課件 !”文本字樣的上方添加如下代碼; % if flag=false then % % if trim (strsql) then % % If Not or Not Then % form name=form2 method=post action= strong 密碼正確 , 請點擊 A HREF=?%= (MM_keepBoth) %進入課件 /A!/strong /form % End If 39。 5 系統(tǒng)測試 系統(tǒng)經(jīng)測試,可以正常運行。登錄用戶分為教師和學(xué)生兩類,教師可上傳課件并對課件進行刪除管理,學(xué)生登錄后,根據(jù)教師提供的課件密碼,可對該教師的課件進行下載,還可以上傳作業(yè)。系統(tǒng)提供管理員登陸,管理員可對注冊進行管理,可以刪除用戶、修改用戶資料、刪除課件等。由于以前很少做相關(guān)項目的開發(fā),所以比較生疏,都是一邊學(xué)習(xí)一邊開發(fā)設(shè)計,這就使系統(tǒng)存在著不足,系統(tǒng)只能實現(xiàn)課件管理的基本功能,即課件的上傳與下載,用戶登錄與注冊等基本功能。通過本次設(shè)計, 使我對 ASP技術(shù)更加熟悉,能熟練的使用 Dream weaver開發(fā)平臺開發(fā)設(shè)計軟件,對計算機知識有了更深入的學(xué)習(xí)與了解,對以后的學(xué)習(xí)和工作有很好的促進作用。 [2]戴一波 .Dremweaver8+ASP動態(tài)網(wǎng)站開發(fā) [M].北京 : 清華大學(xué)出版社 ,。 [4]王松勁 .DreamweaverMX 2021完美網(wǎng)頁設(shè)計 [M].北京 :中國青年出版社 ,。 [6]何嘉 .計算機應(yīng)用技術(shù)基礎(chǔ) [M].四川 :四川大學(xué)出版社 ,。在此向他表示我最衷心的感謝! 在論文完成過程中,本人還得到了索望老師和葉麗娟同學(xué)的熱心幫助,本人向他們表示深深的謝意! 最后向在百忙之中評審本文 的各位專家、老師表示衷心的感謝! 作者簡介: 姓 名:譚榮華 性別:男 出生年月: 1985 年 1月 1日 民族: 漢族 Email: 聲 明 本論文的工作是 2021 年 2 月至 2021 年 6 月在成都信息工程學(xué)院網(wǎng)絡(luò)工程系完成的。除非另有說明,本文的工作是原始性工作。 ( 2)學(xué)??梢圆捎糜坝 ⒖s印或其他復(fù)制方式保存學(xué)位論文。 ( 4)學(xué)??稍试S學(xué)位論文被查閱或借閱。 除非另有科研 合同和其他法律文書的制約,本論文的科研成果屬于成都信息工程學(xué)院。s speech next morning when he discovered Spitz missing and Buck covered with wounds. He drew him to the fire and by its light pointed them out. Dat Spitz fight like hell, said Perrault, as he surveyed the gaping rips and cuts. An39。s answer. And now we make good time. No more Spitz, no more trouble, sure. While Perrault packed the camp outfit and loaded the sled, the dogdriver proceeded to harness the dogs. Buck trotted up to the place Spitz would have occupied as leader。way, Hook! he cried, but Buck refused to budge. He took Buc k by the scruff of the neck, and though the dog growled threateningly, dragged him to one side and replaced Solle ks. T he old dog did not like it, and showed plainly that he was afraid of Buc k. Francois was obdurate, but when he turned his back, Buck again displaced Solleks, who was not at all unwilling to go. Francois was angry. Now, by Gar, I fix you! he cried, ing back with a heavy club in his hand. Buc k remembered the man in the red sweater, and retreated slow ly。 and while he circled he watched the club so as to dodge it if thrown by Francois, for he was bee wise in the way of clubs. The driver went about his work, and he called to Buc k when he was ready to put him in his old place in front of Dave. Buck re treated two or three steps. Francois followed him up, whereupon he again retreated. After some time of this, Francois threw down the club, thinking that Buc k feared a thrashing. But Buc k was in open revolt. He wanted, not to escape a clubbing, but to have the leadership. It was his by right. He had earned it, and he would not be content with less. Perrault took a hand. Between them they ran him about for the better part of an hour. They threw clubs at him. He dodged. The y cursed him, and his fathers and mothers before him, and all his seed to e after him down to the remotest generation, and every hair on his body and drop of blood in his veins。s traces and put him back in his old place. The team stood harnessed to the sled in an unbroken line, ready for the trail. T here was no place for Buc k save at the front. Once more Francois called, and once more Buck laughed and kept away. Throw down de club, Perrault manded. Francois plied, w hereupon Buck trotted in, laughing tr iumphantly, and swung around into position at the head of the team. His traces were fastened, the sled broken out, and w ith both men running they dashed out on to the river trail. Highly as the dogdriver had forevalued Buc k, w ith his two devils, he found, while the day was yet young, that he had undervalued. At a bound Buc k took up the duties of leadership。s heels, and w ho never put an ounce more of his weight against the breastband than he was pelled to do, was swiftly and repeatedly shaken for loaf