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.

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:
    1
    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:
    36
    How, exactly, is the suspend account function being called?
     
  3. webadpro

    webadpro Member

    Joined:
    Dec 7, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    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:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    if you are passing the string via a url, the urlencoded value of a space is %20
     
Loading...

Share This Page