Separation, shaping, cleaning the main php function
Adding addcslash function to allow all character (except for " and \, it don't work) in main.php