Shadow Uploader - change the name of the uploaded file change it completely
Discuss Shadow Uploader - change the name of the uploaded file change it completely in the ASP Development forum on ASP Free. Shadow Uploader - change the name of the uploaded file change it completely ASP Development forum discussing ASP related topics including coding practices, ASP tips, and more. Active Server Pages (ASP) enables you to empower your HTML pages dynamically with robust scripting options.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
Posts: 1,217
Time spent in forums: 2 Weeks 6 Days 4 h 49 m 9 sec
Reputation Power: 33
will a variable work there. something like <%response.Write objRS("cnum")%> or request.Form("cnum") if so can i get a sample of that. i'm getting a error, i'm sure i'm not formating something write.
Function UDate(oldDate)
UDate = DateDiff("s", "01/01/1970 00:00:00", oldDate)
End function
Function unUDate(intTimeStamp)
unUDate = DateAdd("s", intTimeStamp, "01/01/1970 00:00:00")
End function
Posts: 31,109
Time spent in forums: 3 Months 3 Weeks 2 Days 20 h 18 m 8 sec
Reputation Power: 2919
sorry, I lost you now. that code you gave is utterly meaningless and wrong,
to assign value to variable have such code:
Code:
cnum = objRS("cnum")
for this to work, you must have variable called "objRS" which is
valid recordset, and field called "cnum" should exist in the table
you selected the data from.
Posts: 1,217
Time spent in forums: 2 Weeks 6 Days 4 h 49 m 9 sec
Reputation Power: 33
yea i'm trying to do that. i'm trying to add your aspcode and form to my current form.
what i did was use you name field and made that a variable which worked but i wanted to know how to make my own.
thanx
Posts: 1,217
Time spent in forums: 2 Weeks 6 Days 4 h 49 m 9 sec
Reputation Power: 33
Ok i added your form and asp code to my form, im not even sure if i can do that, but when i hit submit on your form button it just reset the page to the cnumentry.asp page.
any idea.
and this is what my url says
http://audits.demosales.net/auditquery.asp?action=1
after clicking the Upload button the form should be submitted to the same page.
the link you gave is not working (server not found) can you provide valid link?
Posts: 1,217
Time spent in forums: 2 Weeks 6 Days 4 h 49 m 9 sec
Reputation Power: 33
yea it's only internal right now. sorry i would love to give u a valid link. i just wanted u to see what the url looked like.
I can get it to work when there's not another form in the equation? I have the attached working, but i want it to be either in the same form or at least on the same page.
Posts: 15
Time spent in forums: 4 h 29 m 7 sec
Reputation Power: 0
Hi Guys
I'm posting in here as I just can't seem to get an answer for my file upload problem, i've noticed a few experts in here so hope you don't mind me posting in here.
I am using Freeaspupload and want to insert the name of the file that gets uploaded into the database.
I just don't know what code to use to get the filename, any ideas?