|
 |
|
php 4 ข้อใหญ่ครับผม php 4 ข้อใหญ่ครับผม 1 php ผมเจอ Tag PHP ใน โปรแกรม Dream ครับ 5 Tag |
|
 |
|
|
 |
 |
|
อืม...ตอบเท่าที่รู้นะครับ
1.
<?mb_http_input("iso-8859-1");
mb_http_output("iso-8859-1");?> // เป้นการกำหนดรูปแบบ Font ที่เข้าและออกจากโปรแกรม
<?require();?>// เป็นการเรียกใช้งานไฟล์เหมือนกับ include ต่างกันยังไงให้อ่านได้ในบทเรียนครับ
<?$_SESSION[];?>//เป็นการเรียกใช้ตัวแปร Session ครับ
2.
สำหรับ BUG คุณไม่บอกตัว Error ผมเองก็ไม่รู้ครับ แต่น่าจะเป็นกับตัวนี้ครับ
<?
ob_start();
?>
ให้เอา Code นี้ใส่บนสุดครับ
สำหรับการกำหนดวันหมดอายุ 30 วัน
<?
$name="php"; //ใช้งานได้แก้ไขได้
setcookie("cookies",$name,date("d")+30);
?>
3.TaG
<!--#include file="" -->
<!--#include virtual=""-->
เป็นแทรกที่เขียนบน Html ครับ สามารถใช้บน php ได้เหมือนกันครับ
พูดแล้ว Tag ทุกตัวของ Html จะสามารถใช้บน php ได้ครับ แต่จะต้องเปลี่ยนพวกเครื่องหมายนิดหน่อยครับ
4.ได้ครับ ดูรายละเอียดอื่น ๆ ได้ที่หัวข้อ Operator ครับ
|
 |
 |
 |
 |
Date :
29 Feb 2547 16:15:33 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 04
|