Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8

Thread: Ip Emailer

  1. #1
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    From the idea of another script ive wrote a Ip Emailer
    It has been working for many months but lately it has stopped sending emails to a hotmil account and sends them to a ISP provided email address provided.
    PHP Code:
    <?php

    $to 
    '';  // The email address you want notifications sent to
    $cc '';  // The second semail address you want notifications sent to
    // PHP Script By Philip Baucutt

    $headers "Content-type: text/html \nFrom: Ip Mailer";
    $iplogger $_SERVER['HTTP_X_FORWARDED_FOR'];
    $proxyip $_SERVER['REMOTE_ADDR'];
    $date date('l dS \of F Y h:i:s A');
    $info $_SERVER['HTTP_USER_AGENT'];
    $referer $_SERVER['HTTP_REFERER'];
    $page $_SERVER['QUERY_STRING'];
    $body "<center><h2>Visitor Information</center></h2>
    IP Address = "
    .$iplogger." <br>
    Proxy Address = "
    .$proxyip." <br>
    Date & Time = "
    .$date."<br>
    Browser Info = "
    .$info."<br>
    Referer = "
    .$referer."<br>
    "
    ;

    mail($to,$_SERVER['HTTP_X_FORWARDED_FOR'],$body,$headers);
    mail($cc,$_SERVER['HTTP_X_FORWARDED_FOR'],$body,$headers);
    ?>
    <?php
    if ($ip == "")
    {
    header("Location: index3.php");
    }
    else
    {
    header("Location: error.php");
    }
    ?>
    Any Help Is Greatly Appreciated
    Regards Phil,


  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    When you say "it has stopped sending emails to a hotmil account and sends them to a ISP provided email address provided" do you mean you still try to send to the hotmail address but somehow it is bounced to this other email?

    Or, do you mean you gave the script another email address and it works with that one?

  4. #3
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    the script is sending to a ISP provided account and a hotmail account and the hotmail account isnt recienving all of the emails containg My Browser Desatils and IP address, But i noticed earlier that My ISP have changed my IP address and everything is fine, could there be a possibility that hotmail is seeing these emails as spam and is blocking them?

    PS if anyone wishes to use this script they can as long as the Created By Message Remains Intact
    Regards Phil,


  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    So.. is it working now?

  6. #5
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    yea. i have come to the coclusion that hotmail was blocking the emails. another question its not realted but how do i include another URL like google.com
    Regards Phil,


  7. #6
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326

  8. #7
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    as in <?php include('http://google.com')
    Regards Phil,


  9. #8
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    include won't work outside the server's filesystem. What you really want is fopen with CURL and a few other tools to let you read a remote file like the google homepage.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:54 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com