Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Habbo-Imaging not working
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Detox" data-source="post: 320821" data-attributes="member: 596"><p>I'm trying to host my own habbo-imaging for the cms (avatar)</p><p>Whenever I access the file direct, I get Sorry, You cannot access this file.</p><p>I even added it to my .htaccess and still not working</p><p>Here is my avatarimage.php</p><p></p><p>[PHP]</p><p><?php</p><p>/*=========================================================+</p><p>|| # HabboCMS - Sistema de administración de contenido Habbo.</p><p>|+=========================================================+</p><p>|| # Copyright © 2010 Kolesias123. All rights reserved.</p><p>|| # http://www.infosmart.com.mx</p><p>|| # Partes Copyright © 2009 Yifan Lu. All rights reserved.</p><p>|| # http://www.yifanlu.com</p><p>|| # Base Copyright © 2007-2008 Meth0d. All rights reserved.</p><p>|| # http://www.meth0d.org</p><p>|+=========================================================+</p><p>|| # InfoSmart 2010. The power of Proyects.</p><p>|| # Este es un Software de código libre, libre edición.</p><p>|+=========================================================+</p><p>|| # Todas las imagenes, scripts y temas</p><p>|| # Copyright (C) 2010 Sulake Ltd. All rights reserved.</p><p>|+=========================================================*/</p><p></p><p>$no_rea = true;</p><p>$no_maintenance = true;</p><p></p><p>require_once('../app/management/config.php');</p><p>Header("Content-type: image/png");</p><p></p><p>$figure = $_GET['figure'];</p><p>$size = $_GET['size'];</p><p>$direction = $_GET['direction'];</p><p>$head_direction = $_GET['head_direction'];</p><p>$gesture = $_GET['gesture'];</p><p>$action = $_GET['action'];</p><p>$user = FilterText($_GET['user']);</p><p></p><p>if(!empty($figure))</p><p>{</p><p> $real_figure = $figure;</p><p>}</p><p>else if(!empty($user))</p><p>{</p><p> $real_figure = userData("figure", $user);</p><p>}</p><p></p><p>if(empty($size))</p><p>{</p><p> $size = "b";</p><p>}</p><p></p><p>if(empty($direction))</p><p>{</p><p> $direction = "3";</p><p>}</p><p></p><p>if(empty($head_direction))</p><p>{</p><p> $head_direction = "3";</p><p>}</p><p></p><p>if(empty($gesture))</p><p>{</p><p> $gesture = "sml";</p><p>}</p><p> </p><p></p><p>echo file_get_contents('http://www.habbo.com/habbo-imaging/avatarimage?figure='.$figure.'&size='.$size.'&direction='.$direction.'&head_direction='.$head_direction.'&gesture='.$gesture.'&action='.$action);</p><p>?></p><p>[/PHP]</p><p></p><p>But I keep getting this when I do Inspect Element</p><p><img src="http://i61.tinypic.com/90984x.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="Detox, post: 320821, member: 596"] I'm trying to host my own habbo-imaging for the cms (avatar) Whenever I access the file direct, I get Sorry, You cannot access this file. I even added it to my .htaccess and still not working Here is my avatarimage.php [PHP] <?php /*=========================================================+ || # HabboCMS - Sistema de administración de contenido Habbo. |+=========================================================+ || # Copyright © 2010 Kolesias123. All rights reserved. || # http://www.infosmart.com.mx || # Partes Copyright © 2009 Yifan Lu. All rights reserved. || # http://www.yifanlu.com || # Base Copyright © 2007-2008 Meth0d. All rights reserved. || # http://www.meth0d.org |+=========================================================+ || # InfoSmart 2010. The power of Proyects. || # Este es un Software de código libre, libre edición. |+=========================================================+ || # Todas las imagenes, scripts y temas || # Copyright (C) 2010 Sulake Ltd. All rights reserved. |+=========================================================*/ $no_rea = true; $no_maintenance = true; require_once('../app/management/config.php'); Header("Content-type: image/png"); $figure = $_GET['figure']; $size = $_GET['size']; $direction = $_GET['direction']; $head_direction = $_GET['head_direction']; $gesture = $_GET['gesture']; $action = $_GET['action']; $user = FilterText($_GET['user']); if(!empty($figure)) { $real_figure = $figure; } else if(!empty($user)) { $real_figure = userData("figure", $user); } if(empty($size)) { $size = "b"; } if(empty($direction)) { $direction = "3"; } if(empty($head_direction)) { $head_direction = "3"; } if(empty($gesture)) { $gesture = "sml"; } echo file_get_contents('http://www.habbo.com/habbo-imaging/avatarimage?figure='.$figure.'&size='.$size.'&direction='.$direction.'&head_direction='.$head_direction.'&gesture='.$gesture.'&action='.$action); ?> [/PHP] But I keep getting this when I do Inspect Element [IMG]http://i61.tinypic.com/90984x.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Habbo-Imaging not working
Top