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
'This page isn't 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="Central" data-source="post: 409875" data-attributes="member: 57042"><p>Step 1: Remove the code I told you to add from the client, please cut it instead of deleting it totally.</p><p>[PHP]<?php</p><p> $ip = isset($_SERVER['HTTP_CF_CONNECTING_IP']) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : $_SERVER['REMOTE_ADDR'];</p><p> $res = file_get_contents("http://SITEISHERE/validate.php?user=MYNAMEISHEREe&ip=".$ip);</p><p> if($res != 1 && $res != 2){</p><p> header("Location: https://findretros.com/rankings/vote/MYNAMEISHERE");</p><p> }</p><p>?>[/PHP]</p><p></p><p>Step 2: Create a new file named forcevote.php and put the following code into the new file you created:</p><p>[PHP]<?php</p><p> $ip = isset($_SERVER['HTTP_CF_CONNECTING_IP']) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : $_SERVER['REMOTE_ADDR'];</p><p> $res = file_get_contents("http://SITEISHERE/validate.php?user=MYNAMEISHEREe&ip=".$ip);</p><p> if($res != 1 && $res != 2){</p><p> header("Location: https://findretros.com/rankings/vote/MYNAMEISHERE");</p><p> }</p><p>?>[/PHP]</p><p></p><p>Step 3: Add the following code to the top of your client.php:</p><p>[PHP]<?php include 'forcevote.php'; ?>[/PHP]</p><p></p><p>Try that.</p><p></p><p><span style="color: #ff0000"><strong>AND PLEASE, IF YOU'RE USING {HOTELURL} TO LINK YOUR URL TO YOUR PAGES DON'T, USE {URL} </strong></span></p></blockquote><p></p>
[QUOTE="Central, post: 409875, member: 57042"] Step 1: Remove the code I told you to add from the client, please cut it instead of deleting it totally. [PHP]<?php $ip = isset($_SERVER['HTTP_CF_CONNECTING_IP']) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : $_SERVER['REMOTE_ADDR']; $res = file_get_contents("http://SITEISHERE/validate.php?user=MYNAMEISHEREe&ip=".$ip); if($res != 1 && $res != 2){ header("Location: https://findretros.com/rankings/vote/MYNAMEISHERE"); } ?>[/PHP] Step 2: Create a new file named forcevote.php and put the following code into the new file you created: [PHP]<?php $ip = isset($_SERVER['HTTP_CF_CONNECTING_IP']) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : $_SERVER['REMOTE_ADDR']; $res = file_get_contents("http://SITEISHERE/validate.php?user=MYNAMEISHEREe&ip=".$ip); if($res != 1 && $res != 2){ header("Location: https://findretros.com/rankings/vote/MYNAMEISHERE"); } ?>[/PHP] Step 3: Add the following code to the top of your client.php: [PHP]<?php include 'forcevote.php'; ?>[/PHP] Try that. [COLOR=#ff0000][B]AND PLEASE, IF YOU'RE USING {HOTELURL} TO LINK YOUR URL TO YOUR PAGES DON'T, USE {URL} [/B][/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
'This page isn't working'
Top