php ¹ØÓÚsession_startµÄÎÊÌâ - PHP / »ù´¡±à³Ì
Çë½Ì¸ßÊÖ°ï棬session_start£¨£©·ÅÔÚÍⲿµÄÎļþÓà require »ò include °üº¬½øÀ´£¬ÇëÎÊÕâÑù×öºÏÀíÂ𣿣¿´úÂëÔËÐÐÊÇÕý³£µÄ£¬ÕâÑù×öºÏÀíÂ𣿣¿Çë¸ßÊÖÖ¸µã¡£¡£¡£¡£ лл····
require »ò includeÒý½øµÄ ¾ÍÏ൱ÓÚÔÚÎļþÖÐÖ±½Óд Â¥Ö÷¾õµÃÓÐʲô²»Í×
ûʲôºÎ²»ºÏÀíµÄ
ÕâÊÇÕýÈ·µÄ
Õý³£°¡£¬µ«Òª±£Ö¤£¬session_start();Ç°Ãæ×îºÃ²»ÒªÓвÙ×÷£¬ÒÔÃâÓдíÎóÊä³ö¡£¡£¡£¡£
·¹ýÄ÷Ö
ºÏÀí,ÎÒÒ²¾³£ÕâÑù×ÓŪ
這ÊÇ¿ÉÒÔµÄ
ÿÌì»ØÌû¼´¿É»ñµÃ10·Ö¿ÉÓ÷֣¡Ð¡¼¼ÇÉ
¿ÉÒÔ £¬Ã»Ê²Ã´ÎÊÌâ
Ä㻹¿ÉÒÔд³ÉÒ»¸öº¯Êý£¬ºÇºÇ
Ŷ£¬ºÇºÇ¡£¡£ºÃµÄ£¬ÎÒÃ÷°×ÁË£¬Ð»Ð»¸÷λʦÐÖµÄÖ¸µã¡£¡£¡£
Ñø³ÉÒ»¸ö»ØÌûµÄºÃÏ°¹ß¡£
СµÜ·¹ý¶øÒÑ
Ïà¹ØÎÊ´ð£º
mssql_select_db("f1",mssql_connect("localhost","sa","sa"));
mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......
ÈçÌ⣬Ôõôд¸öheadÍ·²¿ ÈÃÒ³Ã滺´æ1ÐÇÆÚ¡£
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Äã°ÑÀïÃæµÄʱ¼ä£¬¸Ä³Éµ±Ç°Ê±¼ä¼ÓÉÏÒ»¸öÐÇÆÚ
¼ÇµÃҪת»»³Égmtʱ¼ä
ÎÒÕâÑùдµÄ ²»ÖªµÀÐв»ÐС£
Ò»¸öÐ ......
PHPÖÐ ÉùÃ÷±äÁ¿µÄʱºòÒ»¸ö$¸úÁ½¸ö$µÄÇø±ð
±ÈÈç˵
$var="333"; ±íʾ±äÁ¿ÃûΪ$varµÄ±äÁ¿µÄֵΪ333
$var="myvar";$$var="333";±íʾ±äÁ¿ÃûΪ$myvarµÄ±äÁ¿µÄֵΪ333
ÕâÑù˵Çå³þÁËÂð£¿
......
ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´
ÎÒÓõĵÄÊÇiis smtp
<?php
$to = 'xueyuxia1988@sohu.com';
$subject = 'the subject';
$message = 'hello';
$ ......