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.

Remote access file example

Discussion in 'General Discussion' started by Radio_Head, Apr 3, 2002.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    on the Remote access file example
    http://www.cpanel.net/manual/remoteaccess.html

    there is something wrong on this line

    $response = $whm-&createacct(“&DOMAIN NAME HERE&”,&&USERNAME HERE&“,&&PASSWORD HERE&”,&&PACKAGE HERE&”);


    error
    line 116, near &PASSWORD HERE&&
    (Might be a runaway multi-line && string starting on line 5)
    Unrecognized character \x94 at remote.cgi line 116.


    anyone can fix it or provide a php working script ?
    thank you
     
  2. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    [quote:60a29e1407][i:60a29e1407]Originally posted by Radio_Head[/i:60a29e1407]

    on the Remote access file example
    http://www.cpanel.net/manual/remoteaccess.html

    there is something wrong on this line

    $response = $whm-&createacct(“&DOMAIN NAME HERE&”,&&USERNAME HEREPACKAGE HERE&”);


    error
    line 116, near &PASSWORD HERE&&
    (Might be a runaway multi-line && string starting on line 5)
    Unrecognized character \x94 at remote.cgi line 116.


    anyone can fix it or provide a php working script ?
    thank you[/quote:60a29e1407]

    Replace all the & with &. If you look close to the ones in the quote above some of them are different. ( “ and & )Just open the script in a text editor and replace all the double quotes. I had the same problem when I copied the example.
     
Loading...

Share This Page