ฟังก์ชั่น import_request_variables()
ความหมายของฟังก์ชั่นและการใช้งาน
การนำข้อมูลที่ส่งมาแบบ GET หรือ POST หรือ COOKIE มาเก็บไว้ที่ตัวแปร ด้วยฟังก์ชั่น import_request_variables()
รูปแบบการเขียน (Syntax)
bool import_request_variables ( string $types [, string $prefix ] )
ตัวอย่างที่ 1
<?php
// This will import GET and POST vars
// with an "rvar_" prefix
import_request_variables("gp", "rvar_");
echo $rvar_foo;
?>