2. i uploaded those two files: clsField.asp and clsUpload.asp in the functions folder (forum folder)
3. i didn't actually use the other files in the zip in anything
4. i followed the instructions mentionend in the link i gave u (i use Editplus as an editor and I think u should also use an editor that displays the line numbers as any mistake will make it not work)
here r the instructions:
Find these files and edit them like so:
----------------------------------------------- upload_configure.asp (inside the admin folder) -----------------------------------------------
On line 264, find this:
Code:
<option value="AspSimple"<% If strUploadComponent = "AspSimple" Then Response.Write(" selected") %>>AspSimpleUpload</option>
Below that, insert this:
Code:
<option value="none"<% If strUploadComponent = "none" Then Response.Write(" selected") %>>No Components</option>
----------------------------------------------- functions_upload.asp (inside the functions folder) -----------------------------------------------
On line 1, before the <% symbols, create a blank line and insert this:
Code:
<!--#INCLUDE FILE="clsUpload.asp"-->
On line 71, find these lines:
Code:
'Select which upload component to use Select Case strUploadComponent
Below those, insert this:
Code:
'****************************************** '*** Pure ASP Upload (no components) **** '******************************************
'Pure ASP (no components) Case "none"
'Create upload object Set objUpload = New clsUpload
With objUpload
'Grab the file name strNewFileName = .Fields("file").FilePath
'Remove the path from the file name strNewFileName = Right(strNewFileName, Len(strNewFileName)-InStrRev(strNewFileName, "\"))
u know there's an upload folder already - i didn't use that upload2 in the zip file or anything
Thanks 4 ur reply. If im not wrong, Windows webhosts give read n write permissions by default bcuz CHMOD does NOT work on their servers. What path did u give 2 upload folder i n admin area ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.
Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.