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
Iframe nitro problems
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="CodiceZ" data-source="post: 468155" data-attributes="member: 76532"><p>I am trying to create an iframe to link with my client.php and nitro.</p><p></p><p>[ICODE]</p><p><?php</p><p>require_once("inc/core.god.php");</p><p></p><p>if(Loged == FALSE)</p><p>{</p><p> header("Location: /");</p><p> exit;</p><p>}</p><p></p><p>if(maintenance == '1') </p><p>{</p><p> header("Location: error");</p><p> exit;</p><p>}</p><p></p><p>mysqli_query(connect::cxn_mysqli(),"UPDATE users SET beta = '1' WHERE id = '".$myrow['id']."'");</p><p></p><p>define('SSO_SALT', $Holo['name']);</p><p>$ticket = hash('sha256', SSO_SALT . openssl_random_pseudo_bytes(25) . time());</p><p></p><p>mysqli_query(connect::cxn_mysqli(),"UPDATE users SET auth_ticket = '". filtro($myrow['username'])."-".$ticket."', ip_current = '".$ip."' WHERE id = '".$myrow['id']."'");</p><p> </p><p>$ticketsql = mysqli_query(connect::cxn_mysqli(),"SELECT auth_ticket FROM users WHERE id = '".$myrow['id']."'");</p><p>$ticketrow = mysqli_fetch_assoc($ticketsql);</p><p>?></p><p><head></p><p> <meta charset="utf-8"></p><p> <meta http-equiv="x-ua-compatible" content="ie=edge"></p><p> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"></p><p> <title><?php echo $Holo['name']; ?>: Hotel</title></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p> <script type="text/javascript">var andSoItBegins = (new Date()).getTime();</script></p><p> <link rel="stylesheet" href="<?php echo $Holo['url']; ?>/nitro/styles.227c3d1cf3e0d00f6648.css" type="text/css"></p><p> <script type="text/javascript" src="<?php echo $Holo['url']; ?>/Mawu/js/swfobject.js"></script></p><p> <script type="text/javascript" src="<?php echo $Holo['url']; ?>/Mawu/js/fullscreen.js"></script></p><p> <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script></p><p></p><p> <link rel="icon" href="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-32x32.png" sizes="32x32" /></p><p> <link rel="icon" href="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-192x192.png" sizes="192x192" /></p><p> <link rel="apple-touch-icon-precomposed" href="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-180x180.png" /></p><p> <meta name="msapplication-TileImage" content="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-270x270.png" /></p><p> </p><p> <script></p><p> function goBack() {</p><p> window.history.back();</p><p> }</p><p> </script></p><p> </p><p> <iframe src="<?php echo $Holo['url']; ?>/nitro/index.html?sso=<?php echo $ticketrow['auth_ticket']; ?>" id="flash-container" width="100%" height="100%" frameborder="0"></iframe></p><p> </p><p> </head></p><p></p><p> <body class="home page-template-default" onselectstart='return false' ondragstart='return false'></p><p> </p><p> <div onclick="goBack()" id="habbo-web"></div></p><p> <div onclick="HotelFullScreen()" id="habbo-fullscreen"></div></p><p> <a href="/gallery" target="_blank"><div id="habbo-camera"></div></a></p><p> <a href="/support" target="_blank"><div id="habbo-support"></div></a></p><p> <?php $isadmin = mysql_query("SELECT * FROM users WHERE id = '".$myrow['id']."' AND rank > 5");</p><p> while($isadm = mysql_fetch_assoc($isadmin)){ ?><a href="<?php echo $Holo['url'] . '/' . $Holo['panel']; ?>" target="_blank"><div id="habbo-panel"></div></a><?php } ?></p><p></p><p> </body></p><p></html></p><p>[/ICODE]</p><p></p><p>[ATTACH=full]12159[/ATTACH]</p><p></p><p></p><p>However, it does not communicate well with nitro, as listed by the errors. Instead of uploading, "Configuration failed."</p></blockquote><p></p>
[QUOTE="CodiceZ, post: 468155, member: 76532"] I am trying to create an iframe to link with my client.php and nitro. [ICODE] <?php require_once("inc/core.god.php"); if(Loged == FALSE) { header("Location: /"); exit; } if(maintenance == '1') { header("Location: error"); exit; } mysqli_query(connect::cxn_mysqli(),"UPDATE users SET beta = '1' WHERE id = '".$myrow['id']."'"); define('SSO_SALT', $Holo['name']); $ticket = hash('sha256', SSO_SALT . openssl_random_pseudo_bytes(25) . time()); mysqli_query(connect::cxn_mysqli(),"UPDATE users SET auth_ticket = '". filtro($myrow['username'])."-".$ticket."', ip_current = '".$ip."' WHERE id = '".$myrow['id']."'"); $ticketsql = mysqli_query(connect::cxn_mysqli(),"SELECT auth_ticket FROM users WHERE id = '".$myrow['id']."'"); $ticketrow = mysqli_fetch_assoc($ticketsql); ?> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title><?php echo $Holo['name']; ?>: Hotel</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <script type="text/javascript">var andSoItBegins = (new Date()).getTime();</script> <link rel="stylesheet" href="<?php echo $Holo['url']; ?>/nitro/styles.227c3d1cf3e0d00f6648.css" type="text/css"> <script type="text/javascript" src="<?php echo $Holo['url']; ?>/Mawu/js/swfobject.js"></script> <script type="text/javascript" src="<?php echo $Holo['url']; ?>/Mawu/js/fullscreen.js"></script> <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <link rel="icon" href="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-32x32.png" sizes="32x32" /> <link rel="icon" href="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon-precomposed" href="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-180x180.png" /> <meta name="msapplication-TileImage" content="<?php echo $Holo['url']; ?>/Mawu/image/favicon/cropped-favicon-1-270x270.png" /> <script> function goBack() { window.history.back(); } </script> <iframe src="<?php echo $Holo['url']; ?>/nitro/index.html?sso=<?php echo $ticketrow['auth_ticket']; ?>" id="flash-container" width="100%" height="100%" frameborder="0"></iframe> </head> <body class="home page-template-default" onselectstart='return false' ondragstart='return false'> <div onclick="goBack()" id="habbo-web"></div> <div onclick="HotelFullScreen()" id="habbo-fullscreen"></div> <a href="/gallery" target="_blank"><div id="habbo-camera"></div></a> <a href="/support" target="_blank"><div id="habbo-support"></div></a> <?php $isadmin = mysql_query("SELECT * FROM users WHERE id = '".$myrow['id']."' AND rank > 5"); while($isadm = mysql_fetch_assoc($isadmin)){ ?><a href="<?php echo $Holo['url'] . '/' . $Holo['panel']; ?>" target="_blank"><div id="habbo-panel"></div></a><?php } ?> </body> </html> [/ICODE] [ATTACH type="full"]12159[/ATTACH] However, it does not communicate well with nitro, as listed by the errors. Instead of uploading, "Configuration failed." [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Iframe nitro problems
Top