Time of Update: 2015-02-16
標籤:php lamp 檔案管理工具 ajax jquery 本節將討論使用jQuery提交AJAX請求的基本方法,並完成顯示首檔案夾的基本方法。同時,本節也將討論使用圖片連結提交請求的基本方法。jQuery是一套強大的JS庫,將複雜的JS操作封裝成簡潔的語句,並提供對AJAX的支援。通過 jQuery AJAX
Time of Update: 2015-02-16
標籤:php lamp 檔案管理工具 session jquery 書接上回,在首檔案夾(HOME)表徵圖的旁邊是回到上級檔案夾(UP)和重新整理當前檔案夾(REFRESH)兩個表徵圖,對應的圖片連結為: <li><a
Time of Update: 2015-02-23
標籤: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <title>jQuery動畫特效</title> 6 <script
Time of Update: 2015-02-16
標籤:傳值 在MVC中,傳值是一個很重要的內容之一。前面的部落格中,我們瞭解了如何從Controller中向View傳遞單個的變數值以及從View向Controller的反向傳遞。 這次我們來看看,如何把一個List集合進行傳遞。
Time of Update: 2015-02-16
標籤:下面是前端js代碼:<html><head> <meta http-equiv="Content-Type" content="text/html; charset=GB18030"> <title>File upload</title></head><body><!-- //
Time of Update: 2015-02-16
標籤:Apache的 mod_rewrite是比較強大的,在進行網站建設時,可以通過這個模組來實現偽靜態。 主要步驟如下: 1.檢測Apache是否開啟mod_rewrite功能 可以通過php提供的phpinfo()函數查看環境配置,找到“Loaded
Time of Update: 2015-02-16
標籤:public class FastJsonTest1 { /** * 數組轉json格式字串 */ public void array2Json(){ String[] arr = {"bill","green","maks","jim"}; String jsonText = JSON.toJSONString(arr,
Time of Update: 2015-02-17
標籤:使用使用jQuery的Load方法可以載入靜態頁面,本篇就在ASP.NET MVC下實現。 Model先行: public class Article { public int Id { get; set; } public string Url { get; set; } } 在HomeController中的Index方法,向視圖傳遞一個Article強型別。 public class
Time of Update: 2015-02-21
標籤:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;
Time of Update: 2015-02-21
標籤:一、hibernate 過濾器 1、在持久化對應檔中配置過濾器,代碼如下: <?xml version="1.0"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"><hibernate-mapping
Time of Update: 2015-02-16
標籤:原文:http://www.sitepoint.com/jquery-infinite-scrolling-demos/Infinite Scrolling Demo 5Usage – HTML<ul class="items"> <li>content</li> <li>content</li> ...</ul><div id="lastPostsLoader"></div&
Time of Update: 2015-02-23
file標籤之儲存檔案,file標籤儲存用法:<file value=內容 或 bag=bagid key=keyname[size=大小] [enc=字元集]
Time of Update: 2015-02-17
項目開發經驗分享—匯出Excel,項目開發經驗分享 上一篇部落格我們分享了資料上傳經驗《匯入Excel》。今天我們來分享一下資料下載經驗:匯出Excel!引言 作為一個資訊管理類系統,我們不僅需要錄入很多資料,同時我們也會收集儲存很多資料,並通過條件檢索對得到的資料進行整理和分析,這時候我們就可以匯出這些資料,如所示:
Time of Update: 2015-02-17
Bootstrap架構-快速上手,bootstrap快速上手 什麼是 Bootstrap?Bootstrap 是一個用於快速開發 Web 應用程式和網站的前端架構。由 Twitter 的 Mark Otto 和 Jacob Thornton
Time of Update: 2015-02-25
棧溢出攻擊系列:shellcode在linux x86 64位攻擊獲得root許可權(七)利用寄存器攻擊,shellcoderoot在(六)中我們提到了使用固定棧地址的攻擊方式,但在實際中,系統預設的參數不會為0cat /proc/sys/kernel/randomize_va_space那麼在系列中的六失去攻擊的意義,但是任何事情都會有漏洞,我們來講另一個基於寄存器的攻擊漏洞代碼vulnerableret2reg.c#include <stdio.h>#include
Time of Update: 2015-02-25
HDU1394 Minimum Inversion Number 線段樹+數學,hdu1394inversion Problem DescriptionThe inversion number of a given number sequence a1, a2, …, an is the number of pairs (ai, aj) that satisfy i < j and ai > aj.For a given sequence of
Time of Update: 2015-02-25
hdu2955---Robberies(機率做01背包),我的世界背包怎麼做 Problem Description The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to work
Time of Update: 2015-02-23
類載入器的深入講解與應用,類載入深入講解第8單元:類載入器的深入講解與應用第8單元:類載入器的深入講解與應用第8單元:類載入器的深入講解與應用44.類載入器及其委託機制的深入分析package java_5;import java.io.ByteArrayOutputStream;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import
Time of Update: 2015-02-23
poj 3420 Quad Tiling 狀壓dp,pojtiling題意:給4*n(n<10^9)的大矩形,問有多少種用1*2的小矩形填滿的方案。分析:又是鋪瓷磚,不過這次n太大,不能再一個一個格的dp了。可以先算出相鄰兩行的狀態轉移,再用矩陣來加速n行的狀態轉移。代碼://poj 3420//sep9#include <iostream>using namespace std;const int maxN=16;struct MATRIX{__int64 m[
Time of Update: 2015-02-17
權重隨機演算法,演算法權重隨機演算法在抽獎,資源調度等系統中應用還是比較廣泛的,一個簡單的按照權重來隨機的實現,權重為幾個隨機對象(分類)的命中的比例,權重設定越高命中越容易,之和可以不等於100; 簡單實現代碼如下: import java.util.ArrayList;import java.util.List;import java.util.Random;public class WeightRandom {static List<WeightCategory&