I need a simple program that will prompt a user for their Google Adsense Publisher ID ("pub-xxxxxxxxxxxxx"), then do a 'find & replace' to insert it into 5 php text files that are inside a zipped folder.
I will be distributing a Wordpress theme; I want users to be able to insert their publisher ID without having to manually edit the 5 php theme files that have the Adsense code in them. They would do this prior to uploading & installing the theme. (If there is a simple way to do this once the theme has been uploaded/installed, I'm open to that as well).
The program must work for both PC and MAC - though I am open to a server-side app as well.
The program should present a simple dialog box asking for the users publisher ID, validate it's format (alphanumeric string, right number of characters), then edit the 5 files, leaving them otherwise intact.
The program would run from the same directory that the zipped folder is in.
NOTE: You MUST provide both a quote and time-frame for completion