0

Script for register your web site to 3 SE:

<?php
// The following code is required to properly run Web Human Emulator
require("../../Templates/xweb_human_emulator.php");

// This script submit your site to 3 Search Engines 
// Google
// MSN
// Yahoo
// for request more SE please write to humanemulator@gmail.com

// ======================= COMMON INFO =================
$title="title";
$url="http://www.sitebred.com/";
$comments="comments";
$contact_face="name";
$contact_mail="mal@mail.com";
// ======================================================

// ======================= 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://www.bing.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_for(10,1);

$anchor->click_by_inner_text("Submit a Website or Webpage","true");
$browser->wait_for(10,1);

// add reg info
$input->set_value_by_name("site_url",$url);

$button->click_by_inner_text("Submit URL");
$browser->wait_for(10,1);
// ======================================================

// Quit
$app->quit();

?>
2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by polegon
0

The include file comes with the Web Human Emulator and not work without it.

Edited by polegon: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.