how to validate window registry script
I newbie in php and i make simple upload page
and I need to validate window registry file
first I try to validate .reg but I tried by creating a plain text file by inserting the extension. reg it validated. I want to open file after upload and validate character in file
and I do not know yet how to check of it 

thank you for any suggest

sorry for my bad english
how to validate window registry script
===

I newbie in php and i make simple upload page
and I need to validate window registry file
first I try to validate .reg but I tried by creating a plain text file by inserting the extension. reg it validated. I want to open file after upload and validate character in file
and I do not know yet how to check of it 

thank you for any suggest

sorry for my bad english