system to run the ASP. Of course you also have to install IIS or PWS. Our following program is developed under the WINDOWS95+PWS+VB5 environment.
Here we go
Start your VB, select the ActiveX icon. This icon can be found in the new project! VB will provide a default project name (Project1) and class name (Class1). We'll get rid of all two names. Before renaming, please confirm that we have Microsoft Activ
We know that the ASP's operation requires PWS or the support of the IIS server, and it cannot run without the two servers. ASP's server support installation typically includes ASP
The language interpreter and the WEB server.
Similarly, the installation of PHP is divided into two parts: one for the installation of PHP and its modules, and two for the Web server. Installation of PHP and its modules, including the installation of PHP core files,
Insta
ASP files can contain text, HTML tags, and scripts. The scripts in the ASP file can be executed on the server.
Before you study, you should have the knowledge:
Before continuing your study, you need to have a basic understanding of the following knowledge:
Html/xhtml
Scripting languages such as JavaScript or VBScript
If you want to learn the above items, please visit these tutorials on our homepage.
What is an ASP?
ASP refers to Active Server Pages (dynamic server Pages)
AS
runat=server>〈/script>). If the ASP program was previously invoked, it would use an in-memory compiled program to return the HTML code to the user, and if not, it would recompile. Here ASP has a little more speed advantage than CGI, Because CGI is a thread used for every request. This greatly consumes the resources of the server.
If you don't want to write the program yourself, you can run it in IIS!?! You can do it now! With VB5 (now VB6, of course), you'll be able to create dynamic linked li
, upgrade it to the latest version (:Http://www.magicwinmail.com/download.htm).If your operating system is not preinstalled with IIS or PWS, install it first. For installation operations, see the help for the operating system.
2. manually set IIS/PWS
For different versions of IIS and PWS, the methods for setting support for PHP are different. This article desc
digits, you cannot.Username length: and (select count (*) from Admin where id = 5 and Len (username) = 4)Password Length: and (select count (*) from Admin where id = 5 and Len (PWS) = 4)Note that the username field for storing the username and The PWS field for storing the password in the table need to open the database for confirmation.Finally, the administrator username and password are tested from high
Sometimes, we want to have a selective display of the figures on the layer to meet the actual functional requirements.The Layer Properties filter display is easy to implement as described in the following methods:1. When the layer is loadedPrivate void string sfilter) { = (ESRI. ArcGIS.Carto.IFeatureLayerDefinition) Sflyr; = sfilter; SMapCtr.ActiveView.Refresh (); }2. When the layer is not loadedPrivateIfeatureclass Getfeatureclass (Iworkspace
, dbase_pack, dbase_add_record,Dbase_delete_record, dbase_get_record, dbase_numfields, dbase_numrecords, and other functions. For MySQLMysql_close, mysql_connect, mysql_create_db, mysql_data_seek, mysql_dbname, mysql_db_queryAnd other functions.PHP also provides a set of image functions to dynamically generate GIF image data streams and output themClient.In addition, PHP also provides socket, email, PDF file, his (hyperwave InformationServer), IMAP, LDAP (Lightweight Directory Access Protocol),
How to Use name objects, including workspacenames and datasetnames
1. Name objectA name object is a representative object. By using the name object, you can access some basic attributes of the object it represents, instead of calling the entire object into the memory. If you need to use the object itself represented by the name object, you can get it by name.The name object can be applied to tables, featureclasses, and workspaces.
Name:1. workspacename2. datasetname1> relationshipclassname2> fe
memory. If not, it will re-compile. here, ASP is a little more speed advantage than CGI, Because CGI uses a thread for every request. in this way, the server resources are greatly consumed.
I don't want the program you write to run on IIS !?! Now you can do it! When using VB5 (of course, it is VB6 now), you can create a Dynamic Linked Libraries (DLL file), which can be run directly on IIS (if there is an asp file for request ).
System and software requirements
You need a 32-bit operating system
This article is based primarily on the selection of Web servers that support Perl.has been based on web development, the server is Linux under the use of webmin built, ashamed to say, so many years, also studied the Web server, single from this angle, is not able to reflect the Webmin architecture and our product build is still OK, So that the big guys will concentrate more energy on their own products, rather than spending a lot of time on some already mature technology, if every product is don
development, you can install it on your intranet, or let it be installed separately (although there is no internet connection, but you still need to have additional software packages to match).These prerequisites are beyond the scope of this book. Detailed information can be found on the following websites:World of Windows Networking (http://www.wown.com)Linux Document Project (Http://www.linuxdoc ...)If you plan to install PHP on Windows, the following conditions are also required:A Web server
Sub clip ()
Dim pmxdoc as imxdocumentSet pmxdoc = thisdocumentDim pmap as IMAPSet pmap = pmxdoc. focusmap
Dim pfeaturelayer as ifeaturelayerDim prasterlayer as irasterlayer
Set pfeaturelayer = pmap. layer (0)Set prasterlayer = pmap. layer (1)
Dim pfeatureclass as ifeatureclassSet pfeatureclass = pfeaturelayer. featureclass
Dim pinputraster as irasterSet pinputraster = prasterlayer. Raster
Dim pinputdataset as igeodatasetSet pinputdataset = pinputraster
Dim pfeaturecursor as ifeat
follows to make it possible for everyone to take a look at the next side of the instructions.
1. Create an Access database, C:My Documentsmydata.mdb.
2. The table MyTable (a dblong,b dbtext,c dblong) is built in the MyData database and the appropriate amount of experimental data is added.
3. Establish the System DSN (database Source name), set in ODBC in Control Panel, take the data source named Accessmdb, and point to the newly built MyData database.
4. Install
We know that the ASP's operation requires PWS or the support of the IIS server, and it cannot run without the two servers. ASP's server support installation typically includes ASP
The language interpreter and the WEB server.
Similarly, the installation of PHP is divided into two parts: one for the installation of PHP and its modules, and two for the Web server. Installation of PHP and its modules, including the installation of PHP core files,
Insta
program was previously invoked, it would use an in-memory compiled program to return HTML code to the user, if not, So it's recompiled. Here the ASP has a little more speed advantage than CGI, because CGI is a thread for every request. This greatly consumes the resources of the server.
If you don't want to write the program yourself, you can run it in IIS!?! You can do it now! With VB5 (now VB6, of course), you'll be able to create dynamic linked libraries (DLL files) that can run directly on
(if an ASP file is requested).
Requirements for systems and software
You need a 32-bit operating system to run the ASP. Of course you also have to install IIS or PWS. Our following program is developed under the WINDOWS95+PWS+VB5 environment.
Here we go
Start your VB, select the ActiveX icon. This icon can be found in the new project! VB will provide a default project name (Project1) and class name (Cl
than CGI, Because CGI is a thread used for every request. This greatly consumes the resources of the server.
If you don't want to write the program yourself, you can run it in IIS!?! You can do it now! With VB5 (now VB6, of course), you'll be able to create dynamic linked libraries (DLL files) that can run directly on IIS (if an ASP file is requested).
Requirements for systems and software
You need a 32-bit operating system to run the ASP. Of course you also have to install IIS or
/98 stand-alone platform: PWS (Personal Web Server) 4.0, Windows NT 4.0/5.0 server platform: IIS (Internet Information Server) Service Pack 3 and its Version above)
NT Workstation 4.0 Workstation platform: PWS (Personal Web Server) NT Workstation version and the latest version of IE browser.
Second, for the production of ASP software
Windows FrontPage 98/2000, Dreamweaver 3.0, if you don't have the softw
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.