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!

Creating Email Not Allow with cURL due to CPanel Session ID

Discussion in 'E-mail Discussion' started by AmilaDG, Jul 7, 2011.

  1. AmilaDG

    AmilaDG Registered

    Joined:
    Jul 7, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hi there. This is my first post on Cpanel forum.

    One of my website have a feature that user can create email account using php script like

    PHP:
    file_get_contents("URL deleted by AmilaDG due to security reason");
    It was worked since my shared hosting to vps hosting migrate. after migrating that script useless. when i try that in address bar it says "cpanel session token missing" or something with a form for type password again.

    What's the problem here? I tried it with changing cpanel password also.
     
    #1 AmilaDG, Jul 7, 2011
    Last edited: Jul 8, 2011
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,429
    Likes Received:
    415
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I can't help with your PHP script, but I can point you to the Security Token On/Off switch to test it with this setting off.

    WHM > Server Configuration > Tweak Settings > Security tab.

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AmilaDG

    AmilaDG Registered

    Joined:
    Jul 7, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Thanks dude. It is really appreciated!!!
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,429
    Likes Received:
    415
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Happy to help. :)
     
    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