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!

help with reason textbox when suspending ac.

Discussion in 'General Discussion' started by webadpro, Jul 15, 2006.

  1. webadpro

    webadpro Member

    Joined:
    Dec 7, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    Hello everyone,

    I've made my own php script for cPanel, but there's only one thing. In reason, I can only put one word. When ever I add a Space ' ' , well reason stops before the first space.

    So let's say I suspend an account with this reason:

    The user has illegal content.

    What will be written in whm is:

    The

    Does anyone know why? Or could explain me what is cPanel doing to make the reason full lenght?

    Best Regards,
    Pat
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    How, exactly, is the suspend account function being called?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webadpro

    webadpro Member

    Joined:
    Dec 7, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    as a function,

    But, like


    ...&reason="$reason";

    But do I have to add something special to insert all the words?
     
  4. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    if you are passing the string via a url, the urlencoded value of a space is %20
     
    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