Thursday, July 16, 2009
send mail window C#
MailMessage MailMesaji = new MailMessage();MailMesaji.Subject = "subject";MailMesaji.Body = "mail body";MailMesaji.BodyEncoding = Encoding.GetEncoding("Windows-1254"); //EncodingMailMesaji.From = new MailAddress("shimi.gov@gmail.com");MailMesaji.To.Add(new MailAddress("shimi.gov@gmail.com"));System.Net.Mail.SmtpClient Smtp = new SmtpClient();Smtp.Host = "smtp.gmail.com"; // for example gmail smtp
Wednesday, July 15, 2009
code ddos using php (frame) can using for asp.net
";}?>Frames? Yes.
using proxy with com webbrower C#
public void strproxy(string serverName,string port) { string key = "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"; string proxy = serverName + ":" + port; RegistryKey RegKey = Registry.CurrentUser.OpenSubKey(key, true); RegKey.SetValue("ProxyServer", proxy); RegKey.SetValue("ProxyEnable", 1); }button click
Monday, July 13, 2009
random in asp.net/c#
using sql querry : string sqlqueryselect = "select top 3 * from Products order by newid() "; with php using random - rand() string sqlqueryselect = "select * from Products ORDER BY RAND() LIMIT 3 ";
boder-conner
div#conner { margin: 0 10%;background: #9FB779 } b.rtop, b.rbottom { display:block;background: #FFF } b.rtop b, b.rbottom b { display:block; height: 1px; overflow: hidden; background: #9FB779 } b.r1 { margin: 0 5px } b.r2 { margin: 0 3px } b.r3 { margin: 0 2px } b.rtop b.r4, b.rbottom
jquerry effect image
using effect for image1 download jquerry at http://docs.jquery.com/Downloading_jQuery2 $(document).ready(function(){ $(".imagesclass").click(function () { $(".imagesclass").fadeOut("slow"); }); });or$(document).ready(function(){$(".fadeOver").hover(function(){$(this).fadeTo("fa st", 0.6);},function(){$(this).fadeTo("fast", 1);});});call function3. in tag bodyimg src= url here
Sunday, July 12, 2009
short domain
http://www.4vn.in/ to short domainex: come.vn, no1.vn, 4vn.in, 60s.in, fpt.in, xitin.in, cntt.in, amnhac.in, trochoi.biz, kissyou.biz, choang.info, webdep.info, saylove.info, haylam.comhttp://co.cc free but domain you reg if anyone buy it will sell
Thursday, July 9, 2009
cut file với winrar
first click right at file or folder want cut1. choose Add to Archive -> click in grenaralcount file
say helo with asp.net
creat web project with Visual studio 2005default.cs the first code :response.write("hello");CRTL + F5 or F5 to run
back-link
Back-link is a simple link from another site to your site. Create 1-back link is the simple but you will not just 1 but several thousand back-link and more new link each month. Create back-link 1 just a few minutes but make hundreds of thousands lost link many time and effort.Back-link is actually a part in SEO world. If you want your site's ranking in top search engines then your site must rank
what is sock ?
1 Socks proxy protocolSocks are created by the sockets. function is Socks bridge between the beginning of a Socks server to the other end of the first server Socks: Client --------> IN - Socks Server - OUT ------------ ---> SERVER So only 1 sock technology Proxy serverto test you need to find sock sock iptest on the FFtab tool-> option-> advaned .. Internet-> setting-> Manual proxy config ..->
proxy sock ip
Vài nét về ProxyProxy cung cấp cho người sử dụng truy xuất internet với những host đơn. Những proxy server phục vụ những nghi thức đặt biệt hoặc một tập những nghi thức thực thi trên dual_homed host hoặc basion host. Những chương trình client của người sử dung sẽ qua trung gian proxy server thay thế cho server thật sự mà người sử dụng cần giao tiếp.Proxy server xác định những yêu cầu từ client và
Wednesday, July 8, 2009
remove Conficker
1.tool remove :http://www.symantec.com/content/en/us/global/removal_tool/threat_writeups/FixDownadup.exe2. turn off System Restore on my computer3 down fix http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx
remove Bloggspot Navbar
you can insert code:#b-navbar {height:0px;visibility:hidden;display:none}or#navbar-iframe { display: none !important;}
free templates for blogspot
free templates for blogspot link:http://www.ourblogtemplates.com/ you can down hereupdate....
create tem for blogspot
#outer-wrapper { width: 1000px; margin:0 auto; background:white; text-align:$startSide; font: $bodyfont; }#main-wrapper { width: 50%; background:white; padding-left:10px; float: left; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; text-align:left; /* fix for long non-text content breaking IE sidebar float */ }#sidebar-wrapper {
connect sql and php
function mssql_connect()$dbhandle = mssql_connect($myServer, $myUser, $myPass)or die("Couldn't connect to SQL Server on $myServer");//select a database to work with$selected = mssql_select_db($myDB, $dbhandle)or die("Couldn't open database $myDB"); /connection to the database$dbhandle = mssql_connect($myServer, $myUser, $myPass)or die("Couldn't connect to SQL Server on $myServer");//select a
Tuesday, July 7, 2009
Conficker jwgkvsq.vmx +tool +fix
you not access microsoft hay kasper defaulttool scan Confickerhttp://support.cmclab.net/vn/flash/c0nfickerRemovalToolv0.2.rar orhttp://www.softpedia.com/get/Antivirus/Windows-Vulnerability-Scanner.shtml Windows Vulnerability Scanner ne: http://www.softpedia.com/get/Antivirus/Windows-Vulnerability-Scanner.shtmlorhttp://www.enigmasoftware.com/a1/download/cfremover.exethen down fix MS08-067 at
Monday, July 6, 2009
download data in php
$strcnn=mysql_connect("localhost","root","");mysql_select_db("demodata",$strcnn);$querry="select * from data where id=1";$result=mysql_query($querry);list($id,$filecontent,$filesize,$filename)=mysql_fetch_array($result);header("Content-Length: $filesize");header("Content-Type: application/octet-stream");header("Content-Disposition: attachment; filename=\"$filename\"");echo $filecontent;?>
redirect in php
header('refresh:5;url=link.php');// 5 s sẽ chuyển trangheader('location:link.php');dùng thẻ meta của htmlecho('');
using class connect to data in php
ex: class in phphost=$host;$this->user=$user;$this->pass=$pass;$this->data=$data;}function ketnoihost(){$this->cnn=mysql_connect($this->host,$this->user,$this->pass) or die (mysql_error());echo"ket noi host ok";}function ketnoidb(){mysql_select_db($this->data,$this->cnn) or die (mysql_error());
class in php
using class in phptoan=$toan;$this->ly=$ly;$this->hoa=$hoa;}var $tb;function tinhdiem(){$toan=$this->toan;$ly=$this->ly;$hoa=$this->hoa;$this->tb=($toan+$ly+$hoa)/3;echo "sinh vien co tong diem".$this->tb;}function xeploai(){$xl=$this->tb;if($xl<5){ echo " trung binh" ;}else if ($xl>5 &&$xl<7 ){echo " trung binh
check user using ajax
0) { echo "helo:".$user; } else { echo " quay lai"; } ?>
function split remove string
string strchuoi = "helo ai do a o do vay" ; ex:int n =Convert.ToInt32(strchuoi.Length.ToString());string[] mang= strchuoi.Split(' '); int sodoan=0; count foreach(string y in mang) { sodoan=sodoan+1; } Response.Write(mang[sodoan-1]); using trim cut space in string
up link to google
http://www.google.com.vn/addurl/?continue=/addurlSEO add url in GOOGLE