Sunday, November 29, 2009

Mature Old Woman In Girdles

Two Internet worms Mushrooms

Two worms are the have made this tomato that stayed home in the bush is funny because they do not care much for your home, as they are eating it and soon only be a skin and have to move. In the pictures we see how even posed for the photo.

Click image for larger view

Click image for larger view

Sunday, November 22, 2009

How To Tie Converse Double Upper High Tops



I come from spend a couple of days in the field and how could it be otherwise at this time is full of mushrooms, and as always carries a camera on top but he could not get any of these photogenic friends.

stretch professional
If clicking on them you will see how the macro for a compact camera you can leave pretty amazing photos, I hope you like them.

Monday, November 16, 2009

Herpes Sores On Stomach

Short links with ASP

In some web applications need to create short links to avoid the classic http://www.tupagina.com/tipo1=32&variable2=32532 and instead get something like http://tinyurl.com/yk6xo6j, maybe not so easy remember but less complicated than before, so that we will use TinyURL API and classic ASP.

The function that we use is: function
 asp_short_url (strURL) Dim 
OXML, strTinyUrl
strTinyUrl = "http://tinyurl.com/api-create.php?url =" & strURL
September OXML = Server.CreateObject ("Msxml2.ServerXMLHTTP.3.0)
oXml.Open" GET ", strTinyUrl, false null oXml.Send

asp_short_url = OXml.responseText
September OXML = nothing End Function

And how to call it so:
Response.Write (asp_short_url (http://www.tupagina.com/tipo1=32&variable2=32532 "))
Where the bold is the only thing that must change, is quite simple and useful ... or I hope so.

Sunday, November 8, 2009

Honey Rose Cigarettes Shop

Check TinyUrl and available user with ASP and AJAX Changing our state

When we create a new account at a site is very annoying that we have to fill out a long form, with unnecessary fields and learn on top of that we put the user already exists, this will give us an error that the best site we came back with the other data that you requested just enter different user, many of these sometimes having to enter the password again.

This can be solved very easily with AJAX, by sending a request to the user database to check whether or not we enter

The magic of AJAX makes code again, here the code:

ajax.asp PAGE:
\u0026lt;! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN">
\u0026lt;HTML>
\u0026lt;HEAD>
\u0026lt;TITLE> , ASP and AJAX username check Availability \u0026lt;/ TITLE>
\u0026lt;script language=”javascript”>
function OnChangedUsername()
{
if(document.form1.newuserid.value == “”)
{
document.form1.btnCheckAvailability.disabled = true;
}
else
{
document.form1.btnCheckAvailability.disabled = false;
}
}
function createRequestObject() {
var ro;
var browser = navigator.appName;
if(browser == “Microsoft Internet Explorer”){
ro = new ActiveXObject(”Microsoft.XMLHTTP”);
}else{
ro = new XMLHttpRequest();
}
return ro;
}

was http = CreateObject request object ();
sndReq function () {
http.open ('GET', 'ajax_username.asp? Username =' + document.form1.newuserid.value);
http.onreadystatechange = handle Response;
http.send (null);}

function handleEvent Response () {
if (http.readyState == 4) {response =
was http.responseText;
was update = new Array ();

if (response.indexOf (' = update[0];
}
}
}
</script>
</HEAD>
<BODY>

<form method=”post” action=”javascript:void(0);” name=”form1″>
<table> <tr>
<td><input type=”newuserid” name=”newuserid” id=”newuserid” size=”20″ onKeyUp=”OnChangedUsername();” />

</td>
</tr> <tr>
<td><input id=”btnCheckAvailability” type=”button”disabled=”disabled” value=”Check Availability”onClick=”sndReq();”></td>
</tr>
<tr>
<td><div ID=”username_chk”></div></td>
</tr>
<tr>
<td>Brought to you by <a href = "http://strangework.com" target = "_blank"> Brad Williams \u0026lt;/ a> \u0026lt;/ td>
\u0026lt;/ tr>
\u0026lt;/ table>
\u0026lt;/ form>

\u0026lt;/ BODY>
\u0026lt;/ HTML>



ajax_username.asp PAGE: \u0026lt;%
September username = Request.QueryString ("username")
'*** TU INICIO CONEXION DNS-LESS
db_username = "username" 'DB username DB_PASSWORD = "Password" 'DB password
db_catalog = "database_name"' DB name
dp_datasource = "192.168.1.1" 'IP DB
' *** END YOUR DNS-LESS CONNECTION

'CAN CHANGE THE ABOVE FOR YOUR OWN LINE CONNECTION

September
conn = Server.CreateObject ("ADODB.Connection")
conn.CommandTimeout = 0 c = "Provider = SQLOLEDB.1; User ID =" & db_username & "password =" & ; DB_PASSWORD & "Initial Catalog =" & db_catalog & "Data Source =" & dp_datasource & "Use Procedure forPrepare = 1; Auto Translate = True; Packet Size = 4096" conn.Open c


'*** ADJUST TO SELECT THIS CHECK WITH YOUR REAL NAME
TABLE SQL = " SELECT username FROM table WHERE username = '"& username &"' "September chk_username = Server.CreateObject (" ADODB.Recordset ")
chk_username.Open SQL, conn, 3, 3
chk_username.EOF = False Then If
response.write "User Not Available" Else

response.write "USER AVAILABLE" End if


chk_username.close
September chk_username
= nothing conn.Close Set Conn = nothing
%>




Examples Of Restaurant Seating Charts

using Twitter

Well, sometimes we do require applications that use services from other sites, in this case would put a example of how our state update Twitter using their API and ASP


The code is short and easy to understand: \u0026lt;% Response.Buffer = True


September Dim xml xml = Server.CreateObject ("Microsoft . XMLHTTP ")

twitter_username =" username "'CHANGE YOU FOR YOUR TWITTER
twitter_password =" password "' CHANGE FOR YOU KEY TWITTER

new_status = "blog.creandowebs.com visit!" 'CHANGE FOR THE NEW STATUS

xml.Open "POST", "http://" & twitter_username & "" & twitter_password & "@ twitter.com / statuses / update.xml? Status =" & ; Server.URLEncode (new_status), False
xml.setRequestHeader "Content-Type", "content = text / html; charset = iso-8859-1" Response.Write

XML.send
xml.responseText 'SEE THE ANSWER TWITTER
September

xml = Nothing%>

As time is simple, you implement it using a FORM to send information to the file the code above