Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,051
1
343
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
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
316
[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.