smart-inputをphpでも