Persits.Upload.1 And Multiple Checkbox
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.
<form method="post" ENCTYPE="multipart/form-data"....>
<input type="checkbox" name="language" value="English">English
<input type="checkbox" name="language" value="Spanish">Spanish
<input type="checkbox" name="language" value="Chinese">Chinese ....
View Replies
ADVERTISEMENT
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.
This doesnt work with Upload.Form
View Replies
View Related
I keep getting the following error message when attempting to run the below script.
Persits.Upload.1 (0x800A001)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
line 42.
line 42 is "File.ToDatabase Connect, SQL"
Code:
View Replies
View Related
I need some help with aspupload and a database. I have used the same script before and it worked fine, but now it wont upload. Code:
View Replies
View Related
I just moved a site to a new host and now when I try to upload a picture for a real estate site I get:
D:hshomealcadminarizonarenttoown.comadminPIC_Upload.asp
Persits.Upload.1 error '800a0028'
This feature has been disabled by system administrator. Use File.SaveAsVirtual instead.
/admin/PIC_Upload.asp, line 25
Its something to do with this but I don't know how to correct: http://www.aspupload.com/object_upload.html#SaveVirtual
If I paste part of the code to my script could someone help me out if it is a simple fix? ....
View Replies
View Related
I have put together a form where i can browse for an image and then upload this to my web site.
Then i would like to take the location of the new uploaded image and add it to my database.
This is where i am having trouble! i cannot seem to put the location(s) of the images into an array.....
View Replies
View Related
how can i upload all the files of a folder which is selected by the user using persits.upload
View Replies
View Related
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:
View Replies
View Related
I have a series of checkboxes:
<td><input type="checkbox" name="reportTo" value="Rob"></td>
<td><input type="checkbox" name="reportTo" value="John"></td>
etc...
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?
View Replies
View Related
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.
View Replies
View Related
This is my problem... its for a mailing list with categories...
I have 3 table...
1 : Name,City,Email
2 : Categorie
3 : Name_id , Categorie_id
So when a user fill up the mailing list form, he can check as many categorie he want...
but how i can insert 1 row in my table #3 for each checkbox checked...
Can someone post me a simple script...
View Replies
View Related
I need a code that will update multiple records on a list thru checkbox.
If the record is selected, the details that was updated on the selected
record will copy the same value as what is updated.
View Replies
View Related
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??
View Replies
View Related
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:
View Replies
View Related
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:
View Replies
View Related
I am in need to upload multiple files.I am Using following asp code :
SCompanyCode = Request.QueryString("SCompanyCode")
Set upl = Server.CreateObject("SoftArtisans.FileUp")
upl.Path = Server.Mappath("Clients"&SCompanyCode)
arrFile1 = split(upl.Form("file1"),"")
filename1 = trim(arrFile1(ubound(arrFile1)))
arrFile2 = split(upl.Form("file2"),"")
filename2 = trim(arrFile2(ubound(arrFile2)))
Response.write filename1
Response.write filename2
if upl.Form("file1").TotalBytes > 0 then
upl.SaveAs filename1
end if
if upl.Form("file2").TotalBytes > 0 then
upl.SaveAs filename2
View Replies
View Related
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
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
Still cant resolve what is causing this error
Persits.MailSender.4 (0x800A0019)
Software caused connect abort.
/pro1/sendmail.asp, line 88
line 88 is : obCDOMail.Send
View Replies
View Related
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?
View Replies
View Related
Looking for the .exe aspgrid to install on IIS. The download link on aspgrid.com does not work . Any other webpages where i can find it ?
View Replies
View Related
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:
View Replies
View Related
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: .....
View Replies
View Related
I am having a heck of a time resolving this error:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'path'
/_admin/inc_manage_create_listing_done.asp, line 12
This script is trying to post a form to a database and pictures to a folder. (line 12 is in red.)
View Replies
View Related
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.
Code: ....
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
getting an error message.
Error:
Type mismatch: 'AddAddress'
Code:
set adminmail = Server.CreateObject("Persits.MailSender")
adminmail.host ="smtp.snap.net.nz"
adminmail.From = "info@puafo.com"
adminmail.AddAddress rspuafo("Email")
adminmail.Subject = "Requested Password!"
adminmail.Body = "your password is: " & rspuafo("PuafoPassword")
adminmail.IsHTML = true
adminmail.Send
set adminmail = nothing
View Replies
View Related
using persits file uload component ..up to what size of image we can upload. there is any limit for image size?
View Replies
View Related
I m using persits mailsender component for email purpose.. it was working perfectly........but now i m getting following error....
View Replies
View Related