Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2003
    Posts
    5

    Unanswered: Is this even possible?!

    Hi, I'm new here.

    I want users to automaticaly enter there old email and the forwarding email they like. Using a script this could be done automaticly

    Eample
    myemail45435@hotmail.com ---> myemail@myweb.com
    The script uses the database to see if the forwarding email is free. If it is, then this is done automaticly.


    I have been told that this is only possible if people have ROOT access.

    Another option is a script that looks in MYSQL database to see if the forwarding email is free, then sends me a email and I do it maunaly in my CPanel.


    Does such an PHP script exist? I couldn't find it on hotscrips.

    THanx

  2. #2
    Join Date
    Nov 2003
    Posts
    5
    32 views and no respond. So this is not possible?

  3. #3
    Join Date
    Aug 2003
    Posts
    5
    nothing is impossible
    PHP Code:
      <?php
      $quer 
    'SELECT * FROM table WHERE forwardingemail = '.$newemail;
      
    $results mysql_query($quer);
      if ( 
    mysql_num_rows($results) == )
      {
          
    mail($adminemail$subject'New email is '.$newemail);
      }
      else
      {
          print 
    'cannot change email';
      }
      
    ?>

  4. #4
    Join Date
    Nov 2003
    Posts
    5
    Thanx man,

    Where do I put this? I use PhPBB 2.06

  5. #5
    Join Date
    Nov 2003
    Posts
    5
    I get

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxxxx/public_html/email.php on line 4

  6. #6
    Join Date
    Nov 2003
    Posts
    5
    any1?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •