Php + ajax cascade menu [no refreshing cascade menu]. The php + ajax cascade menu released by this netizen is often called refreshing. The php + ajax cascade menu released by this netizen is often called refreshing .? Phpheader (C, the php + ajax cascade menu released by a netizen, we often say it is refreshing.
The php + ajax cascade menu released by this netizen is often called refreshing.
Header ("Content-type: text/html; charset = GBK"); // output encoding to avoid Chinese garbled characters
Require_once (dirname (_ FILE _). "/include/config_base.php ");
Require_once (dirname (_ FILE _). "/include/inc_type.php ");
Require_once (dirname (_ FILE _). "/include/inc_cache.php ");
$ Fatherid = "";
$ Fatherid = $ _ GET ['fatherid'];
If (! Empty ($ fatherid )){
If (! File_exists ('/cache/sun_'.w.fatherid.'_cache.txt ')){
$ Ty = new Type (0 );
$ TypeOptions = $ ty-> GetSmallOption ($ fatherid );
If (! Empty ($ typeOptions )){
Cache_write ('/cache/sun_'.w.fatherid.'_cache.txt', $ typeOptions );
Echo"Rn ";Echo $ typeOptions;Echo"";
$ Tl-> Close ();
}
} Else {
$ TypeOptions = cache_get ('/cache/sun_'.w.fatherid.'_cache.txt ');
Echo"Rn ";Echo $ typeOptions;Echo"";
}
}
?>