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.

Creating Email Not Allow with cURL due to CPanel Session ID

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

  1. AmilaDG

    AmilaDG Registered

    Joined:
    Jul 7, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    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.

     
  3. AmilaDG

    AmilaDG Registered

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

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Happy to help. :)
     
Loading...

Share This Page