Format:
Recent snippets matching tags of register
//using System.Web.UI //.aspx page must have a reference to jquery (for the example described bellow) string someScript= " $(window).bind('load', CodeToExcecute());"; ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "someScript", someScript, true);
99 Views
no comments
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script type="text/javascript" src="scripts/scripts.js"></script> <br /> <b>Notice</b>: Undefined index: action in <b>/home/s3221686/public_html/3tfs/register.php</b> on line <b>7</b><br /> <div id="signup"> <form action="" method="POST" name="signupform" id="signup"> <fieldset>
91 Views
no comments
<? $config['hostdb'] = "localhost"; $config['userdb'] = ""; $config['passdb'] = ""; $config['db_game'] = ""; $config['key'] = "SAODFIOSDFSPODIPOSIF"; //ตั้งค่ารหัสอะไรก็ได้ mysql_connect($config['hostdb'], $config['userdb'], $config['passdb']) or die("ติดต่อฐานข้อมูลไม่ได้"); mysql_select_db($config['db_game']) or die("เลือกฐานข้อมูลไม่ได้"); ?>
268 Views
no comments
<?php if( $gender == "M" ) { $genderb = "1"; } else { $genderb = "2"; } $passwd = sha1(strtolower($userss) . $passss); $timeregis = time(); $ssalt = substr(md5(mt_rand()), 0, 4); mysql_query("INSERT INTO `bluero_cp`.`forum_members` (`memberName`, `dateRegistered`, `lngfile`, `realName`, `passwd`, `emailAddress`, `gender`, `hideEmail`, `showOnline`, `timeOffset`, `pm_email_notify`, `notifyAnnouncements`, `notifyOnce`, `notifyTypes`, `is_activated`, `ID_POST_GROUP`, `passwordSalt`) VALUES ('$userss', '$timeregis', 'thai-utf8', '$userss', '$passwd', '$emailss', '$genderb', '0', '1', '0', '1', '1', '1', '2', '1', '4', '$ssalt')"); ?>
197 Views
no comments
<?php
header("Content-Type: text/html; charset=TIS-620");
include "config.inc.php";
include "connect_db.php";
$userss = $_POST['userss'];
$passss = $_POST['passss'];
$passss2 = $_POST['passss2'];
$emailss = $_POST['emailss'];
$gender = $_POST['gender'];
279 Views
no comments
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
</system.web>
388 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
