Windows 2000+Apache+MySql+PHP3+PHP4+PERL安裝使用小結 www。1000script.com 2002-9-3 1000script專業指令碼 Windows 2000+Apache+MySql+PHP3+PHP4+PERL安裝使用小結(一) 這裡一定有許多和我一樣喜歡嘗試新鮮事物的朋友,尤其是當聽說 某某軟體有了新的版本時一定也會迫不及待的去下載一份回來用用再說。 這裡我想和大家探討一下以下流行軟體的應用,意在拋磚引玉。 OS : Microsoft
學習目的:學會添加刪除修改資料mysql_query($exec);單這個語句就可以執行所有的操作了,不同的就是$exec這個sql語句添加:$exec="insert into tablename (item1,item2) values ('".$_POST['item1']."',".$_POST['item1'].")";刪除:$exec="delete from tablename where...";修改:$exec="update tablename set item1='".$_
PHP包含支援Expat 解析器的可選XML擴充。PHP中的XML相關函數可以讓你建立一個解析器來處理有效XML文檔。如果你所使用的Apache版本為1.3.7後的版本,則不用添加任何函數庫。所需要做的只是使用--with-xml配置PHP。在PHP手冊中有好幾個建立基於PHP的XML解析器很好的例子。此外,New Riders的Web Application Development with PHP 4.0對在PHP中使用XML有很好的概括,該書作者之一已在Zend.com 上撰寫了大量指南。
PHP最初是被稱作Personal Home Page,後來隨著PHP成為一種非常流行的指令碼語言,名稱也隨之改變了,叫做Professional HyperText PreProcessor。以PHP4.2為例支援它的WEB伺服器有:Apache, Microsoft Internet information Sereve, Microsoft Personal web Server,AOLserver,Netscape Enterprise 等等。
/* Function Written by Nelson Neoh @3/2004. For those who wants to utilize this code, please do not remove this remark. If you have done any enhancement to this code, please post the copy at http://www.dev-club.com PHP board. Thank you.Function
$key = "This is supposed to be a secret key !!!"; function keyED($txt,$encrypt_key) { $encrypt_key = md5($encrypt_key); $ctr=0; $tmp = ""; for ($i=0;$i{ if ($ctr==strlen($encrypt_key)) $ctr=0; $tmp.= substr($txt,$i,1) ^
自己動手做一個SQL解譯器在一些小型的應用中,完全沒有必要使用大型資料庫軟體。自己做一個SQL解譯器就能用資料庫的方式來管理了。這個解譯器,能解釋常用的SQL命令。你可以自行添加其他功能。class DB_text { var $conn; var $classname = "db_text"; var $database; function on_create() { } function connect($database_name) { $this->database =
Paging Test// How to split the result into pages, like 'limits' in MySQL?// ===========================================================// Tutorial by Neil Craig (neilc@netactive.co.za)// Date: 2001-06-05// With this example, I will explain paging of