Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Don't knw why my site is apearing this way


Don't knw why my site is apearing this way

Reply
  #1 (permalink)  
Old 01-30-10, 10:14 PM
ballmoney ballmoney is offline
New Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Don't knw why my site is apearing this way

I think the styles page didn't load .. but maybe someone will be able to determine if you look at the site. Thanks

<<<link removed>>>

Last edited by wirehopper; 01-30-10 at 10:57 PM. Reason: Link removed
Reply With Quote
  #2 (permalink)  
Old 01-30-10, 10:57 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Please post the HTML.

Clicking on the link yielded a security warning under IE7.
Reply With Quote
  #3 (permalink)  
Old 01-30-10, 11:58 PM
ballmoney ballmoney is offline
New Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I have fixed that but I cannot register . This is the registering page. Register for an Account - www.upload.grestestblogsever.com

This is my page code
Quote:
<?php
include_once("config.php");

$ptitle = "Register for an Account";
$pkeys = "register, hosting, free file host, file host, upload host, upload picture";
$pdesc = "Register for an Account";
$selected = "REGISTER";

if($_REQUEST['regsubmit']) {

$reguser = trim(strtolower($_REQUEST['reguser']));
$regemail = trim(strtolower($_REQUEST['regemail']));
$regcemail = trim(strtolower($_REQUEST['regcemail']));

if(strlen($reguser) < 6) $error = "Minimum username length is 6 characters.<br>";
elseif(strlen($reguser) > 20) $error = "Maximum username length is 20 characters.<br>";
elseif(strlen($regemail) == 0) $error = "Please enter your email address.<br>";
elseif(valid_email($regemail) == FALSE) $error = "Your email address does not appear to be valid.<br>";
elseif($regemail != $regcemail) $error = "Your confirmation email address does not match.<br>";
else {
// check username
$check_user = mysql_query("SELECT COUNT(id) AS total FROM users WHERE username = '".preparedata($reguser)."' LIMIT 1");
$total = mysql_result($check_user, 0, total);
if($total > 0) $error = "An account already exists with that username, please try another.<br>";
else {
// check password
$check_pass = mysql_query("SELECT COUNT(id) AS total FROM users WHERE emailadd = '".preparedata($regemail)."' LIMIT 1");
$total = mysql_result($check_pass, 0, total);
if($total > 0) $error = "An account already exists with that email address, please try another or login to your existing account.<br>";
}
}

if(strlen($error) == 0) {
$password = MakeRandomString(7);
$cookiekey = MakeRandomString(254);
$domain = GetHostByName($REMOTE_ADDR);
$insert_user = mysql_query("INSERT INTO users (username, password, emailadd, signupip, signupdate, status, cookiekey) VALUES ('".preparedata($reguser)."', MD5('".preparedata($password)."'), '".preparedata($regemail)."', '".preparedata($domain)."', NOW(), 'freeacc', '".preparedata($cookiekey)."')");
if($insert_user) {
// add default folder
$userid = mysql_insert_id();
$insert_folder = mysql_query("INSERT INTO folders (userid, foldername) VALUES (".$userid.", 'default')");

$to = $regemail;
$subject = "Your access details for ".$site_name;
$content = "Hi\n\n";
$content .= "Thanks for signing up for an account on ".$site_name.". You can now manage your uploads using the login information below:\n\n";
$content .= "Url: http://".$site_url."\n";
$content .= "Username: ".$reguser."\n";
$content .= "Password: ".$password."\n\n";
$content .= "Remember to upgrade your account once you login to give you full premium access to our services.\n\n";
$content .= "Thanks again,\n";
$content .= $site_name."\n";
$content .= $site_url;

$done = send_email($to, $subject, $content);
$success = "Congratulations, your account is now setup. Please check your email address for your login details to access our unique members area.";
}
}

}

include("header.php");
?>

<table width="100%" cellpadding="10" cellspacing="0"><tr><td valign="top">
<b>Register for a Premium Account:</b><br><br>
You can register for a premium account by using this form and submitting payment on the following page. <b>Important:</b> If you are extending an account, <a href="login.html">please login</a> and choose the relevant option from your members area.<br><br>

<hr>
<br>

<?php

if(strlen($error) > 0) echo show_error($error)."<br><br>";
elseif(strlen($success) > 0) {
echo show_success($success)."<br><br>";
echo "<hr></td></tr></table>";
include("footer.php");
exit;
die();
}

?>

<table width="80%" cellpadding="2" cellspacing="0" align="center">
<form method="POST" action="register.html">
<tr><td style="padding-top:2px;" style="border-bottom:1px solid #EBEBEB;" align="right"><b>Preferred Username:</b></td><td bgcolor="#EBEBEB" style="border-bottom:1px solid #FFFFFF;"><input name="reguser" value="<?php echo $reguser; ?>" type="text" style="width:150px;font-size:12px;padding:3px;border:1px solid #999999;"></td></tr>

<tr><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr><td style="padding-top:2px;" style="border-bottom:1px solid #EBEBEB;" align="right"><b>Email Address:</b></td><td bgcolor="#EBEBEB" style="border-bottom:1px solid #FFFFFF;"><input name="regemail" value="<?php echo $regemail; ?>" type="text" style="width:150px;font-size:12px;padding:3px;border:1px solid #999999;"></td></tr>
<tr><td style="padding-top:2px;" style="border-bottom:1px solid #EBEBEB;" align="right">Confirm Email Address:</td><td bgcolor="#EBEBEB" style="border-bottom:1px solid #FFFFFF;"><input name="regcemail" value="<?php echo $regcemail; ?>" type="text" style="width:150px;font-size:12px;padding:3px;border:1px solid #999999;"></td></tr>

<tr><td></td><td style="padding-top:8px;"><input name="submit" value="Register" type="submit" class="loginbutton"></td></tr>
<input name="regsubmit" value="1" type="hidden">
</form>
</table>
<br>
<hr>
<br>

<div align="center"><b>Account Features:</b><br><br></div>

<table width="65%" cellpadding="10" cellspacing="0" align="center" style="border:1px solid #4A7933;">
<tr><td valign="top" bgcolor="#CFDCC8"><b>Feature:</b></td><td valign="top" width="100" align="center" bgcolor="#CFDCC8"><b>Premium:</b></td><td valign="top" width="100" align="center" bgcolor="#CFDCC8"><b>Free:</b></td></tr>

<tr><td valign="top" style="border-top:1px solid #4A7933;"><b>Download Limit</b></td><td valign="top" width="100" align="center" style="border-top:1px solid #4A7933;"><?php if($pre_max_download_size == 0) echo "unlimited"; else echo display_size($pre_max_download_size); ?></td><td valign="top" width="100" align="center" style="border-top:1px solid #4A7933;"><?php if($noa_max_download_size == 0) echo "unlimited"; else echo display_size($noa_max_download_size); ?></td></tr>

<tr><td valign="top" bgcolor="#CFDCC8" style="border-top:1px solid #4A7933;"><b>Upload Limit</b></td><td valign="top" width="100" align="center" bgcolor="#CFDCC8" style="border-top:1px solid #4A7933;"><?php if($pre_max_upload_size == 0) echo "unlimited"; else echo display_size($pre_max_upload_size); ?></td><td valign="top" width="100" align="center" bgcolor="#CFDCC8" style="border-top:1px solid #4A7933;"><?php if($noa_max_upload_size == 0) echo "unlimited"; else echo display_size($noa_max_upload_size); ?></td></tr>

<tr><td valign="top" style="border-top:1px solid #4A7933;"><b>Download Delay (seconds)</b></td><td valign="top" width="100" align="center" style="border-top:1px solid #4A7933;"><?php if($pre_dl_delay_link == 0) echo "none"; else echo $pre_dl_delay_link; ?></td><td valign="top" width="100" align="center" style="border-top:1px solid #4A7933;"><?php if($noa_dl_delay_link == 0) echo "none"; else echo $noa_dl_delay_link; ?></td></tr>

<tr><td valign="top" bgcolor="#CFDCC8" style="border-top:1px solid #4A7933;"><b>On Screen Advertising</b></td><td valign="top" width="100" align="center" bgcolor="#CFDCC8" style="border-top:1px solid #4A7933;">no</td><td valign="top" width="100" align="center" bgcolor="#CFDCC8" style="border-top:1px solid #4A7933;">yes</td></tr>

<tr><td valign="top" style="border-top:1px solid #4A7933;"><b>When are Files Deleted</b></td><td valign="top" width="100" align="center" style="border-top:1px solid #4A7933;"><?php if($pre_days_keep_files == 0) echo "never"; else echo $pre_days_keep_files." days"; ?></td><td valign="top" width="100" align="center" style="border-top:1px solid #4A7933;"><?php if($noa_days_keep_files == 0) echo "never"; else echo $noa_days_keep_files." days"; ?></td></tr>
</table>

<br><br>
<div align="center"><b>Premium Account Cost:</b><br><br></div>

<table width="65%" cellpadding="10" cellspacing="0" align="center" style="border:1px solid #4A7933;">
<tr><td valign="top" bgcolor="#CFDCC8"><b>Period:</b></td><td valign="top" width="130" align="center" bgcolor="#CFDCC8"><b>Cost:</b></td><td valign="top" width="130" align="center" bgcolor="#CFDCC8"><b>Payment Types:</b></td></tr>

<?php
foreach($cost_array AS $value) {
echo '<tr><td style="border-top:1px solid #4A7933; font-size:12px;"><b>'.$value[humanperiod].'</b></td><td align="center" style="border-top:1px solid #4A7933; font-size:12px;">$'.$value[cost].'</td><td valign="top" align="center" style="border-top:1px solid #4A7933;"><img src="images/paypal.jpg" width="81" height="23" alt="PayPal"></td></tr>';
}
?>

</table>

<br><br>

</td></tr></table>
<?php
include("footer.php");
?>
Reply With Quote
  #4 (permalink)  
Old 01-31-10, 09:34 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Quote:
I have fixed that but I cannot register .
What happens if you try?

If you put these statements at the beginning of your PHP files, you'll see the error output.

PHP Code:

ini_set('display_errors',1);

error_reporting(E_ALL|E_STRICT); 
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 Bug? My center column drops to footer position goatchaps CSS 5 08-31-07 12:15 PM
How to get Indexed in Google Quickly rorycanyon General Advertisements 3 03-21-07 09:11 AM
Help with Google sn0wy The Lounge 6 12-23-06 09:55 AM
Need a gaming site as a partner site TellMe Traffic Exchange 0 07-28-04 07:30 AM


All times are GMT -5. The time now is 09:11 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.