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

PHP submitÎÊÌ⣨¼±£¬ÔÚÏߵȣ© - PHP / »ù´¡±à³Ì

<?php

@session_start(); 

require_once './module/t_doctor.inc';
$t_doctor = new t_doctor();
if(isset($Submit)){

  $sql="select * from t_doctor WHERE docname='".$username."' AND password='".$password."' ";
$userInfo = $t_doctor->_execute($sql, "getRow");
if(!is_array($userInfo)){
AlertMsg("Óû§Ãû»òÃÜÂë´íÎó!");
GotoWeb("login.php");
die();
}else{
$_SESSION['s_userid'] = $userInfo['id'];
$_SESSION['s_password'] = $userInfo['password'];
$_SESSION['s_name'] = $userInfo['name'];
$_SESSION['s_docname'] = $userInfo['docname'];
$_SESSION['s_docid'] = $userInfo['id'];
$_SESSION['s_kefuid'] = $userInfo['id'];
if($userInfo['type'] == "")
$_SESSION['s_type'] = "D"; //±íʾҽÉúÐÅÏ¢
  else
$_SESSION['s_type'] = $userInfo['type'];
AlertMsg("µÇ½³É¹¦!");
GotoWeb("./index.php");
die();
}

}

?>
<!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="Conte


Ïà¹ØÎÊ´ð£º

phpÎļþÄÜ·ñ±»±ðÈ˵ÁÈ¡?? - PHP / »ù´¡±à³Ì

ÎÒ¸ÕѧϰphpÇëÎÊ£¬Èç¹ûÎÒ°ÑphpÎļþÉÏ´«ÖÁ·þÎñÆ÷ºó£¬ÀýÈçhttp://www.****.com/cast.phpÕâ¸öÎļþ»á²»»á±»±ðÈËÏÂÔØ»ò¸´ÖÆ°¢£¿
¿ÉÒÔ±»ÏÂÔØ£¬Ò²¿ÉÒÔ²»±»ÏÂÔØ£¬¿´web·þÎñÆ÷¶Ô¸ÃÎļþȨÏÞµÄÅäÖÃ

¿´Äã¶ÔÎļþȨÏÞµÄÉèÖÃ
......

phpÍøÕ¾·¢²¼ÎÊÌ⣡ - PHP / »ù´¡±à³Ì

²ËÄñÇó¾È£¡£¡
  ÏÖÔÚÎÒÊÖÍ·ÓÐÒ»¸öphp+oracleµÄÍøÕ¾¡£¡£·þÎñÆ÷ÊÇlinuxϵͳ
  
  Çë¸÷λ¸æËßÎÒÈçºÎ·¢²¼¡£¡£¡£ÎÒÊÇÐÂÊÖ¡£Ð»Ð»ÁË£¡£¡
°²×°Ò»¸öapache£¬°ÑphpÎļþ·Åµ½apacheµÄ·¢²¼Ä¿Â¼Ï£¬ ......

phpÁª½Ó¶à¸öÊý¾Ý¿âµÄÎÊÌâ

mssql_select_db("f1",mssql_connect("localhost","sa","sa"));
mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......

php session ¶ªÊ§ - PHP / »ù´¡±à³Ì

ÔÚfirefoxä¯ÀÀÆ÷ÏÂÕý³£µÇ½£¬µ«ÔÚIE ä¯ÀÀÆ÷ÏÂÎÞ·¨µÇ½£¬Ã¿´Î¶¼»áÖØÐÂÉú³ÉÒ»¸ösession,Ô­À´µÄÄÚÈݻᶪʧ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ôõô»ØÊÂ......
¾ßÌåÇé¿ö£¿²Â²â¿ÉÄÜÊÇÄã±¾»úIEµÄcookie±»½ûÓÃÁË°É£¬¿ÉÒÔ¿´¿´

cookie Æ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ