'----------get content remotely and have the content on the local computer, including any files! ----------
'---------------use XMLHTTP and adodb.stream, cool! Absolutely original! -----------------
' On Error Resume Next
' Set ' the content type
'------------------------------------------------------------------------
'-------------------boundless domain: http://www.5inet.net/---------------------
'-------------------Author: Hip Hop Hey, webmaster@5inet.net-----------------
'----------get
Download all content on the remote page at onceUse the method to save the above code as one such as: downfile.aspEnter on the browser:http://your address,/downfile.asp?url=http://www.baidu.com/index.html.
' Set time to
ASP to add watermark to the image is the need for components ... Commonly used with AspJpeg software and the Chinese developed their own wsimage software, you can search the Internet to download these two software, recommended the use of our own
Server to select a file on the server side of the small program, in the server to insert the file, such as server-side has uploaded pictures, or menu management to select the file to be executed, are useful, of course, you can change it to use, it
Reference: application reference of MSXML. XMLHTTP
XMLHTTP application reference1. steps:1. Create an XMLHTTP object // msxml4.0 is required2. Open the connection with the server, and define the command sending method, Service webpage (URL), and
Yesterday, you need to write a program to delete the log file in c. For example, a program of mine needs to have a log. I write the log to the log file, and I automatically create a log file every month. This log file is named like "xxx04.log",
XMLHTTP Application Reference
First, the use of steps:
1, create XMLHTTP object//Need MSXML4.0 support
2, open the connection with the service side, at the same time define instructions to send the way, the Service page (URL) and request permissions.
ado|stream|xml| Original '------------------------------------------------------------------------
'-------------------boundless domain: http://www.5inet.net/---------------------
'-------------------Author: Hip Hop Hey, webmaster@5inet.net----------
:"Before retrieving""After retrieving"Function:Clicking find table of contents randomly displays 6 images in the current directory, which is displayed if the current directory is less than 6.Click Select to display the test image above the Select
Although javamail APIs are completely encapsulated, there are still a lot of logic and details to process to write a program that correctly displays complex emails. Below is the servlet I recently compiled when I made a webmail. Basically, I can
Adding watermarks to Images Using ASP requires components... common applications include aspjpeg software and wsImage software developed by the Chinese people. You can search and download the two software online. We recommend that you use the
We often operate on strings. Spring has implemented common processing functions. We can use the org. springframework. util. stringutils tool class to help us process strings.Tool classes are organized as follows:Stringutils. haslength (null) =
I found a pure JS version and made some modifications to improve it. To download it, I only need to add a line in the page_load event in codebind.CodeSo that JS can be referenced. The Code is as follows:
Page_loadPage. registerstartupscript
Iii. File Upload
(I) Form requirements
There are two requirements for the Form for uploading files:
1. Apply post to method, that is, method = "Post ".
2. Add attributes: enctype = "multipart/form-Data"
The following is an example of a form used to
ado|stream|web|xml| Cache | Download research for several days ADODB.stream and XMLHTTP applications,
I've found a lot of interesting tutorials,
The following code is to save a remote page, a picture address, to a local instance.
Save the code as
First, download the file information class, entity
Encapsulates information about the upcoming download of resources
The code is as follows
Copy Code
Package com.hoo.entity;/*** function: Download file information class*
The role of the cache needless to say, everyone knows, and interviewed some people these days, found that a lot of people frame with many, the basis are forgotten, you ask some things, he always said that the framework is resolved, and do not
Dim upload, File, MaxWidth, maxheight, Ofilestream, Bytes, ratio1, Ratio2
Set upload = new Upload_fileSet file = Upload.file ("pic")
MaxWidth = CInt (upload. Form ("width")MaxHeight = CInt (upload. Form ("height")
If file. FileSize > 0 Then
Dim Oupfilestream
Class Upload_fileDim form,file,versionPrivate Sub Class_Initialize' Define variablesDim requestbindate,sstart,bcrlf,sinfo,iinfostart,iinfoend,tstream,istart,ofileinfoDim ifilesize,sfilepath,sfiletype,sformvalue,sfilenameDim
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.