|
-
Feb 5th, 2001, 03:19 AM
#1
Thread Starter
Hyperactive Member
Just to get me back to the top......
Is this not an easy one!!??
T
-
Nov 20th, 2001, 06:45 AM
#2
New Member
Re: Like VB-Worlds....add attachment!!
Don't know how the following works I got it from WebDeveloper.com I think:
This in the header
<script language="JavaScript">
function checkattachment() {
var clientBrowser = navigator.userAgent;
if ( clientBrowser.indexOf("MSIE") != -1 ) {
window.event.returnValue=false;
}
}
</script>
and this in the body
<input type="file" size="41" name="attachment" value="none" id="attachment" ALT="Attachments not avaliable with this browser version!" onkeypress="if('function'==typeof(checkattachment))checkattachment();" />
-
Nov 20th, 2001, 08:32 AM
#3
Good Ol' Platypus
Basically you use an upload component like SA-FileUp from Software Artisans and a File input field, and pass it like a normal query. For SA-FileUp, if you have different fields than files (eg. a textbox & filebox) then you must set the Encoding value.
Code:
EncType="multipart/form-data"
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 21st, 2001, 03:24 PM
#4
Or you can use the easy HTML way
<input type="file" name="whatever">
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|