Custom php script

I want to create a custom script to add a new theme, add fonts/images and add templates from the script.
I am trying to create it under web/userscripts. But I have no clue on how to proceed forward with things such as database connection, libraries that I can use or so!!!

As I am new to this, any help with examples will be quite handy!!!

Thanks a bunch in advance!!!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.