Click to See Complete Forum and Search --> : Is there any way...


RaiN
03-05-2003, 12:18 AM
Is there any way I could make a script so people can upload things from their HD up onto one of my pages? the files won't be big, about 500kb MAX.. Help please? I have no idea how to start doing this.

My host supports :
•ASP 3.9 [LIMITED]
•ASP.NET [LIMITED]
•.NET MOBILE Inet Kit [LIMITED]
•XML 4.0
•WAP Enabled
•Flash Enabled
•SSI - Server Side Includes
•ADO 2.6
•MS Access

Can I use any of those?

RaiN
03-05-2003, 11:30 AM
I've never used ASP, do I put a <asp> tag at the top? or do I just do wut u did in that linked thread?

RaiN
03-05-2003, 08:32 PM
Ok, I got that... now all I have on my ASP page is :

<% @Language=VBScript %>
<% Option Explicit %>
<%
reqData = Request.BinaryRead(Request.TotalBytes)
%>

What should I have? Could you write out what I should have? Cause there is no chance in me writing it out :(. I will eventually start learning ASP... But right now I don't think I should, I'm only 13 :(

And could you make it so the background is #000033 and the text/link color is #6482B4? and have the script that changes scrollbar colors. [ NOTE 1 ]

And also could you attach the link mouserover and stuff [ NOTE 2 ]


NOTE 1 ::

<style>

body {

scrollbar-arrow-color:#FFFFFF;

scrollbar-track-color:#000033;

scrollbar-shadow-color:#0000FF;

scrollbar-face-color:#000066;

scrollbar-highlight-color:#0099FF;

scrollbar-darkshadow-color:#000000;

scrollbar-3dlight-color:#0099FF;

}

</style>


NOTE 2 ::

<style type=text/css>
BODY { COLOR: #6482B4; FONT-FAMILY:Tahoma; FONT-SIZE: 8pt }
TD { FONT-FAMILY: Tahoma; FONT-SIZE: 8pt }
A:link { COLOR: #6482B4; TEXT-DECORATION: underline ;}
A:visited { COLOR: #6482B4; TEXT-DECORATION: underline ;}
A:active { COLOR: #6482B4; TEXT-DECORATION: underline ;}
A:hover { COLOR: #FFFFFF; TEXT-DECORATION: underline ;}
</style>



If you could do this for me... I wouldn't be able to thank you, my gratitude would be represented in big.. well I don't know what I'm saying but it would be extremely.. good...

RaiN
03-05-2003, 11:23 PM
Yea I know theres no age requirements itz just skool isn't that great 4 me, and right now I don't have the time with homework and stuff. but coiuld u explain how to add those scripts?

RaiN
03-06-2003, 11:14 AM
Ok I tried following your instructions on the other thread, and it says page cannot be displayed. I saved it as upload.asp should I change that or is it ok? and on the asp page I have :
<% @Language=VBScript %>
<% Option Explicit %>
<%
reqData = Request.BinaryRead(Request.TotalBytes)

Content-Disposition: form-data; name="myFile"; filename="C:\My Documents\Dave's\Text Files\JSS Signature.txt"
Content-Type: text/plain
%>
<%
Dim adoStream
Set adoStream = Server.CreateObject("ADODB.Stream")
adoStream.Open()
adoStream.Type = 1 ' adTypeBinary
adoStream.Write binData
adoStream.SaveToFile Server.MapPath(filePath & fileName), 2
adoStream.Close()
Set adoStream = Nothing
%>


Is there anything I should add or remove from this?

RaiN
03-06-2003, 11:20 AM
or... is there a place where I can take an ASP tutorial?

Calmaris
03-06-2003, 01:32 PM
Yes go back to www.htmlgoodies.com and to the left of the page under primers click ASP this will give you everything you need to know to get started.

RaiN
03-06-2003, 06:07 PM
Thanx Calmaris ;)

RaiN
03-06-2003, 06:49 PM
ASP is hard... :(