Recent Edits
k
k
????
???? i really hate to tell you about PORNO...
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN...
???? i really hate to tell you about PORNO...
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
Fuck americans!
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN...
» complete changei really hate to tell you about PORNO...
Fuck americans!
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
Fuck americans!
And by the way, im shaun.
i really hate to tell you about PORNO...
Fuck americans!
And by the way, im shaun.
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
Fuck americans!
And by the way, im shaun.
» complete changei really hate to tell you about PORNO...
Fuck americans!
And by the way, im shaun.
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
Fuck americans!
And by the way, im shaun.
» complete changei really hate to tell you about PORNO...
Fuck americans!
And by the way, im shaun.
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
ITS ABOUT A MAN AND A WOMEN WHO ARE DOING SOMETHING TOGETHER, ACTUALLY THATS XXX
OH WELL HAVE FUN WATCHING WWW.REDTUBE.COM...
i really hate to tell you about PORNO...
ITS ABOUT A MAN AND A WOMEN WHO ARE DOING SOMETHING TOGETHER, ACTUALLY THATS XXX
OH WELL HAVE FUN WATCHING WWW.REDTUBE.COM
Fuck americans!
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
ITS ABOUT A MAN AND A WOMEN WHO ARE DOING SOMETHING TOGETHER, ACTUALLY THATS XXX
OH WELL HAVE FUN WATCHING WWW.REDTUBE.COM...
» complete changei really hate to tell you about PORNO...
ITS ABOUT A MAN AND A WOMEN WHO ARE DOING SOMETHING TOGETHER, ACTUALLY THATS XXX
OH WELL HAVE FUN WATCHING WWW.REDTUBE.COM
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
i really hate to tell you about PORNO... googlebots...
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN...
» complete changei really hate to tell you about PORNO... googlebots...
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN
h2. Step 1.
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN...
» complete changei really hate to tell you about googlebots...
h2. Step 1.
PORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORNPORN When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2.
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3.
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
i really hate In this short tutorial we will cover how to tell you about googlebots... send yourself an email via a [[PHP]] ...
i really hate In this short tutorial we will cover how to tell you about googlebots... send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1.
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2.
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3.
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
h2. Step 5 59
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1.
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2.
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3.
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5 59
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
h2. Step 59 5
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1.
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2.
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3.
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 59 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
</pre> </pre>5
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1.
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2.
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3.
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre> </pre>5
</pre>5 </pre>
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1.
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2.
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3.
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>5 </pre>
h2. Step 1. 1
h2. Step 2. 2
h2. Step 3. 3
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1. 1
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2. 2
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3. 3
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
}
</code>
</pre>
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'],
» complete changeIn this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider has visited your site.
h2. Step 1
When googlebot visits your site we can easily tell it's google and not a normal user by its User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
</code>
</pre>
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
<pre>
<code>
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
</code>
</pre>
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider google...
In this short tutorial we will cover how to send yourself an email via a [[PHP]] Script when [[Google|Google's]] spider google has visited your site.
h2. Step 1
When googlebot visits your site we can easily tell it's google and not a normal user by its it's User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
h2. Step 2
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
h2. Step 3
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
The above code checks that useragent doesn't return a false value.
h2. Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
h2. Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<pre>
<code>
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
</code>
</pre>
Step 1
When googlebot visits your site we can easily tell it's google and not a normal user by it's User Agent. To call up...
» complete changeIn this short tutorial we will cover how to send yourself an email when google has visited your site.
Step 1
When googlebot visits your site we can easily tell it's google and not a normal user by it's User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
Step 2
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
Step 3
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// Useragent is Googlebot
}
The above code checks that useragent doesn't return a false value.
Step 4
So we have a piece of code that checks the useragent, we now want it to email us when this happens, for this we will use a php function called mail.
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
Step 5
Hopefully that has given you some help on adding this to your site, below is the complete code.
--------------------------------------------------------------------------------
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
{
// The email address we want to send the email to
$email_address = 'example@domain.com';
// Send the email
mail($email_address,'Googlebot Visit', 'Googlebot has visited your page: '.$_SERVER['REQUEST_URI']);
}
?>
In this short tutorial we will cover how to send yourself an email when google has visited your site.
Step 1
When googlebot...
» complete changeIn this short tutorial we will cover how to send yourself an email when google has visited your site.
Step 1
When googlebot visits your site we can easily tell it's google and not a normal user by it's User Agent. To call up the useragent in php we use a variable called $_SERVER['HTTP_USER_AGENT'].
Step 2
The Googlebot user agent is always "Googlebot", so all we need to do is check whether or not the useragent is Googlebot. To do this we will use a php function called strpos, this function returns the position of the string, if the string isn't found it will return false.
Step 3
Firstly we need to write an IF statement to check if the useragent is set to googlebot.
