Jump to content
UBot Underground

Need Simple Search And Replace Bot


Recommended Posts

I can make this bot but I just don't have time.  Here is what I need.

 

I have some php files.  They are a wordpress theme files.  I need a bot that will "edit" these files based on user input.  This

will be just a inhouse bot.  Not a product for sale.  Here is a sample of the code that the bot will be editing:

 

<?php
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node1','category1')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node2','category2')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node3','category3')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node4','category4')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node5','category5')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node6','category6')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node7','category7')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node8','category8')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node9','category9')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node10','category10')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node11','category11')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node12','category12')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node13','category13')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node14','category14')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node15','category15')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node16','category16')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node17','category17')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node18','category18')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','node19','category19')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','topratednode','Top Rated')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','bestsellernode','Best Sellers')");
$sql=$wpdb->query("INSERT INTO ".$reviewtheme_categories." (id,node,cat_name)VALUES('','mostwishedfornode','Most Wished For')");

$cat_array=array("category1","category2","category3","category4","category5",
"category6","category7","category8","category9","category10","category11",
"category12","category13","category14","category15","category16","category17","category18","category19","Best Sellers","Most Wished For","Top Rated",);
?>

 

Each instance of "category1" "category2" ect... will be replaced with a product category that the user will add in a ui area.

 

The same for "node1" ect...

 

Here in this example I have pre filled the fields with placeholders.  I would like the bot to make enough code for the amount

of categories the user enters in the ui.

 

Please let me know if you can create this bot and how much it will cost.

 

Shane

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...