I have a few forms and find that people are intering all sorts of information into them that we dont want. Is there a way to stop people from entering things like ()*&^%$#@!+_=><"':; and so in into the forms.
A form example on the site is basic. Something like this.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''I think this experiment is about judging other people on the basis of one's first impression. I don't think it's fair to judge ohters based on first impressions. Most of the times first impressions are crucial in finding people's attitudes or personas, but '.
I am 99% sure that the problem is becase I have a text field box and people are typing in commas, apostropies, ect. How do I get around that? Code:
I'm building a statistics page and would like to ping a server and show the result in ASP. This shouldn't be a problem, but I'd like to be able to get the same information for 40 other servers all at the same time.
The only solution I can think of would be to put the list of serversinto an array and loop through it. But this approach would take seconds to process each server and therefore the entire page would take an age to load.
Is there any way ASP can ping all the server at the same time so that the results for all server could be seen in seconds? I've never done anything like this before so I have no idea where to start.
What I want to do is place a link on my page, and when someone clicks the link a popup appears, and the page they are currently on goes to the next page. e.g
page1.asp contains the link. When a user clicks the link, they are taken to page2.asp. But a popup also appears when the user clicked the link.
I want to run a script that takes one value per field if the field value includes repeats. Is it possible to only select one field? I still want to include all the other fields in my script, I just don't want repeats. is this possible?
I am using VBScript - (asp pages) I want the person to enter a Part Number into a field Example R3HAA0001-CP But the person may not know the whole Part Number and enter
Example 3HAA
I want to use a wild card to make sure the person gets the correct Part Number. I want to stay on the same screen, list the Part Number and Description - now if the person doesn't know the whole number and enters only a partial - I want all of the Part Numbers that match the criteria.
I have two tables, one called tblManufacturers and one called tblModels. tblManufacturers is already populated but now I have to enter the following models which correspond to the ID of the manufacturer into the tblModels table. Any ideas of how I can do this. Code:
I have a database feild that I need to have html code entered into. Short of getting the clients the copy and paste code into <textarea>, is there a simple wysiwyg editor to do the job?? or another way?
I am having a problem with entering long ammounts of information (roughly 400 characters) into a database. The database field is set to memo.
Seems that whenever I want to enter strange characters it gives me an error. (I need to enter strange characters for an important reason).
Also I am having some problems with using ASP on Netscape (not testing...just clients are having problems). Does anybody have an idea of whats going on??
i try to make three textboxes to enter the date,but the problem is , when they enter the data base they enter like this 10,12,1980. so it will not be accepted by the date field
I would like to know if and how it would be possible to create an entry-screen that allows the user to enter data in a database, using a spreadsheet/table-like entry screen. The screen would start of having headers for each column/field and an empty row underneath. When each column in the row is filled in, the user must have an option to add another row.
I'm look for the code/explanation that helps me set up the entry screen, and the ASP code to add the entered data in the database.
I can imagine that each entered row is added to the table when a new row is added, or a button is pressed and then the screen refreshes with the newly entered information and a new row...
I have a page where the user logins in and is taken to another page. On this page i want them to insert data into another table within my database.
At the moment however it just enters data into the database once. I'm assuming it�s because I don't have a recordset set up. How do get the ID of the user so that it will insert the new data into the relevant recordset.
i have a problem with an asp form on my workplace site. Spammers appear to be hammering it daily with requests, our form sends an automatic email, but the email addresses they enter are all fake "donotreply@whatever.com" which is causing a mountain of repeated mail delivery subsytem messages that run on for days. AVALANCHE!!!
Is there a method of blocking the text "donotreply" in email addresses via validation?
How can i detect if a database already has a primary key value that i want to insert. ie. i want to insert 5 into a database that already has a primary key set to 5.
We have many forms on our site that users can fill out and ask questions, request information etc. but somehow, we receive a lot of junk mails (more than two hundreds) within two weeks through these forms. I don't know hot to stop these junk emails.
I want to make a simple simple asp page. All I want is when the page loads it does "net stop <service>". The code is below, it is not running as IUSR_<machine>, I am authenticating as Administrator yet the service does not stop.
The blank page just loads with no errors and the service remains running, what am I missing? I am completely new to ASP, I just want one simple page for this purpose. Code:
I dont want to start the sessions when my asp page is run....how do I do that...can I add something at the start of the page which will not enable the session
How do you stop Dreamweaver from displaying server side includes in the Design View Window? I use a include to provide my asp pages with a general layout. My machine used to ignore the include statements when I'm in Dreamweaver deign view, but today it just decided to show them. It makes it hard to work on my programs.
In my page i have two combobox. one for year and one for week numbers.Now my prob is
1.when i select a year from combo box 1, second combox box will display the number of weeks in that year.eg if i select 2005 it display me list from 1 to 53 as there are 53 weeks in 2005.
2.when i select a weeknumber from combobox 2 and press submit button it ll display start date and end date of entered week.
I am using two asp pages that have large (up to 1280X1024) background images. The image is the same on both pages, but when I go from one page to another it reloads the image each time and flickers for a second when loading because the file is so large. Is there a nifty way to keep the background image the same across two pages without reloading.
I have a windows small business server 2003 running IIS 6 to serve asp pages and streaming movie over internet.
Everything was working fine but suddenly the server stop respond to ANY asp request but no problem with html for several hours last night. It serve asp again for awhile but it stop serving again this morning.
i have a string and i would like to run through this string to find a "."(fullstop), and once found put a break in so that i could continue the rest of the string on the next line.
How can I stop some one from trying to post my form from a remote site. I am getting some one cycling through usernames trying fpr passwords on a web site.
Does anybody have ideas how to prevent passwords guessing. I mean I want to define that same person/robot try to guess password and to block it after 3 wrong attempts.
I have just got back into ASP development after a years break and am playing catchup. I am developing a simple page with combo boxes on it, so that when it is processed it searches a database for all records between the chosen entries in the combo boxes. However I am also trying to stop the page from returning errors when a user clicks submit without choosing any entries from the combo boxes. I am trying to get the page to just re-display itself with a simple error message on the page informing the user that they have to choose an option from both combo boxes.