Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 16:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[MiniRelease] Responsive Register page

Discussion on [MiniRelease] Responsive Register page within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 46
Received Thanks: 9
[MiniRelease] Responsive Register page

Hey guys, this is pretty much my first small-ish release ever. I have noticed on many private server websites that there are links that say "Click HERE to register" and it is just a link to a reg page hosted off of their host. But when you click it, it usually sits there unresponsive because their computer is off. So.

PHP Code:
<?php
$ip 
"Your IP Here. No http://";
$port "80";
if (! 
$sock = @fsockopen($ip$port$num$error2))
echo 
"<font color='red'>The host computer is off. Please try later.</font>";
else{
echo 
'<iframe src="http://Your IP again/YourRegisterPage.php" frameborder="0" height="Height" width="100%" scrollable="no"> Your Browser Does not support iframes!</iframe>';
fclose($sock);
}
?>
Now just change the parts that correspond to your server.
PHP Code:
<?php
$ip 
"68.253.76.228";
$port "80";
if (! 
$sock = @fsockopen($ip$port$num$error2))
echo 
"<font color='red'>We are sorry, the host is offline. Check back later.</font>";
else{
echo 
'<iframe src="http://68.253.76.228/Register.php" frameborder="0" height="100" width="100%" scrollable="no"> Your Browser Does not support iframes, Sorry!</iframe>';
fclose($sock);
}
?>
Remember, this is an iframe so you might need to change the height to match your needs. ** Also, the 2 after $error is how long it waits before timing out, it could be one but this is just so that if it cant connect to the socket it could be because of high traffic.
iRook is offline  
Thanks
4 Users
Old 01/22/2010, 02:57   #2
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Goodjob =P
.Ryu is offline  
Old 02/12/2010, 15:07   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 31
Received Thanks: 13
Thanks
paralyzer2 is offline  
Old 02/12/2010, 16:53   #4
 
elite*gold: 0
Join Date: Jan 2010
Posts: 31
Received Thanks: 13
HELP

This is my code
Code:
<?php
$ip = "5.251.83.226";
$port = "80";
if (! $sock = @fsockopen($ip, $port, $num, $error, 2))
echo "<font color='red'>We are sorry, the host is offline. Check back later.</font>";
else{
echo '<iframe src="http://5.251.83.226/regpage.php" frameborder="0" height="100" width="100%" scrollable="no"> Your Browser Does not support iframes, Sorry!</iframe>';
fclose($sock);
}
?>
And here is a screenshot

paralyzer2 is offline  
Old 02/14/2010, 03:10   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Why does everyone have it set to open a regpage in a new window? XD is it like tradition or something
LegalConquer is offline  
Old 09/17/2010, 15:13   #6
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
Very good and easy to use!

This need a #bump as I know people will use it
_DreadNought_ is offline  
Thanks
1 User
Old 09/17/2010, 15:33   #7
 
FrontBoy's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 275
Received Thanks: 142
Thanks dude!
FrontBoy is offline  
Old 09/17/2010, 18:06   #8
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
Nothing new.
Basser is offline  
Old 09/17/2010, 20:19   #9
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
^ This hasn't been released before.
_DreadNought_ is offline  
Reply

Tags
register page


Similar Threads Similar Threads
can anyone get my register page?
06/22/2010 - CO2 Private Server - 2 Replies
if anyone knows my ip can he get my register page? and if he can how can i make it impossible to download my registe page plz help meh
[Help]Register Page
05/03/2009 - Dekaron Private Server - 14 Replies
Hey ... Can U Help Me With That Error ? My Register Page : http://img156.imageshack.us/img156/5716/registerp lagel.th.jpg *i fill all infos then press Regitser .... ----------------------------------
Register Page
04/25/2009 - EO PServer Hosting - 6 Replies
does anyone have a good register page for eudemons online servers and instuctions on how to install it?



All times are GMT +1. The time now is 16:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.