scripts of php for testing