расположение: /Submit/register to SE.php
Скрипт сабмита в 5 поисковиков
( Rambler Yandex Google MSN Yahoo)
Все просто ))
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<?php
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
// This scrip register your site in 5 Search Engines
// Rambler
// Yandex
// Google
// MSN
// Yahoo
// for request more SE please write to humanemulator@gmail.com
// ======================= COMMON INFO =================
$title="MySite";
$url="http://MySite.com";
$comments="My Site\nDescribtion";
$contact_face="I";
$contact_mail="my@rambler.ru";
// ======================================================
// ======================= RAMBLER ======================
// goto to add page
$browser->navigate("http://www.rambler.ru/doc/add_site.shtml");
$browser->wait(1);
$button->click_by_inner_text("Начать регистрацию");
$browser->wait(1);
// add reg info
$input->set_value_by_name("title",$title);
$input->set_value_by_name("url",$url);
$textarea->set_value_by_name("comments",$comments);
$input->set_value_by_name("contact",$contact_face);
$input->set_value_by_name("email",$contact_mail);
$button->click_by_inner_text("Зарегистрировать");
$browser->wait(1);
// ======================================================
// ======================= YANDEX ======================
// goto to add page
$browser->navigate("http://webmaster.yandex.ru/");
$browser->wait(1);
// add reg info
$input->set_value_by_name("url",$url);
$captcha=$app->dlg_captcha_from_image_number(0);
$input->set_value_by_name("rep",$captcha);
$button->click_by_inner_text("Добавить");
$browser->wait(1);
// ======================================================
// ======================= GOOGLE ======================
// goto to add page
$browser->navigate("http://www.google.com/addurl/?continue=/addurl");
$browser->wait(1);
// add reg info
$input->set_value_by_number(1,$url);
$input->set_value_by_number(2,$title);
$captcha=$app->dlg_captcha_from_image_number(7);
$input->set_value_by_name("captcha",$captcha);
$button->click_by_number(1);
$browser->wait(1);
// ======================================================
// ======================= MSN ======================
// goto to add page
$browser->navigate("http://beta.search.msn.com/docs/submit.aspx");
$browser->wait(1);
// add reg info
$input->set_value_by_name("url",$url);
$captcha=$app->dlg_captcha_from_image_number(0);
$input->set_value_by_name("h",$captcha);
$button->click_by_name("submit_url");
$browser->wait(1);
// ======================================================
// ======================= YAHOO ======================
// goto to add page
$browser->navigate("https://siteexplorer.search.yahoo.com/submit");
$browser->wait(1);
// add reg info
$input->set_value_by_name("txtUrl",$url);
$button->click_by_name("btnSubmitUrl");
$browser->wait(1);
// ======================================================
// Quit
$app->quit();
?>