Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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;

    }
    ? >
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice