The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel Forwarders not working.

Discussion in 'General Discussion' started by HostDime, Feb 1, 2004.

  1. HostDime

    HostDime Well-Known Member
    PartnerNOC

    Joined:
    Mar 15, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando, Florida
    I run www.webtotext.com - Im trying to program a script to automatically create a forwarder for an address, and its not working at all. Can someone please help?



    < ?php
    if (empty($email)) { ?>

    <form method="post" action="make.php">
    <input type="text" name="email">
    <input type="text" name="forward">
    <button type="submit" value="Submit">
    </form>
    <? } else {
    $results = system("wget --http-user=hikris --http-passwd=MYPW http://localhost:2082/frontend/x/mail/doaddfwd.html?domain=hikris.com&email=" . $email . "&forward=" . $foward);

    // echo results for debug/testing purposes
    echo "results = " . $results;

    }
    ? >
     
Loading...

Share This Page