I have a basic search feature in my website, but am having a problem executing one of the search criterias. If a user types a word with an apostrophe such as "what's" my ASP script throws an error.
a way out so that i would be able to return the search result for a word that includes the apostrophe.
Does anyone have an idea how the showasp.asp file is able to direct the user to the demo_text.asp file without changing the URL. I'd like to see how this type of direction is being processed. Code:
I have no major programming background so am struggling to enable processing of forms on my website. Normally I just use Frontpage extensions or a freeware CGI script.
However, with this particular site, which is being hosted in Zimbabwe, the hosting company says they only support Java or VB enabled forms for processing. Does anyone have any idea where I can get a freeware script that will be easy enough for me to implement?
I've written the following piece of code which is embedded in HTML. For some reason when the script is processed the last response.write statment is displayed before the information in the while loop. I can't seem to figure out why this is happenming.
We have written a CMS, where we want user to upload a specific size of images. But if they do in some other sizes, the site becomes ugly. Is there any way in ASP to dynmically resize/compress/edit to display the image, in such a way that its not spoiling the look, even if its not very perfect.
Anyone have any links and/or code samples demonstrating how this can be done: "Processing" progress bar/"in-between" page? Current procedure is that john doe clicks an item on a datagrid of mine and after however long, gets the info he wants.
What I want to do is have a page that pops up "in-between" the two pages. Something that says "Processing Request: Please Wait" or somesuch and have a progress bar or something as well would not have to be an accurate progress bar, per se.Anyone have any links/samples?
How can we carry out image processing (similar to PHP GD Library) to manipulate Images using ASP. Can we call Windows API functions for the same thru ASP?
I'm not sure if this is an HTML question or an ASP question, so I'm posting to both forums. I have a page that has two forms with two similar data sets. The action part of each form brings the user to a process page that updates some database information. I usually use Request.Form("variable"), but how can I determine which form was used? Can I request information from a particular form or should I use different variable names in each form?
I've got two pages. The first page has a simple form that collects a value from the user and then posts this value to the second page that performs a query. This query has some loops in it that can sometimes force it to wait up to 15 seconds.
My question is how can I implement a "Processing Request..." message until the results are returned? Right now it just sits on the first page until the results are returned, THEN goes to the second (display) page. How do I call some sort of message to be displayed so it's a smoother transition and the user doesn't think the browser has stopped responding?
Is it possible to have server1 do a post to another page on server2? Server2 page does it's thing and submit the results back to server1. All of this is done without any reference in the url. I tried server.execute and transfer but it only works on the same server.
Basically, I have a component on server2 inside my firewall. Server1 is for public use. Users enter server1 and request what report they want. The report should pass to server2 to instantiate an object and create a report on the fly and store the pdf on server1. Users just have to view or download it from server1. All this is done without the user knowing they left server1.
This does work if I sent the server1 form action to server2. But then it's on url now.
What's wrong with this code ? It worked fine untill I added the second part of it - the emails which is sent to me (Administer).. What have I done wrog ?? Code:
I have a page with a form, inside the form there is a SELECT statement that pulls all relevent 'yes/no' columns from all relevent tables in the db and makes them checkboxes inside the form.
Now when i check or uncheck these boxes and submit them i need to have the db updated with all the relevent changes in all the various tables.
How can this be done? maybe there is a "FOR EACH CHECKBOX.." statement that can be used?
I have a page with a form, inside the form there is a SELECT statement that pulls all relevent 'yes/no' columns from all relevent tables in the db and makes them checkboxes inside the form.
Now when i check or uncheck these boxes and submit them i need to have the db updated with all the relevent changes in all the various tables.
How can this be done? maybe there is a "FOR EACH CHECKBOX.." statement that can be used?
I have a form that submits to as asp processing page and that processing page inserts the info into a database and sends me an email. <form action="process.asp" method="post">there are a few pranksters out there that like to open the process.asp page directly and send blank info to my database and email. Is there a way to have this page only work when the form submits to it but not work if you just go directly to the page. I tried changing the permission to write only, but then you are asked for a password.
I have a very unique problem, i am submitting from a pdf form, when submitted goes to a asp page, which saves the data and redirects to a different page after saving the data. I am writing a message called 'Processing Form please wait' in the page where it is saving the data and doing a response.flush(and i also di response.buffer =true) but still it seems like it never hits this page. When the user submits the form, it just stays on the pdf file for a good 10-15 seconds and redirects to the last page(after saving data).
I have a web page that takes anywhere between 1 and 5 minutes to process. The user inputs a date criteria and then I have to query against a 9 million record table for the results and do some calculations also.
Since I don't know how to display anything to the screen until the server has done it's part, I was wondering if anyone here would know. I just basically want the user to know that the page is processing and the results will be displayed once the processing is done. Any ideas?
I have a very unique problem, i am submitting from a pdf form, when submitted goes to a asp page, which saves the data and redirects to a different page after saving the data.
I am writing a message called 'Processing Form please wait' in the page where it is saving the data and doing a response.flush(and i also di response.buffer =true) but still it seems like it never hits this page.
When the user submits the form, it just stays on the pdf file for a good 10-15 seconds and redirects to the last page(after saving data).
I'm working on a new project that involves purchasing stuff online. But I don't really know where to start. I know you need to process the cards through a gateway, and that's about it.
What I want is a secure page where the customer enters their credit card info and hits submit. I don't want to process it manually, I want it all to be automatic. I'm not asking for help coding this, because I understand its very complicated, and I don't trust that I will be able to make it secure if I were to do it myself.
What I'm asking is, can anyone recommend a good ASP script for processing credit cards? (all cards will be from the UK, so visa, mastercard, maestro, switch, solo etc...).
I don't want a shopping portal, just the credit card processing bit is what I'm after (anything under $100 would be ideal)! And also, what is a good gateway to use in the UK? And any other info/tips you can give me would be great too!
I'm just after abit of advice and recommendation about processing a form. Would it be advisable to set the form action to the page were the form currently sits and insert an if statement into the beginning of the page to check to see if submit = Yes?
Then saving the user inputs into sessions?
if all inputs meet the validation requirements then redirect the user to the next step?
Also is there a better way of trapping if a user enters numerical values and special characters than this? Code:
I have a form that users enter details of a car (e.g make model , idnumber#) and then press save to save to the database they may want to order 10 cars with the same details exept the idnumber so to save the users entering in all 5 details I want to make it easier.
Should I have a list box and let the user add idnumber items from a text box and then pass this to my update asp and loop through + to save to the database or should I save one record and then return back to the same form Note : I am having problems with this method as only part of the fields show when I hit the back button I just wondered what is the best method of doing this I am spoilt for choice and I also get problems.
i have created a registration page containing a form than sends username password to an asp processing page. If the user exists it sends the user back to the registration page with server.transfer command otherwise it adds the new user to the database as expected.
Anyhow I now want to add an upload feature to the registration page (using pure-asp). The example I used says that the form Enctype property should be set to mulipart/form-data.
Now when I add a new user via the registration form, the processing page for some reason assumes the user is already registered (BUT IS NOT IN DATABASE) and the server.transfer code is executed ? sending the user back to the registration page.
I would like to be able upload a text file to be put in a database, from a file field control in a HTML Form. The file will contain the ID numbers of some users, separated by a line break. I would like to be able to insert all the numbers in a table in my database. I don't want to save the uploaded file in the server, just handle it as I have said. how can I do that using ASP 3.0?
I want to know how online order processing implemented? For example, the online shopping mall such as Amazon receives order, it will communicate with credit card company, and it will add that order in queue, and warehouse can see it and pack it? Also, the library application also process the same way? when it has book request.
I have developed an application in asp which is available over intranet. the first page of the site is a login page and allows the users to enter their credentials and login.
The login page is a simple html page. The site works fine , but after quitting if it is left idle for about 30 mins, the next user who tries to login it takes about a minute to process to finally enter the site. after which it again becomes fast.
what can be the reason for the site being slow only when it is accessed after being left idle for some time?
I am processing a recordset on an ASP page and this works fine, However within the loop of the recordset for each record I also want to output the details onto another page in a slightly different format. How do I make a reference to the second page building the details from the first page?
I have the need to create a form that will allow a user to register for summer camp online and also make payment. I also want the ability to export the data to a .CSV or some other simple database file. I do NOT want to export to XML. The form processing program would preferably be ASP or PHP.
I plan to use PayPal or some other credit processing company to allow the user to make payment. This is for a non-profit organization so a free or very inexpensive solution is obviously preferred. Can anyone point me in the right direction?
I am running a rather large email list and want it to be processed directly on the server. I have been using ASPEmail from Persits, which has a SendToQueue function, but it still requires a lot of processing time in the browser, and often times out. Can anyone tell me the best way to do this?
I have a very simple form with text fields which I would like to append the data to a text file.
Here is the code I have written, but I just keep getting an HTTP 500 - Internal server error
If I remove all the code and just leave the response.write at the end then that works, so ASP is working.
I am very new to ASP, so have no idea where to start.
<% 'declare varibales to hold info dim email,firstname,subject,comments,separater,textfil epath const ForAppending = 8 separater = "|" 'sub to call to add to text file sub addToTextFile (byval textdata) set FSO = Server.CreateObject("Scripting.FileSystemObject") set myFile = fso.OpenTextFile(textfilepath, ForAppending, True) myFile.Writeline textdata myFile.Close set FSO = Nothing
I'm running ASP on IIS 5.1 on Windows XP, the same thing works on Windows 98 with PWS.
The function below stuck the IIS - draws only frame with nothing inside and wait for infinite. All other requests to IIS are stuck. I presume that it is some permission thing, but what? Is there some log or something that I can check? Code: