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

    Mar 15, 2003
    Likes Received:
    Trophy Points:
    Orlando, Florida
    I run - 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">
    <? } else {
    $results = system("wget --http-user=hikris --http-passwd=MYPW http://localhost:2082/frontend/x/mail/doaddfwd.html?" . $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...

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