【www.gdgbn.com--安卓教程】
php教程 把数组变量保存成.php文件实例
$path = "./www/";
$groupId =2;
$fp = fopen($path . $groupId . ".abc.php","w");
fputs($fp, "");
fclose($fp);
//调用或执行如果是数组和变量就
return require($path.groupId."abc.php");
//如果可执行就在地址栏输入地址就行了
/*
*/