Logic Of Uploading From A Form
I've been looking at pure ASP solutions to uploading a file from a form, and I'm a bit confused just on the logic.Each solution I've seen includes a binary read of all of the POST data and a parse to find the file.
Why can't the request.form collection just be used to get the binary directly? I mean, even if the request.form collection reads an ASCII value, isn't ASCII just an interpretation of binary (so shouldn't we be able to simply write it to a file and be done with it)?
View Replies
ADVERTISEMENT
I have created a dynamic form ,different under different conditions. The elements of the page are dynamically created with the required infor . coming from tables. Now, i have to store the values, states of all individual elements of the form, for future processing . The values are the part of a survey. I hav to analyse the values and create a report.
Now , i m getting confused in the way , the values of all dynamic fields to be stored. I m not getting a good way to store the values and later process for survey analysis.
View Replies
View Related
I am trying to create a computer management form/web application. I am not a good programmer. I use sharepoint at work to do most of the tasks which are fairly automated.
Now the computer management form is designed this way: Code:
View Replies
View Related
I have downloaded a Image Upload componet and incorporated it into my existing code. It is working great. My issue is that I cannot call a field from another table in SQL.
On insert.htm, I can do this:
ptrack = Clng(Request.QueryString("tracknumber"))
And I can get the tracking number of the specific client.
If I try to do this in insert.asp, it doesn't work. I have read other posts regarding this and I still cant get it to work. Like I mentioned before, it is a tracknumber, so its a numeric. Code:
View Replies
View Related
I have a recordset that returns company names, their are duplicates, sorted
by company name.
sCompanyName = ors("company")
How can I show only one company name from each company and display nothing for the next name if its the same in the previouse row,
COKE $2.14
$2.16
$2.16
PEPSI $3.13
$3.11
$3.12
FANTA $1.26
$1.26
View Replies
View Related
as i enter text in the textbox i want to narrow down there result in the box below that has all the listing of the products. i.e as i enter 'a' in textbox it will filter all products starting with 'a' then if i enter 'b' as second character it will show onlythose products that are starting with 'ab'... so how could i do that.
View Replies
View Related
I have an MySQL query that counts the number of clients that have been added in the last week.
strsql = "SELECT COUNT(visitorref) As no_visitors FROM visitors WHER datediff(curdate(),date(loa))<="&weekday(date())-1&" AND client_count IS NULL"
This works fine for Monday through Friday. But, I want to change the week etaphorically speaking! ) to run from Thursday to Wednesday, so on a Tuesday it'll show the count from last Thursday to the Tuesday.I'm gradually beginning to think I can't do it this easily anymore and just can't figure out what I want the datediff to equal.
View Replies
View Related
i ussually use www.domainname.com?uid=1111 .this one use request.quarystring right?so, what is the logic to change to www.domainname.com/1111
View Replies
View Related
i was building a internet based search engine and heard of fuzzy search algorithms.
Can anybody give fuzzy logic search algorithm for string search.
View Replies
View Related
Write an exe/dll (which will be better please tell me)..which has code to only control my logic or rather data conversion/manipulation of the raw data recieved thru and .mdb file and then display the exe/dll manipulated data thru an asp page.??
View Replies
View Related
I am working on this for someone: the user sees a list of chocolates which they can click on to add to a virtual chocolate box.
Each choc. is represented as an image of the choc - clicking on the image adds that choc. into a db. storing the product id of the selected choc. The user can select 8 chocolates. When the box is full, they can select no more chocolates.
I loop through the db. to display the number of chocs in the cart, like this: Code:
View Replies
View Related
Up until now I have mostly used a script that I got from somewhere way back for adding the page navigation on a results page ie.
<< 1 2 3 .. 4 5 6 >>
Ive decided to make my own but there seams to be too many cases/options in my script.I am using an array to store my results so if anyone knows a place where I can view a simple one or even some logic behind it.
View Replies
View Related
We need to create an org chart from our employee data but struglling. We are using ASP with SQL Server 2000. Does anyone know of a commercial component or some sample code to help us get started?
Ideally a component will be great as we need to turn this around quite quickly and also the chart needs to be interactive so various nodes can be hidden or expanded by the user. Many of you have been in development and I am sure would have been asked to present the employee or similar hierarchical data in tree structure.
View Replies
View Related
i am having a hard time finding out whats wrong i get the users login name from the first page and then i have this page which displays the abstracts
whats happening now is if the user has 9 abstracts assigned to him he sees 5 abstracts on the page and then there is page navigation so he sees the number 2 when i click on number 2 i should see the rest 4 abstracts but i cant see anything it doesnt give an error can anyone tell me whats wrong Code:
View Replies
View Related
I am using access with sch_time_start,end,start_time,end as text fields not as Date/time....I am getting wrong amount of record...Example:
If db has 6 records like start_time and end_time = 12:00 AM- 05:15 AM,
and person has sch_time_start and sch_time_end = 12:15 AM-05:12 AM.....I am missing smth...maybe logic is wrong.. Code:
View Replies
View Related
Something is not right when I generate the results for assigning drivers to routes...My [ response.Write(rs5.recordcount & " " & rs5("Tot") & " " & rs1("Full_Part") & "<br>") ]
The rs5("Tot") is always zero when the recordcount is 1...with rs5 I am trying to control not to assing more than 42 hours for full timers and 22 hours for part-time drivers per week.... What is wrong with the logic ?
View Replies
View Related
I'm trying to put the 4 latest(by publication date) articles published in my press table on the front page of my site. What's the logic here:
Show only the 4 latest articles
and if there is no addition to the article db:
Show latest articles for 1 month.
View Replies
View Related
I need to add the functionality to upload an image to the webserver, store it in a folder and add its location to a database so I can find it. I have no idea how to get started on this though. Does anyone have an idea of how to do it or can point me in the direction of a good tutorial.
View Replies
View Related
I am trying to use the upload file feature that comes with Sun ONE ASP but cannot find any documentation on how to use it. As it is a former chilisoft product all the knowledge base documents, FAQ's, and basically all the useful stuff has been dumped by Sun.
Does anyone know how to use this feature or know of any sites where it is explained?
Please don't say "look on the Sun website" as I have been doing that all afternoon and can't find anything useful on the whole site!!
View Replies
View Related
1. I need to upload a text file (Word or txt file) to a server
2. Save the path of the uploaded file on the server to Access database
3. And then display the link of the uploaded file path in the Access database on asp page
View Replies
View Related
i developed website, in that i have one two asp pages one page to collect the data's and other is the confirmation page In the local host it runs very well but i uploaded the webpage the datas i collect could not be stored in the access database
error:
http 405 resource not allowed
my project consist
1 index page
pages folder (all the static pages, asp pages and access database)
images folder
i specified path as
path1= Server.MapPath ("db1.mdb")
View Replies
View Related
My client wants me to add a functionality which would enable him upload and resize the pictures. His server is having ASPUPLOAD and e-kov components intalled. Also he doesn't want to write files to the disk and save only to memory.
I can use ASPUPLOAD's functionality to save files in memory or save files in the database. My question is how can I access a file so that I can resize the image using e-kov software. And when using 'upload.save' only, without path, it saves the file virtualy but where does the file and how to access it.
View Replies
View Related
My form with a upload photo function is not working - Can some one please take a look and see were I have messed up. The code is 4 sections : The Form, The DB script, The submit Script and the Upload script. Code:
View Replies
View Related
i know that this thread allready exists buti still don't understand what to do ... i'm using microsoft frontpage and access database and would like to upload image file to access ... so ... it looks like that:
i have one page - on that page there is an upload form which leads to another ASP page ... on next page i would like to call that form from the previous page and then store it to the database (if it's possible i would like to do it without any software - because i'm not the owner of the server) ... Code:
View Replies
View Related
I have an application that works fine in Windows 2000 IIS, uploading files of any size to a server folder The same application installed in a Windows 2003 IIS limits the upload size to approx 200 Kb, trying to upload larger files generates an "Operation_not_allowed" error in the web log
I suppose that Microsoft introduced some limitation in either the new OS version or IIS but I'm not able to find any reference, except for the 4 Mb limitation in .NET, but it's not my case.
View Replies
View Related
My image is in local directory. Using "FILE" input type, I am getting the path of the image. How to upload this image to my server using ASP?
View Replies
View Related
I did a program with allowed to user to upload an excel file and insert those data into the access database. I did the testing on xp pro and to upload abt 300 records took me less than a minute.
However, the computer which the program is to be located is using windows 98. So i dowlnoaded the free server thingy. The upload time for 300 records here took about 15 minutes. haha
Just want to know what makes the uploading time so different?
View Replies
View Related
I've got an application that allows users to upload a
file to a directory.
The problem is some users (5-6) can't upload .doc files.
They can upload anything but .doc files. File size is not
an issue.
What could ever cause that????
View Replies
View Related
I'm creating the Intranet for my company and in one of the parts of it I want that users to be able to upload and download files, however, I'm not sure what would be the best option/application to use for its creation. I need them specially for the uploading to be able to track when was the upload done, which user did it, and so on.
I have been using ASPs to create the website. Could I do this with ASPs ?
View Replies
View Related
Need some help on the following problem:I have to upload an image using ASPUPLOAD component and process other information regading products also in the same form.
What I tried is putting a Frame (using iframe) in the form,
which leads to Upload.asp.
Image uploading goes fine but I cannot find a way to get the
file name or any other value(after uploading) to the FORM in which
this frame resides.
I will need some value to link the image and the product.
Kindly let me know if there is a way to pass values OR a better wayout
for what I am trying to do
View Replies
View Related
Is their any way of implementing an Upload section on my site that can upload a folder with images in them, insdead of just images..
View Replies
View Related
how I can upload a file to
the server, and overwrite the existing file if there is one.
View Replies
View Related