Jump to content

PHP TS Class


NickTyson

Recommended Posts

Hey guys, I'm about to pull out my hair (Welcome to PHP!). I am trying to automate my users registration for my website that automaticaly gives them a ts account. Its not working. Im getting two errors on the echo. Any help? Thanks

 

include("tsac.class.php");
$ts=new tsac();
$connect = $ts->connect("74.208.79.235",51234,"removed","removed");
$create = $ts->adduser('8000',"test","bleh",'0');
if($create)
{

}else{
echo "Error";
}
if($create)
{

}else{
echo "Error";
}

Link to comment
https://forums.phpfreaks.com/topic/171594-php-ts-class/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.