In Progress

Program to insert a string into zipped php text files (WP)

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


Skills: C Programming, Javascript, PHP, Website Design, WordPress

See more: wordpress php programming, to string, text to string, string the, string programming, string in c programming, string i, string find c, string c programming, programming program, program find, php wordpress programming, php programming wordpress, m string, find the right wordpress theme, c string programming, c programming string, 9 to 5 mac, simple program, Pub, php theme, php c#, php adsense, insert, find files in directory

About the Employer:
( 22 reviews ) Kanab, United States

Project ID: #860039

Awarded to:


I'm an experienced PHP programmer and WordPress developer. I can customize your theme to match your requirements, see PM for details.

$70 USD in 7 days
(15 Reviews)

6 freelancers are bidding on average $68 for this job


Please see PMB.

$50 USD in 3 days
(231 Reviews)

see your pmb please

$120 USD in 2 days
(53 Reviews)

Please check your inbox, thank you.

$100 USD in 4 days
(7 Reviews)

Can complete it in Java. It will work on both Mac and Windows. Provide me your zipped php files and more detailed instructions which lines in them should be replaced. Thanks.

$35 USD in 3 days
(0 Reviews)

ready to start....

$30 USD in 3 days
(0 Reviews)