I have an ASP script which is used to upload files with Persits.Upload.1 object. But I can't get the values from mutliple checkboxes in the form like normally.
I am using a form to upload images with Persits.Upload object. Now my problem is I cant use multiple checkboxes in the form.
In general forms I can use Form("checkboxName").Count to get the number of checkboxes selected and use Form("checkboxName")(i) to retrieve the value of each check box.
I'm putting a website on a different server to what I normally use and I've had to adjust from Persits.Upload to Persits.Jpeg. I'm not sure what I'm doing here? My code works fine on the old server. Code:
but I only get a value passed to the database if just one is selected. If more than one is selected, no value is returned. I thought the value passed was s'posed to be a comma delimited string of all checked boxes?
There are a lot of references on the net on how to delete multiple entries in a database by using a checkbox. What I would like to do is add a checkbox to the output of a query (ie. bunch of names).
Then be able to select some of the names by clicking on a checkbox and when submitted, add those checked names to another database (insert). Similar to a shopping cart selecting multiple products but when submitted, it does not add them to the checkout, it adds them to a database as new inserts.
I have to develop a page where, based on status some records are selected from the Access database and displayed. A checkbox is displayed beside every record.
Some checkboxes can be selected and the corresponding record should be deleted if the delete bottun is pressed.
I know how to select the records from the database and perform multiple delete. But do not know how to link the database and the checkboxes. Anybody has any ideas??
I have an .asp page with a form to copy job responsibilites form one job to another. It is a hotmail type interface with checkboxes besides each responsibility. After submitting, it should copy the selected resp's to a different job. After that it should renumber that job's responsibilities.
This is the code I am using now to copy:
copySQL4 = "INSERT INTO jambue.RESP(POSCODE,IDCODE1,IDCODE2,RESP_NUM,RESP) SELECT '" & id & "' POSCODE,'" & dept & "' IDCODE1,'" & unit & "' IDCODE2, '999' RESP_NUM, RESP FROM jambue.RESP WHERE (POSCODE = '" & POSCODE & "' AND IDCODE1 = '" & sourceDept & "' AND IDCODE2 = '" & sourceUnit & "') AND RESP_NUM IN (" & Request.Form("chk") & ")"
As you can see the value '999' is hardcoded in there as the new Responsibility Number to go with the copied responsibility. I use this because there are no jobs with that many responsibilities. This works fine if I only select one resp. to copy over. But if I select more than one that part still runs fine but I get an error with the below. It says too many rows would be affected. Of course, this must be because there are now at least 2 responsibilites with the same RESP_NUM. Code:
i trying to do a asp based multiple file upload form. i got an example coding to upload 4 file a once, but when i try to add another textfield and try to upload the 5 file at a time, i got an error message. Code:
I have had a post previously that was regarding an image editing component for ASP, I had settled on csImageFile, which performed all the tasks I needed, and so I started looking for an upload component... Well ChestySoft also had a component called csASPUpload, which worked great, so I opted to get that too... Then I also noticed that ChestySoft also had a product that was an OCX control that allowed you to do a multiple post upload... which would be perfect for my uses. My question is, does anyone know of a free alternative to csXPostUpload, or should I fork out the $80 for a license? www.chestysoft.com
i am coding in asp. I got a problem with uploading two image files to the server and database in a page. I got an image file uploaded in to server and the path got stored in db(MS Access). But when using two image files at a time using an upload component ,its not getting. I am using two images(small & enlarged) for a news from the admin system and uploading the images in a small and enlarge folders in the server.
is there any scripts available which can upload multiple files like some available java applets as my server does not support java so i have to use only asp
kindly suggest if there is any available i searched in this forums but just able to file aspsmart upload or aspupload , my server does support installation of dll so i cannot use these i need pure scripts which can help to upload mulitple file with interface.
Let me explain how our web site in constructed before getting to my question. We have three web servers that are a mirror of each other. So whenever I make a change to one of our pages, I have to upload to all three servers. My new task (and its a good one) is to create an image upload script that will distribute the file to all three servers.
I already have an upload script that works just fine, however I wanted to see if anyone out there has attempted anything similar to this and what methods they used to achieve their goal.
We know that we can use <input type=file ...> to upload one file per time to the server. My question is if there are some way to upload multiple files per time to the server. (Of course, we can use <input type=file ...> multiple times and then submit once.
But this is not what I want, because we have to click "browse" button several times to select multiple files before submit in this way.) "Upload multiple files PER TIME", I mean it. We can select multiple files in ONE time, submit in ONE time, and thus upload in ONE time. Are there any way to do that?
The place I'm working for uses persits aspEmail and it seems always has but I've run into issues where I need to use the "premium features" and I won't release an unlicensed copy to a customer and I started wondering why we use persits at all. So far the only answer is "we've always done it that way". For the scripts I've written I need embedded images and SMTP AUTH and while I haven't implemented it yet, I am wanting to include the queuing ability that persits offers. CDOSYS is a part of the windows server, correct? That means it is already licensed with the server, right? Does persits aspEmail offer any advantages that would justify spending the cash for a developers license or should I just re-write all of the scripts to use CDOSYS?
I'm currently in the works of moving an asp website to my home server, and have had to change isp's etc. The idea is that when a customer clicks on a form on an asp page, the form is sent via Persits.Mail Sender to the isp's smtp server.
I've coded it all correctly, and basically it does send the emails via the isp's smtp server, but maybe once every 47 times, via repeatly sending the form. Code:
Hello I am having this error when trying to submit my form.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
800401f3
Here is the error line:
Set Mail = Server.CreateObject("Persits.MailSender")
I read that this usually means that the .dll for persits needs to be registered on the server. The server is GoDaddy and I obviously cannot just register things on their servers on my own. I requested them to do this for me and they said that persits is part of aspupload and it is already installed and registered on the server. They can give no further assistance than that. The files actually upload to the correct folder but no mail is sent because of this error obviously. Is there something I am missing? Here is the code: .....
I'm working on a website project for one of my senior design classes at my university, and I've run into some trouble. Unfortunately, my professor for which I'm doing the project has no real web experience. (Which is extremely aggrevating, since I'm trying to teach myself alot of things over my head)
I've created a form on my site, and I want to receive an email of user's inputs when they hit the submit button.
I'm looking at purchasing Persits ASPUpload component for my work. Now it seems like it does everything I need. I need to be able to upload images, as well as resize the images (which will require another component called ASPJpeg). I want to hear some comments from people who have actually used this component, and what they thought about it.
I also need the ability to upload images to 4 servers. Can't find anything in their FAQ about it, but I got this to work for a script I made so I'm sure I could tweak the code and get the component to do this.
So if you have used this I want to hear all about your experiences, good and bad. If you have suggestions towards another component please tell me about that as well.
I'm currently working on a clients project, where I'm recoding an already established ecommerce website. It uses code from Persits Mailsender and ASPUploader.
Does anyone know of any free code, or free software that can replace these?
The website is currently coded in asp, on an IIS server running on windows xp.