Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Áª¶¯ÏÂÀ­Áбí php

 ÕÒµ½Ò»¸öÄÜÓõĠ ·ÖÏí¸øÄã°É
¸ÕÒѾ­ÔÚ±¾»ú×ö¹ýÈÏÕæ²âÊÔ£¬¾ø¶ÔÎÞÎÊÌâ
£¨±í½á¹¹:
id ±íID£¨Î¨Ò»£©
title ¸÷Àà±êÌâ
flid Àà±ðµÄID £¨´óÀàΪ1 ÖÐÀàΪ2 СÀàΪ3£©
pid ÉÏÀàµÄID£¨´óÀà¾Í¸ú´óÀ࣬Ìá½»ÖÐÀàµÄʱºòÕâµØ·½Ð´´óÀàµÄID£¬ÌύСÀàµÄʱºòдÖÐÀàµÄID£© £©
<?php
   $link=mysql_connect("localhost","root","root") or die("Êý¾Ý¿â·þÎñÆ÷Á¬½Ó´íÎó".mysql_error());
   mysql_select_db("sanji",$link) or die("Êý¾Ý¿â·ÃÎÊ´íÎó".mysql_error());
   mysql_query("set character set gb2312");
     mysql_query("set names gb2312");
?>
<html>
<head>
<title>ÏÂÀ­¿òÁ¬¶¯</title>
</head>
<body>
<script language="JavaScript">
<!--
var subcat = new Array();
<?
$i=0;
$sql="select * from sanji where flid=2";
$query=mysql_query($sql,$link);
while($arr=mysql_fetch_array($query))
{
echo "subcat[".$i++."] = new Array('".$arr["pid"]."','".$arr["title"]."','".$arr["id"]."');\n";
}
?>
var subcat2 = new Array();
<?
$i=0;
$sql="select * from sanji where flid=3";
$query=mysql_query($sql,$link);
while($arr=mysql_fetch_array($query))
{
echo "subcat2[".$i++."] = new Array('".$arr["pid"]."','".$arr["title"]."','".$arr["id"]."');\n";
}
?>
function changeselect1(locationid)
{
document.form1.s2.length = 0;
document.form1.s2.options[0] = new Option('==ÇëÑ¡Ôñ==','');
for (i=0; i<subcat.length; i++)
{
if (subcat[i][0] == locationid)
{document.form1.s2.options[document.form1.s2.length] = new Option(subcat[i][1], subcat[i][2]);}
}
}
function changeselect2(locationid)
{
document.form1.s3.length = 0;
document.form1.s3.options[0] = new Option('==ÇëÑ¡Ôñ==','');
for (i=0; i<subcat2.length; i++)
{
if (subcat2[i][0] == locationid)
{document.form1.s3.options[document.form1.s3.length] = new Option(subcat2[i][1], subcat2[i][2]);}
}
}
//-->
</script>
Èý¼¶Áª¶¯£º<BR>
<form name="form1">
<select name="s1" onChange="changeselect1(this.value


Ïà¹ØÎĵµ£º

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë
 ¹¤×÷ÉÏÐèÒª£¬Õâ¸öÎÊÌâÕÛÌÚÁËÒ»Õó×Ó¡£²»¹ýµ±±àÒë³É¹¦Ö®ºó£¬ÐÄÀﻹÊÇÏ൱µÄÐË·Ü£¬¸ÐÊܵ½ÁËÒ»Öֳɾ͸С£Ò²Êǹ¤×÷ÖеÄÒ»ÖÖÀÖȤ¡£
ÏÖÔÚ½«Õû¸ö¹ý³ÌдÏÂÀ´£¬ÒÔ±¸ºóÐøÖ®Ðè¡£
a.shared object
(1) download and install the apache
´ÓÍøÂçÖÐÏÂÔØapache-2.0.48.tar.gz
´æÖÁ/home/tmp
cd /home/ ......

PHP 5.3.1·¢²¼


PHP 5.3.1·¢²¼ÁË£¡´Ë´Î²¢Ã»ÓÐÔö¼Ó¶àÉÙÐÂÌØÐÔ£¬Ö÷ÒªÊǹ¦ÄܵĸĽøºÍbugµÄÐÞ¸´£º
ÐÂÔöÁËÒ»¸ömax_file_uploads²ÎÊý£¬ÓÃÓÚÏÔʾÿ¸öÇëÇóÉÏ´«ÎļþµÄ¸öÊý
ÐÂÔöÁËÔÙ´¦Àí¹ý³ÌÖеÄÍêÕûÐÔ¼ì²â
ÐÞ¸´ÁË´«µÝtempnam()º¯Êýʱsafe_modeÖеÄÎÊÌâ
ÐÞ¸´ÁË´«µÝposix_mkfifo()ʱopen_basedirÖеÄÎÊÌâ
ÐÞ¸´ÁËsafe_mode_include_dirÖеÄÎ ......

PHPץȡÐÂÀ˶ÁÊéƵµÀµÄС˵£¬Éú³Éµç×ÓÊé

//Ï뿴ʲôµç×ÓÊ飬ÏÈÈ¥ÐÂÀ˶ÁÊéËÑË÷£¬È»ºóÌîÈë¶ÔÓ¦µÄ²ÎÊý¼´¿É
//http://vip.book.sina.com.cn/
//µç×ÓÊé²ÎÊý
$array_book[0] = 38884;     //С˵id
$array_book[1] = 22172;    //Õ½ÚÆðʼid
$array_book[2] = 32533;   //Õ½ڽáÊøid
$array_book[3] = 'ÖйúÌØÖÖ²¿¶Ó ......

PHP·ÉÐÅAPI¼°AU3·ÉÐÅUDF

 ÀûÓ÷ÉÐÅAPIʵÏÖ¹«Ë¾ÄÚ²¿·¢ËͶÌÐÅ¿ÉÒÔʡϲ»ÉÙÇ®.ÍøÉÏÒ²Óв»ÉÙ·ÉÐÅAPI,µ«¸Ð¾õ²»¿É¿¿,
»¹ÊÇ×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥µÄAPI.µ÷ÓõØÖ·ÈçÏÂ,²»»á¼Ç¼·ÉÐÅÃÜÂë.
ϲ»¶µÄÅóÓÑ¿ÉÒÔÊÔÊÔ,½áºÏAU3ÓÖдÁ˸öUDF.ÕâÏ·¢¶ÌÐÅ·½±ãºÜ¶àÁË.
http://lab.l4ever.cn/fetion/api/?from=·¢ËÍÊÖ»ú&pw=·ÉÐÅÃÜÂë&to=½ÓÊÕºÅÂë&msg=¶ÌÐÅÄÚÈ ......

PHP ·¢ËÍÓʼþ

 
PHP ·¢ËÍÓʼþ
×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ÐÞ¸Ä:2007-06-17 ä¯ÀÀ:14208 ::  :: 
 PHP Sessions
PHP allows you to send e-mails directly from a script.
PHPÔÊÐíÄãͨ¹ý½Å±¾Ö±½Ó·¢ËÍe-mail¡£
The PHP mail() Function
PHP mail()º¯Êý
The PHP m ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ