 |
 |
|
knowledge
base |
|
|
|
Select a Category
Domain
Registration | Windows
Hosting | Linux
Hosting | Download
|
|
Dowload
Persits Form Mail
Coding
We
dont offer support for this coding.
HTML form for uploading up to 3 files, which also contains a text description field, and a multiple select control:
<HTML>
<BODY BGCOLOR="#FFFFFF">
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="Upload.asp">
<INPUT TYPE=FILE NAME="FILE1"><BR>
<INPUT TYPE=FILE NAME="FILE2"><BR>
<INPUT TYPE=FILE NAME="FILE3"><BR>
<INPUT TYPE=TEXT NAME="DESCRIPTION"><BR>
<SELECT NAME="CATEGORY" MULTIPLE>
<OPTION>Image
<OPTION>Text
<OPTION>Source Code
<OPTION>Archive
</SELECT><BR>
<INPUT TYPE=SUBMIT VALUE="Upload!">
</FORM>
</BODY>
</HTML>
Corresponding Upload Script (Upload.asp):
<%
Set Upload = Server.CreateObject("Persits.Upload.1")
' Upload files
Upload.OverwriteFiles = False ' Generate unique names
Upload.SetMaxSize 1048576 ' Truncate files above 1MB
Upload.Save "c:\upload"
' Process all files received
For Each File in Upload.Files
' Save in the database as blob
File.ToDatabase "DSN=data;UID=sa;PWD=zzz;", _
"insert into mytable(blob) values(?)"
' Move to a different location
File.Copy "d:\archive\" & File.ExtractFileName
File.Delete
Next
' Display description field
Response.Write Upload.Form("Description") & "<BR>"
' Display all selected categories
For Each Item in Upload.Form
If Item.Name = "Category" Then
Response.Write Item.Value & "<BR>"
End If
Next
%>
|
|
|
|
|
| |
|
|
|
| |
 |
Web Design |
|
| |
|
Standard & Flash, Data base and interactive, Ecommerce, Shopping Cart and Payment integration etc. |
|
| |
|
|
|
| |
 |
Graphic Design |
|
| |
|
Logo, Envolope, letterhead, Business Card, Banners, Brochures, Flyers, Pormotional materials, Package Design etc. |
|
| |
|
|
|
| |
 |
Multimedia |
|
| |
|
E-brochures, PPT Presentations, Corporate Presentations, CBT, Screen Savers etc. |
|
| |
|
|
|
| |
 |
3D Animation |
|
| |
|
3D Product modeling, Architectural walkthrough , 2D Animations etc. |
|
| |
|
|
|
| |
 |
Web Hosting |
|
| |
|
Domain registration, Windows & Linux hosting, Corporate email solutions. |
|
| |
|
|
|
| |
|
|
| |
|
|
|
| |
|
Brains
Technologies
Kaloor, Cochin-17 INDIA.
Tel: +91 93 88628351
email: contact@brainsindia.com |
|
| |
|
|
|
|
|