Jump to content

shank888

Members
  • Posts

    119
  • Joined

  • Last visited

Everything posted by shank888

  1. Hi, I know this may be a Joomla based site and I purchased the main template from shape5.com however I am looking for general look and feel critique. Things like is your first impression good? Do you know what it is right when you arrive at the page etc. As well I am looking for broken links and to see if all the pages look good as I had to add and customize some extensions. Looking to check in all browsers and mobile devices including tablets. Is all the grammar good and working? I know about the broken links on the main page. Anyways you can see my site here: http://shakerbash.com/?beta_view=1 Username: demo Password: demo thanks in advance
  2. I am looking at making a photogallery system for an online community based site. I know that we need to have unique id's , photo names and albums. What i am looking for is: Would it be recommended to create a directory for each user once they are registerd? How would you go about naming and sorting photogralleries? How would you go about naming you photos? How would you do it? I was thinking about a uuid kind of code: ( from php.net) class UUID { public static function v3($namespace, $name) { if(!self::is_valid($namespace)) return false; // Get hexadecimal components of namespace $nhex = str_replace(array('-','{','}'), '', $namespace); // Binary Value $nstr = ''; // Convert Namespace UUID to bits for($i = 0; $i < strlen($nhex); $i+=2) { $nstr .= chr(hexdec($nhex[$i].$nhex[$i+1])); } // Calculate hash value $hash = md5($nstr . $name); return sprintf('%08s-%04s-%04x-%04x-%12s', // 32 bits for "time_low" substr($hash, 0, , // 16 bits for "time_mid" substr($hash, 8, 4), // 16 bits for "time_hi_and_version", // four most significant bits holds version number 3 (hexdec(substr($hash, 12, 4)) & 0x0fff) | 0x3000, // 16 bits, 8 bits for "clk_seq_hi_res", // 8 bits for "clk_seq_low", // two most significant bits holds zero and one for variant DCE1.1 (hexdec(substr($hash, 16, 4)) & 0x3fff) | 0x8000, // 48 bits for "node" substr($hash, 20, 12) ); } public static function v4() { return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', // 32 bits for "time_low" mt_rand(0, 0xffff), mt_rand(0, 0xffff), // 16 bits for "time_mid" mt_rand(0, 0xffff), // 16 bits for "time_hi_and_version", // four most significant bits holds version number 4 mt_rand(0, 0x0fff) | 0x4000, // 16 bits, 8 bits for "clk_seq_hi_res", // 8 bits for "clk_seq_low", // two most significant bits holds zero and one for variant DCE1.1 mt_rand(0, 0x3fff) | 0x8000, // 48 bits for "node" mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff) ); } public static function v5($namespace, $name) { if(!self::is_valid($namespace)) return false; // Get hexadecimal components of namespace $nhex = str_replace(array('-','{','}'), '', $namespace); // Binary Value $nstr = ''; // Convert Namespace UUID to bits for($i = 0; $i < strlen($nhex); $i+=2) { $nstr .= chr(hexdec($nhex[$i].$nhex[$i+1])); } // Calculate hash value $hash = sha1($nstr . $name); return sprintf('%08s-%04s-%04x-%04x-%12s', // 32 bits for "time_low" substr($hash, 0, , // 16 bits for "time_mid" substr($hash, 8, 4), // 16 bits for "time_hi_and_version", // four most significant bits holds version number 5 (hexdec(substr($hash, 12, 4)) & 0x0fff) | 0x5000, // 16 bits, 8 bits for "clk_seq_hi_res", // 8 bits for "clk_seq_low", // two most significant bits holds zero and one for variant DCE1.1 (hexdec(substr($hash, 16, 4)) & 0x3fff) | 0x8000, // 48 bits for "node" substr($hash, 20, 12) ); } public static function is_valid($uuid) { return preg_match('/^\{?[0-9a-f]{8}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?'. '[0-9a-f]{4}\-?[0-9a-f]{12}\}?$/i', $uuid) === 1; } } // Usage // Named-based UUID. $v3uuid = UUID::v3('1546058f-5a25-4334-85ae-e68f2a44bbaf', 'SomeRandomString'); $v5uuid = UUID::v5('1546058f-5a25-4334-85ae-e68f2a44bbaf', 'SomeRandomString'); // Pseudo-random UUID $v4uuid = UUID::v4();
  3. I added the CSS reset as suggested in one of the stickies . I have managed to fix some errors in other pages but this one still seems to get me anyways changed the code as follows (not many changes): /** Forum CSS for thread view **/ div.thrd_borders { width: 868px; border-left: 1px solid #6498D5; border-right: 1px solid #6498D5; } div.thrd_container_withline { position: relative; width: 868px; height: 28px; min-height:28px; border-bottom: 1px solid #C3C8CC; } div.thrd_container_noline { position: relative; width: 868px; height: 28px; min-height:28px; } div.thrd_image_container { width: 26px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: relative; top: 14px; left: 0px; } div.thrd_image_alignment { width: 16px; height: 16px; position: relative; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px; } div.thrd_subject_WithoutPages { width: 525px; height: 28px; min-height: 28px; border-right: 1px solid #C3C8CC; position: relative; top: 0px; left: 27px; text-align: left; line-height: 28px; } div.thrd_subject_WithPages { width: 525px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: relative; top: 0px; left: 27px; text-align: left; } div.thrd_Replies_container { width: 60px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 553px; } div.thrd_RepliesAndViews_CountAlignment { width: 100%; height: 1em; position: absolute; top: 50%; left: 0px; margin-top: -0.3em; } div.thrd_RepliesAndViews_TitleAlignment { width: 100%; position: relative; left: 0px; top: 0px; } div.thrd_Views_container { width: 60px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 614px; } div.thrd_LastPost_container { width: 193px; height: 28px; min-height:28px; position: absolute;; top: 20%; right: 0px; text-align: left; }
  4. I am making a secure registration for my website and looking for a function that will verify with a user inputted date exists. From my registration html form I am putting a month, day and year , each inputted separately into a single variable: $bday = $year . "-" . $month . "-" . $day; My birthday input looks like: <div class=\"Container FormBoxLeft\"> <b>Birthdate:</b> </div> <div class=\"Container FormBoxRight\"> <select name=\"month\"><option value=\"\">-Month-</option> <option value=\"01\">January</option> <option value=\"02\">February</option> <option value=\"03\">March</option> <option value=\"04\">April</option> <option value=\"05\">May</option> <option value=\"06\">June</option> <option value=\"07\">July</option> <option value=\"08\">August</option> <option value=\"09\">September</option> <option value=\"10\">October</option> <option value=\"11\">November</option> <option value=\"12\">December</option> </select> <select name=\"day\"> <option value=\"\"> -Day-</option>'; //Print 31 Days "; for ($x=1; $x<=31; $x++) { echo "<option value='".$x."'"; if(isset($_POST['submit']) && $day == $x) { echo " selected"; } echo ">".$x."</option>\n"; } echo "</select> <input name=\"year\" size=\"2\" maxlength=\"4\" type=\"text\"> So.. What I am asking is.. is there a secure way to check if the date the user inputted exists, or is there a better way to make the form more secure from that part. Upon finding the users birthdate I am also wanting to check if the user is a certain age.
  5. I have tried switching up the positioning and still have some errors: http://communitycouch.com/index.php?action=viewboard&board=1a I tried fooling around with a bit and cannot find anything... It use to work 100% fine for all browsers :S
  6. thrd_subject_WithoutPages how ever it should look like this: http://communitycouch.com/index.php?action=forum
  7. shank888

    Disappear

    I see no code so I am just shooting blind here. have you tried putting the content into another div tag and using: overflow:scroll; Example: div { width:150px; height:150px; overflow:scroll; }
  8. My minimum height is not working on my page: http://communitycouch.com/index.php?action=viewboard&board=1a It use to be working, am I blind and missing something simple? or am I dumb? MY CSS IS HERE: /** Forum CSS for thread view **/ div.thrd_borders { width: 868px; border-left: 1px solid #6498D5; border-right: 1px solid #6498D5; } div.thrd_container_withline { position: relative; width: 868px; height: 28px; min-height:28px; border-bottom: 1px solid #C3C8CC; } div.thrd_container_noline { position: relative; width: 868px; height: 28px; min-height:28px; } div.thrd_image_container { width: 26px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 0px; } div.thrd_image_alignment { width: 16px; height: 16px; position: absolute; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px; } div.thrd_subject_WithoutPages { width: 525px; height: 28px; min-height: 28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 27px; text-align: left; line-height: 28px; } div.thrd_subject_WithPages { width: 525px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 27px; text-align: left; } div.thrd_Replies_container { width: 60px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 553px; } div.thrd_RepliesAndViews_CountAlignment { width: 100%; height: 1em; position: absolute; top: 50%; left: 0px; margin-top: -0.3em; } div.thrd_RepliesAndViews_TitleAlignment { width: 100%; position: absolute; left: 0px; top: 0px; } div.thrd_Views_container { width: 60px; height: 28px; min-height:28px; border-right: 1px solid #C3C8CC; position: absolute; top: 0px; left: 614px; } div.thrd_LastPost_container { width: 193px; height: 28px; min-height:28px; position: absolute; top: 0px; right: 0px; text-align: left; } My HTML IS HERE: <div class='thrd_borders'> <!-- Begin individual thread --> <div class='".thrd_container_withline."'> <div class='thrd_image_container'> <div class='thrd_image_alignment'><img src="gfx/skin1/f-icon/n-post.png"> </div> </div><div class='thrd_subject_WithoutPages'> <a href='index.php?action=viewthread&board=1a&thread=22e23b8fe5257b4572efcac9095a392a'>wooo test</a> <font class='frm_SmallTextLabels'>Created by: Shank</font><div class='frm_adminfunctions'> <a href='index.php?action=delthread&board=1a&thread=22e23b8fe5257b4572efcac9095a392a'>[delete]</a> </div></div> <div class='thrd_Replies_container'> <div class='thrd_RepliesAndViews_CountAlignment'> 1 </div> <div class='thrd_RepliesAndViews_TitleAlignment'> <font class='frm_SmallTextLabels'>Replies</font> </div> </div> <div class='thrd_Views_container'> <div class='thrd_RepliesAndViews_CountAlignment'>1 </div> <div class='thrd_RepliesAndViews_TitleAlignment'> <font class='frm_SmallTextLabels'>Views</font> </div> </div> <div class='thrd_LastPost_container'> <font class='frm_SmallText'> Last post by <i>Shank</i><br /> Dec 20, 2011 @ 9:36 pm </font> </div> </div>
  9. shank888

    MySQL

    I have the code snippet below trying to check my database if a variable exists, it seems to work for the username but not for the email. The database name is "communitycouch_users" table is "reg_vars" to check the row: email. the variable $email is coming from my form. Upon form submission it will submit the data into the database regardless it exists. $email= $_POST['email']; $username= $_POST['username']; // Check if the email and username exist already if(MysqlVarExists("communitycouch_users", "reg_vars", "email", $email) == true) { $errors_code["existing_email"] = "That email is already being used."; } if(MysqlVarExists("communitycouch_users", "reg_vars", "username", $username) == true) { $error_code["existing_username"] = "That username is already in use."; }
  10. Okay, that works lots and I cleaned up my code, now I am trying to add a verification to a radio button. I tried googling it but I can't seem to find what I am looking for. In the updated code below the radio button always seems to come up as empty weather or not you check it. I have been using empty(), is there another function i should use? As well whats the best way to verify if a birthday is correct? <?php if($action == 'register') { if( strtolower($_SERVER['REQUEST_METHOD']) === 'post' ) { $password1 = sha1($_POST['password']); $password2 = sha1($_POST['cpassword']); $month = StripSpecialChars($_POST['month']); $day = StripSpecialChars($_POST['day']); $year = StripSpecialChars($_POST['year']); $bday = $year . "-" . $month . "-" . $day; $reg_date = date("Y-m-d H:i:s"); $pattern = '([[:digit:]]|[~`!@#$%^&*()_=+{}|\:;"/?,]|[|]|-)+'; $fname = stripslashes($_POST['f_name']); $lname = stripslashes($_POST['l_name']); $disp_emai= $_POST['disp_email']; // Check if names are valid if (ereg($pattern,$fname) || ereg($pattern,$lname)) { $errors_code["name"] = "Names must be letters only."; } // Check if the email and username exist already if(MysqlVarExists("communitycouch_users", "reg_vars", "email", $email) == true) { $errors_code["existing_email"] = "That email is already being used."; } if(MysqlVarExists("communitycouch_users", "reg_vars", "username", $username) == true) { $error_code["existing_username"] = "That username is already in use."; } //Check username length and special characters if(!ereg("[[:alnum:]]{4,20}",stripslashes(trim($_POST['username'])))) { $error_code["username_length"] = "Username must contain only letters and numbers."; } // Check for Valid E-mail Address if (!eregi('^[a-zA-Z]+[a-zA-Z0-9_-]*@([a-zA-Z0-9]+){1}(\.[a-zA-Z0-9]+){1,2}', stripslashes(trim($_POST['email'])) ) || empty($_POST['email'])) { $error_code["incorrect_email"] = "Please provide a valid E-mail."; } // Check for matching passwords if($password1 != $password2) { $error_code["password_match"] = "Passwords do not match."; } // Make sure the year is also numeric & Valid if (empty($year) || (eregi("[0-9]{4}", $year) == false) || $year >= 2012) { $error_code["year"] = "Invalid year"; } // Make sure user checks if they want e-mail public if(empty($disp_email)) { $error_code["disp_email"] = "You must choose whether you want your e-mail public."; } // Check if terms of service is checked if (empty($tos)) { $error_code["tos"] = "You must agree to the Terms of Service to register."; } //// If there is errors lets list them, if not lets instert some values into the database if(count($error_code) == 0) { ///If there is no errors we will create a unique activation code $a = md5(uniqid(rand(), true)); // go into the users database @mysql_select_db("communitycouch_users") or die( "Unable to select database"); // Create the query and submit it $query = "INSERT INTO `reg_vars` VALUES('$email', '$username', '$f_name', '$l_name', '$bday', '$disp_email', '$reg_date', '$password', 'Member', '$a')"; mysql_query($query) or die(mysql_error()); ///// Send Activation E-mail! $body = "Thank you for registering a new Community Couch account. To activate your account, please click on this link:\n\n"; $body .= "http://www.communitycouch.com/activate.php?x=" . mysql_insert_id() . "&y=$a"; mail($_POST['email'], 'Registration Confirmation', $body, 'From: noreply@communitycouch.com'); ////////// Show thank you message echo '<h3>Thank You!</h3> You have been registered, you have been sent an e-mail to the address you specified. Please check your e-mail to activate your account.'; } else { echo "<b>ERROR!</b><br />"; foreach($error_code as $value) { echo $value . "<br />"; } } }//////////Quote for Form Submit echo " <div id=\"register_container\" class=\"Container\"> <div id=\"register_Center\" class=\"BoxCenter\"> "; echo" <div id=\"register_BoxContainer\" class=\"Container\"> <div class=\"HeaderLeft\"></div><div id=\"register_Header\" class=\"HeaderCenter\">Register for Community Couch</div><div class=\"HeaderRight\"></div><br /> <div id=\"register_Content\" class=\"BoxContent\"> <form name=\"reg_form\" action=\"";$_SERVER['PHP_SELF']; echo"\" method=\"post\" style=\"margin: 0;\"> <div class=\"Container FormBoxLeft\"> <b>Username:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"username\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>First Name:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"f_name\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Last Name:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"l_name\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Birthdate:</b> </div> <div class=\"Container FormBoxRight\"> <select name=\"month\"><option value=\"\">-Month-</option> <option value=\"01\">January</option> <option value=\"02\">February</option> <option value=\"03\">March</option> <option value=\"04\">April</option> <option value=\"05\">May</option> <option value=\"06\">June</option> <option value=\"07\">July</option> <option value=\"08\">August</option> <option value=\"09\">September</option> <option value=\"10\">October</option> <option value=\"11\">November</option> <option value=\"12\">December</option> </select> <select name=\"day\"> <option value=\"\"> -Day-</option>'; //Print 31 Days "; for ($x=1; $x<=31; $x++) { echo "<option value='".$x."'"; if(isset($_POST['submit']) && $day == $x) { echo " selected"; } echo ">".$x."</option>\n"; } echo "</select> <input name=\"year\" size=\"2\" maxlength=\"4\" type=\"text\"> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>E-Mail:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"email\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Display E-Mail to the Public:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"disp_email\" value=\"yes\" type=\"radio\" /> Yes <input name=\"disp_email\" value=\"no\" type=\"radio\" checked /> No </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Password:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"password\" size=\"30\" type=\"password\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Confirm Password:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"cpassword\" size=\"30\" type=\"password\" /> </div> <br class=\"EndColumn\" /> <div id=\"register_submit\" class=\"Container\"> <input name=\"tos\" type=\"checkbox\" /> I have read and agree to the Terms of Use and Privacy Policy<br /> <input type=\"submit\" value=\"Submit\" name=\"submit\"><input type=\"reset\" value=\"Reset\"> </div> <br class=\"EndColumn\" /> </form> </div> <div class=\"FooterLeft\"></div><div id=\"register_Footer\" class=\"FooterCenter\"></div><div class=\"FooterRight\"></div> </div> </div> </div> <br class=\"EndColumn\" /> <br />"; } /////////Quote for Action= Register[\code]
  11. I have never seen that function before, would that replace my if (isset($_POST['submit'])) {?
  12. I'll try that, all the pages are included in my index.php file, the variable is defined in there: $action = $_GET['action'];
  13. I have a form that is not doing anything after I click "submit". The code is below and a demo with the code is here: http://communitycouch.com/index.php?action=register <?php /* Things to do: Create error to show error when special characters are inputted in First and Last Name Fields Verify Dates to be true upon submit (for bithdays) Create birthday variable to be submitted into database, also add is_numberic() change activate.php to index?action=activate */ if($action == 'register') { if (isset($_POST['submit'])) { $errors = array(); require_once('connection.php'); //////////Checks Username //////////Makes sure username is 4-20 characters and contains only letters and numbers if(ereg("[[:alnum:]]{4,20}",stripslashes(trim($_POST['username'])))) { $user = mysql_real_escape_string($_POST['username']); $query = "SELECT username FROM reg_vars WHERE username = '$username'"; $result = @mysql_query($query); $num = @mysql_num_rows($result); if ($num> 0) { $errors[] = '<font color="red">The username you have chosen has already been taken, please try again.</font>'; } else { $username = mysql_real_escape_string($_POST['username']); } } else { $errors[] = '<font color="red">Please provide a valid username between 4 and 30 characters.</font>'; } //////////Checks E-mail if (!eregi('^[a-zA-Z]+[a-zA-Z0-9_-]*@([a-zA-Z0-9]+){1}(\.[a-zA-Z0-9]+){1,2}', stripslashes(trim($_POST['email'])) ) || empty($_POST['email'])) { $errors[] = '<font color="red">Please provide a valid email address.</font>'; } else { $email = mysql_real_escape_string($_POST['email']); } ///////// Check Names if (empty($f_name)) { $error["f_name"] = "First Name is blank."; } if (empty($l_name)) { $error["l_name"] = "Last Name is blank."; } ////////// Check PASSWORDS if (!empty($_POST['password'])) { if ($_POST['password'] != $_POST['cpassword']) { $errors[] = '<font color="red">The passwords you have entered do not match.</font>'; } else { $password = $_POST['password']; } } else { $errors[] = '<font color="red">Please provide a password.</font>'; } /////////Send Activation E-mail //////// Add Birthday to the registrarion Variables if (empty($errors)) { $a = md5(uniqid(rand(), true)); $query = "INSERT INTO reg_vars (username, f_name, l_name, email, password, active) VALUES ('$username', '$email', SHA1('$password'), '$a')"; $result = @mysql_query($query); if (mysql_affected_rows() == 1) { ////////// Send the Activation email $body = "Thank you for registering at the User Registration site. To activate your account, please click on this link:\n\n"; $body .= "http://www.communitycouch.com/activate.php?x=" . mysql_insert_id() . "&y=$a"; mail($_POST['email'], 'Registration Confirmation', $body, 'From: noreply@communitycouch.com'); ////////// Show thank you message echo '<h3>Thank You!</h3> You have been registered, you have been sent an e-mail to the address you specified before. Please check your e-mails to activate your account.'; } else { echo '<font color="red">You could not be registered, please contact us about the problem and we will fix it as soon as we can.</font>'; } } else { echo '<h3>Error!</h3> The following error(s) occured:<br />'; foreach ($errors as $msg) { echo " <div id=\"success_or_fail\"><font color=\"red\">$msg</font><br />\n</div>"; } } } echo " <div id=\"register_container\" class=\"Container\"> <div id=\"register_Center\" class=\"BoxCenter\"> "; echo" <div id=\"register_BoxContainer\" class=\"Container\"> <div class=\"HeaderLeft\"></div><div id=\"register_Header\" class=\"HeaderCenter\">Register for Community Couch</div><div class=\"HeaderRight\"></div><br /> <div id=\"register_Content\" class=\"BoxContent\"> <form name=\"reg_form\" action=\"";$_SERVER['PHP_SELF']; echo"\" method=\"post\" style=\"margin: 0;\"> <div class=\"Container FormBoxLeft\"> <b>Username:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"username\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>First Name:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"f_name\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Last Name:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"l_name\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Birthdate:</b> </div> <div class=\"Container FormBoxRight\"> <select name=\"month\"><option value=\"\">-Month-</option> <option value=\"01\">January</option> <option value=\"02\">February</option> <option value=\"03\">March</option> <option value=\"04\">April</option> <option value=\"05\">May</option> <option value=\"06\">June</option> <option value=\"07\">July</option> <option value=\"08\">August</option> <option value=\"09\">September</option> <option value=\"10\">October</option> <option value=\"11\">November</option> <option value=\"12\">December</option> </select> <select name=\"day\"> <option value=\"\"> -Day-</option>'; //Print 31 Days "; for ($x=1; $x<=31; $x++) { echo "<option value='".$x."'"; if(isset($_POST['submit']) && $day == $x) { echo " selected"; } echo ">".$x."</option>\n"; } echo "</select> <input name=\"year\" size=\"2\" maxlength=\"4\" type=\"text\"> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>E-Mail:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"email\" size=\"30\" type=\"text\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Display E-Mail to the Public:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"disp_email\" value=\"yes\" type=\"radio\" /> Yes <input name=\"disp_email\" value=\"no\" type=\"radio\" checked /> No </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Password:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"password\" size=\"30\" type=\"password\" /> </div> <br class=\"EndColumn\" /> <div class=\"Container FormBoxLeft\"> <b>Confirm Password:</b> </div> <div class=\"Container FormBoxRight\"> <input name=\"cpassword\" size=\"30\" type=\"password\" /> </div> <br class=\"EndColumn\" /> <div id=\"register_submit\" class=\"Container\"> <input name=\"tos\" type=\"checkbox\" /> I have read and agree to the Terms of Use and Privacy Policy<br /> <input type=\"submit\" value=\"Submit\"><input type=\"reset\" value=\"Reset\"> </div> <br class=\"EndColumn\" /> </form> </div> <div class=\"FooterLeft\"></div><div id=\"register_Footer\" class=\"FooterCenter\"></div><div class=\"FooterRight\"></div> </div> </div> </div> <br class=\"EndColumn\" /> <br />"; }?> [\code]
  14. Proof of ownership : http://spasso.mobi/phpfreaks.txt
  15. I am looking to test an online community, basic code is by Elgg, and then I modded it heavily, I am mostly wondering if the new modifications are secure. Test what you wish? Just dont break it fully, please http://spasso.mobi/elgg
  16. Basic community source is by Elgg, but I have done some mods to it. Most things I am after is how user friendly the site it, and any feature suggestions you would suggest to make the site more feature rich / user friendly. http://spasso.mobi/elgg
  17. Hi, is there anyway to make an sms server or gateway like you may see on tv. I am looking to have php send out going text messages to phones. but the user must first text in a number. kinda of like you see on tv like text "CRUSH" to 55455.
  18. Hey guys! I just did a major release to my website and I would love to hear some feedback from you all. If there is any negative feedback please explain yourself and point of view fully. http://communitycouch.net/ thank you P.S I'd love some support and regular posters.
  19. Please beta test my site. some of you may have tested it previously. PLEASE NOTE: THIS IS AN OPERATIONAL SITE, PLEASE BETA TEST IN BETA TESTING AREA ONLY! site is: http://CommunityCouch.net --==([ NEW FEATURES ])==-- ------------------------------ * User control panel html is completed * User control panel ajax work is functional, but could be improved * Ability to modify profile * Post counts are now in effect * Ability to view latest posts in user cp * UPDATE: Improved some of the coding, should put slightly less strain on database * UPDATE: Added a function to check if the post no longer exists so there won't be false entries * Page numbers completed on board view * Page numbers completed on thread view * New/Old images for board view * New/Old images for thread view * Page numbers for individual threads display in the thread index view * User variables now display in the post view * User ranks are completed --==([ BUGS FIXED ])==-- ------------------------------ * You can no longer put invalid characters into url bar -- this also fixes several other bugs * Blank threads or invalid thread ids will not display a thread * When viewing boards the proper name displays as the title, not the board id, which is for url use only * Now displays Community Couch in title bar * Fixed bug where you can view the 'create post' and 'create thread' forms when not logged in --==([ KNOWN BUGS ])==-- ------------------------------ * On user profile page any user with Internet explorer can only enter a max of 2000 chars for the about me section -- Need to modify javascript ajax to allow POST submission rather than GET since IE has a character limit for their urls * Still possible to put more characters in one line than fits in the post -- Haven't had time to look into how I am going to fix this, probably eregi_replace would be best * Can refresh the page after making a post and resubmit the post -- Gonna get rid of secondary actions(which is how it is now) and use a seperate page that just uses the header.location() function to redirect before the page even loads but still submitting data
  20. Serious Bug on your site When we reply and the post page is shown back::: Then when we refresh the page automatically same post gets posted repeatedly as many times as we REFRESH. THIS MAY BE DUE TO SAME URL REMAINS IN THE ADDRESS BAR. HAPPY DEBUGGING. cHECK MY MESSAGE BOARD www.ucy.in/tcmb By the way whats the size of ur s/w company team??? Hi thank you for your bugs They should be fixed within the near future. Currently I am working on getting SQL Injection down to a minimum. I am not sure what you mean by "s/w" but for the site its self I am currently working me and one other programmer.
  21. Thanks I can definatly add something like that in upcomming releases. as well thank you for the compliments ont he design, I made it bymyself.
  22. thanx guys, I really appreciate this. I have a ton less errors on this version then my last! w00t! please feel free to continue testing. I will be adding up update hopefully in the near future to fix all the errors. thanx again
  23. Full Path Disclosure: http://www.communitycouch.net/index.php?action=viewthread&board=2a&thread[] Upon going to those links I do not seem to get the error you labeled.
  24. First and foremost, please only test int he testing area!!! and the link is: www.communitycouch.net
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.