Create PAD Files with php

Can pad files be created using php? If yes, is there a tutorial on how to do it? I could not find one.

I know there are many PAD file generators available, however I want to batch create PAD files while inserting different details into each file.

Any help is appreciated.

Here is one pad file generator for php:

Thank you. This should work just fine for my purposes.