How can I upload a file in an ASP site? (NOT ASP.NET & NO DLL)
I want a simple method to upload file in ASP. Just one function ...
I want a simple method to upload file in ASP. Just one function ...
I have been tasked with securing the connection string in an classic ASP application and I'm wondering if I should just bite the bullet and upgrade the whole application to ASP.NET, or if there is a simple fix. Currently the application connects to an ODBC datasource with a connection string like this: DSN=Mydb;uid=myuser;pwd=mypasswor...
I have an ASP application that requires an authentication handler where it redirects users based on the AUTH_USER server variable. I have IIS 5.1 on my PC and when enabling both Integrated Windows Authentication (IWA) and Anonymous this seems to work fine. When I deploy to Windows Server 2K3 it all changes and with both IWA and Anonym...
Don't shoot me for this, but I've posted this on experts-exchange as well. I just need an answer. Here's the question (and yes, i've searched, googled, and searched again): I'm getting some very strange errors on boiler plate odbc connection code. The code connects to DB2 (which is always a joy to work with) and has never given me issue...
Hello, I have a problem with double quotes in classic ASP. I want to replace double quotes " in a string. The string contains xml and I don't want to replace double quotes (for attributes) inside tags. So if I wanted to replace double quotes with single quotes, I'd want my string to go from this: <MyDinosaurDocument DocType="Brachy...
Hi I have products that are made up of a couple of options. Each Option has a SKU Code. You can only select one option from each SKU Group and the options have to be concatenated in the order of the SKUGroup. So for example i would have a list of options in a table in the DB that looked like OptID PID SKU Price SKUGroup 156727 93...
I have an asp.net checkboxlist as follows: <asp:CheckBoxList ID="CheckBoxList_Genres" runat="server" RepeatColumns="3"> <asp:ListItem Selected="True">Action</asp:ListItem> <asp:ListItem Selected="True">Comedy</asp:ListItem> <asp:ListItem Selected="True">Classics</asp:ListItem> <asp:ListItem Selected="...
When I load an asp file (Main_Page_1.asp), in the click event of a button there is a function invocation is not working. There is I am stuck in. for eg:- Main_Page_1.asp <head><script type="text/javascript" src="JsFile.js"></script> <script type="text/javascript"> function buttonClicked () { var xmlHttp; try { xmlHttp=new X...
Please look at my code. I am trying to display some dynamic customers in the dropdown menu. And after selecting a customer button is pressed. Then products owned by the selected customer should be displayed in the textarea. But the problem is that after selecting a customer and pressing the button, nothing is displayed in the text area !...
Hello guys. I have server with IIS7. A lot of sites that hosted on it. We tried to implement email sending on one of the classic asp site. I know it is not difficult at all. But it can't create cdonts activeX object. (error '800a01ad'. ActiveX component can't create object) It is working well on the rest sites. I tried to copy two pa...
I want to be able to have a Stored Procedure that can only be used from a particular page, without having to create a permissions / role for a user, when it is just a single stored procedure I want accessed in this way. For example I want to have a proc_GetCustomerItems stored procedure which takes the Parameter of CustomerID and then...
I am working on a number of websites with files dating back to 2000. These sites have grown organically over time resulting in large numbers of orphaned web pages, include files, images, CSS files, JavaScript files, etc... These orphaned files cause a number of problems including poor maintainability, possible security holes, poor custo...
I know it's MS's product, but is it neccesary that it's hosted in windows environment? More specificly,I need it to run in Fedora ...
function isChongHao(ary,i,j) if ary(i-1,j)<>0 or ary(i+1,j) then isChongHao=true exit function end if isChongHao=false end function ...
I am using FPDF library for ASP.I am trying to add chinese font to it, but its not displaying correct characters.I wrote copied php code and converted to ASP style as extension. Its adding font file but does not display correct characters.It works for russian/german but not for chinese/hebrew/thai. Set pdf=CreateJsObject("FPDF") pdf.Cre...
I'm trying to output a PDF using server side javascript (ASP). The current method I'm using is: xfile=Server.MapPath(lib.fso.GetTempName()) xf=lib.fopen(xfile,"wb"); lib.fwrite(xf,this.buffer); lib.fclose(xf); outB = Server.CreateObject("ADODB.Stream") outB.Type = 1 outB.Open() outB.LoadFromFile (xfile) Response.BinaryWrite(outB.Read()...
Okay, it’s an established fact that the Session object in ASP has no relation to the Session object in ASP.NET. My question is this: If I have an ASP page, and it calls an ASPX page, which then does a Response.Redirect to another (or the same) ASP page, will the Session variables from the original ASP page be preserved in the final ASP ...
HI all, I Have a Asp.net ASP calander and a 2 button on my page on my first button's Text is "1 Month" and second button's text is "1 Year",Now when I click on the "1 Month" then in my calander the one month later date from now is selected and highlighted with different color, similar when I clik on the "1 Year" Button now that date is ...
Why is it that ASP/ASP.NET Response.Redirect uses a HTTP-302 status code ("Moved Temporarily") even though in most cases a HTTP-301 status code ("Moved Permanently") would be more appropriate? ...
Hi, I need to pass variables from one ASP(Classic ASP) to another ASP page. I am using javascript (window.open()) to open the second ASP page. I should not pass the variables in the URL like window.open('second.asp?first_name=sdf&last_name=asdas'); I have number of buttons in first ASP page,on click different buttons-different pages wil...