Home > Cannot Use > Cannot Use Request.form

Cannot Use Request.form

jpeg.Width = jpeg.OriginalWidth * Upload.Form("scale") / 100 jpeg.Height = jpeg.OriginalHeight * Upload.Form("scale") / 100 SavePath = Server.MapPath("/bilde/") & File.ExtractFileName ' AspJpeg always generates JPEG thumbnails regardless of original format. ' If You'll be able to ask questions about coding or chat with the community and help others. Hi there, I'm getting a weird error on an asp page that worked on an old Windows server, but not on the new one. The subject is selected in the first page and then submitted to the topics page where the Upload script is written. have a peek here

Number 32 > seems to be what you are looking for. > > -- > Mike Brind > MVP - ASP/ASP.NET Thank you! Its not perfect in its explanations, but it does cover parsing your own Request.Form data after a BinaryRead. Covered by US Patent. A Ratcliffe ar********@archimagic.net "Christopher Brandsdal" wrote in message news:OG**************@tk2msftngp13.phx.gbl...

Member Login Remember Me Forgot your password? Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. Stay logged in Welcome to The Coding Forums!

Syd 0 LVL 1 Overall: Level 1 Message Author Comment by:mgroyal2002-12-03 Comment Utility Permalink(# a7524389) I'm using asp-smart-upload: http://www.aspsmart.com/aspSmartUpload/ 0 LVL 2 Overall: Level 2 Message Accepted Solution by:Letus2002-12-03 In the /admin/header.inc I have this listed: Dim ThisPage ThisPage = Request.ServerVariables("SCRIPT_NAME") '// Set Session + password is Case Sensitive If Request.Form("pass") <> "" Then If Trim(Request.Form("pass")) = "swede" Then Session("level") Its not perfect in its explanations, but it does cover parsing your own Request.Form data after a BinaryRead. Alex Reply With Quote 10-02-2002,11:14 AM #4 whammy View Profile View Forum Posts Senior Coder Join Date Jun 2002 Location 41 8' 52" N -95 53' 31" W Posts 3,660 Thanks

Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily. Ive replaced it with Dim Uploader, File Set Uploader = New FileUploader ' This starts the upload process Uploader.Upload() '****************************************** ' Use [FileUploader object].Form to access ' additional Register Lost Password? Mikaila posted Sep 30, 2016 connecting problem in vb.net with ldap to active directory hakeem122 posted Sep 26, 2016 I need advice re mysqli dropdown imaloon posted Sep 21, 2016 how

I have AspJpeg installed on my server but NOT AspUpload. All rights reserved. Terms of Service NOTICE: 
We collect personal information on this site.
To learn more about how we use your information, see our Privacy Policy
Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Heres the error I get and the code beneath.

Line 120 is market with ''''''''''''Line 120''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' '''''''''''''''''''CODE''''''''''''''''''''''''''' '''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''' Request object error 'ASP 0207 : 80004005' Cannot use Request.Form /asp/admin/select_image.asp, line 120 Cannot use Request.Form collection after Hi! Use Upload.Form instead, after you call Upload.Save Chris.Martz.me Some things Man was never meant to know. This forum is now closed to new posts, but you can browse existing content.

if any one coming new can find this the it will be helpful for them... navigate here I haven't tested it though. Enjoy an ad free experience by logging in. They are all just blank. 0 LVL 8 Overall: Level 8 ASP 7 VB Script 1 Message Expert Comment by:saoirse19162010-11-23 Comment Utility Permalink(# a34196699) Well, the first thing is to

ASP.NET > offers a free file upload control that is many times better than pure > VBScript classic ASP ones. > Hi Mike - could you elaborate on how to do I use this: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8525&lngWId=4 on a lot of sites and it works great and should work fine with the code that I posted initially. 0 LVL 1 Overall: Level 1 In the form that i fill out, i forgot to specify the encType as multipart/form-data. Check This Out If you get stuck you can get support by emailing [email protected] If this is your first visit, be sure to check out the FAQ by clicking the link above.

Cannot use Request.Form collection after calling BinaryRead. BinaryRead and Request.Form/QueryString are mutually exclusive. Both the original file and its thumbnail are saved in the database.

" Response.Write "Copies can be found at c:\upload\" & File.ExtractFileName & " and " & SavePath & "" Else Response.Write

I found an article on the MSDN library about how to recreate a pseudo-Request.Form collection but its taken from Active Server Developer's Journal, so I'm not sure if its on the

You may have to register before you can post: click the register link above to proceed. The SitePoint Forums have moved. Steve Reply With Quote 12-12-2005,06:39 PM #2 chrismartz View Profile View Forum Posts Visit Homepage Registered User Join Date Jun 2003 Location Indiana, USA Posts 1,138 Could you post some code? The time now is 09:39 AM.

i've ran into the same problem with an upload component when trying to grab some other form fields. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Aug 18, 2006,21:33 #5 mahesha View Profile View Forum Posts SitePoint Enthusiast Join Date Jun 2006 Location sri lanka Posts 85 Mentioned 0 Post(s) Tagged 0 Thread(s) hi, i'm not using this contact form You haven't specified how you upload but my guess would be via HTML Forms file input, in which case you will be using multipart mime format.

The media could not be loaded error Clearing Dreamweaver's cache Best Rated FAQs Optional Upload? Glenn vBulletin Mods That Rock! I think it's possible because AspUpload can do it. http://www.juicystudio.com/tutorial/asp/upload.html HTH, A Ratcliffe ar********@archimagic.net "A Ratcliffe" wrote in message news:uw**************@TK2MSFTNGP09.phx.gbl...

I get an error when I run my code Is there any other way to get te information from my form? Thanks! If not, then you might have a syntax problem with Uploader.Form -- double-check that to make sure you're calling the form fields properly. 0 LVL 1 Overall: Level 1 Message BinaryRead and Request.Form/QueryString are mutually exclusive.

The subject is selected in > the first page and then submitted to the topics page where the Upload > script is written. > I first have to check wether the Join the community of 500,000 technology professionals and ask your questions. Posted on 2002-12-02 ASP 4 1 solution 1,138 Views 1 Endorsement Last Modified: 2012-08-14 I can't get the variable by requesting the form... Hi!

jpeg.Width = jpeg.OriginalWidth * Upload.Form("scale") / 100 jpeg.Height = jpeg.OriginalHeight * Upload.Form("scale") / 100 SavePath = Server.MapPath("/bilde/") & File.ExtractFileName ' AspJpeg always generates JPEG thumbnails regardless of original format. ' If Today's Posts FAQ Rules Guidelines Search Advanced Search Forum :: Server side development ASP Cannot use Request.Form collection after calling BinaryRead. It's definitely possible (the article I mentioned shows how to do so, which is probably how ASPUpload does it). "Christopher Brandsdal" wrote in message news:u3*************@TK2MSFTNGP10.phx.gbl...

Back to Top