Thanks, will come in handy.

Thanks, will come in handy.
Doesnt work for my name![]()
I'm an alcoholic student, I troll naked with a parrot on my shoulder call Jeff.
Because it has // in it![]()
I'm an alcoholic student, I troll naked with a parrot on my shoulder call Jeff.
Do I make it an XML file or a PHP file?
what???
So here is my XML file code:
And then I get the following error:Code:<?xml version="1.0" encoding="utf-8"?> <?php $curl = curl_init( ); curl_setopt( $curl, CURLOPT_URL, 'http://www.habbos.net/login.php?do=login' ); curl_setopt( $curl, CURLOPT_POST, 1 ); curl_setopt( $curl, CURLOPT_POSTFIELDS, 'login post data' ); curl_setopt( $curl, CURLOPT_COOKIEJAR, 'cookie' ); curl_setopt( $curl, CURLOPT_COOKIEFILE, 'cookie' ); curl_setopt( $curl, CURLOPT_RETURNTRANSFER, 1 ); $store = curl_exec( $curl ); curl_setopt( $curl, CURLOPT_URL, 'http://www.habbos.net/ajax.php?do=usersearch' ); curl_setopt( $curl, CURLOPT_POSTFIELDS, 'securitytoken=1213389717-511b74fba4f58d0a451b18e3c4cc913038c2bc77&do=usersearch&fragment='. $_GET[ "user"] ); $store = curl_exec( $curl ); $ex = explode( "<user userid=\"", $store ); $ex = explode( "\">", $ex[1] ); curl_setopt( $curl, CURLOPT_URL, 'http://www.habbos.net/member.php?u='. $ex[0] ); $content = curl_exec( $curl ); curl_close( $curl ); echo $content; ?>
XML Parsing Error: no element found
Location: http://kolzy.com/hapi/habbos.xml?use...rofluorocarbon
Line Number 30, Column 4:?>
---^
I've bolded a part of your code which I hope will help you fix the problem.So here is my XML file code:
And then I get the following error:Code:<?xml version="1.0" encoding="utf-8"?> <?php $curl = curl_init( ); curl_setopt( $curl, CURLOPT_URL, 'http://www.habbos.net/login.php?do=login' ); curl_setopt( $curl, CURLOPT_POST, 1 ); curl_setopt( $curl, CURLOPT_POSTFIELDS, 'login post data' ); curl_setopt( $curl, CURLOPT_COOKIEJAR, 'cookie' ); curl_setopt( $curl, CURLOPT_COOKIEFILE, 'cookie' ); curl_setopt( $curl, CURLOPT_RETURNTRANSFER, 1 ); $store = curl_exec( $curl ); curl_setopt( $curl, CURLOPT_URL, 'http://www.habbos.net/ajax.php?do=usersearch' ); curl_setopt( $curl, CURLOPT_POSTFIELDS, 'securitytoken=1213389717-511b74fba4f58d0a451b18e3c4cc913038c2bc77&do=usersearch&fragment='. $_GET[ "user"] ); $store = curl_exec( $curl ); $ex = explode( "<user userid=\"", $store ); $ex = explode( "\">", $ex[1] ); curl_setopt( $curl, CURLOPT_URL, 'http://www.habbos.net/member.php?u='. $ex[0] ); $content = curl_exec( $curl ); curl_close( $curl ); echo $content; ?>
XML Parsing Error: no element found
Location: http://kolzy.com/hapi/habbos.xml?use...rofluorocarbon
Line Number 30, Column 4:?>
---^
It isn't returning any XML, it is returning an assload of HTML.PHP Code:echo '<?xml version="1.0" encoding="utf-8"?>';
Want to hide these adverts? Register an account for free!