The present invention relates a method to make porous materials which are useful in pharmaceutical, medicine, industry, and agriculture. The most advantage of the porous materials is to provide extremely large surface area for further modification and to incorporate a bioactive reagent in a mild condition to make the porous materials bioactive, biocompatible and biodegradable.