I program mostly in PHP and have a site along with other samples in ASP I need to convert over to PHP. Is there some kind of "translator" tool that can either enter lines of code or full slabs that attempts to output a close PHP equivalent?
Otherwise, is there an extensive table that lists comparisons (such as design215.com/toolbox/asp....
I'm working on a legacy application using VB6 and Classic ASP. We're using disconnected ADO recordsets to pass data back and forth. Normally this works. But what has started happening recently is for any inner/outer join, ADO is including these in the available records to choose from. So when were specifying a column to update (in th...
Hello everyone,
I am designing a top level page which is designed by implementing a frameset. In one frame of the frameset, I will invoke JavaScript to refresh the page to post to some URL regularly (every 10 minutes). In the other frame of the frameset, I will let user do the major work -- let end user enter input for a time-consuming ...
Hello everyone,
I am using ASP classic (1.1) with IIS 6.0. Is there any options to set session never expire?
thanks in advance,
George
...
I have a curious problem at work which I've been struggling with since the advent of Windows Vista.
We send our own email newsletter out to 40,000+ people once a week. The sending code has been in place for years, it's in classic ASP/VBscript called through a browser and simply loops through each email address, sending it to them. The...
Trying to do some SEO healing on an old (Classic) ASP site.
The main page has long been home.asp but we want all inbound links to go to the site root ("/") instead. Made the changes to the pages but now we need to do a redirect so we don't have broken legacy inbound links.
I basically want to do this:
<% if Request.ServerVariables("P...
I have a user who has to use Microsoft Word 2007 to create and manipulate word documents in his ASP web application. I'm well aware of the 'Considerations for server-side Automation of Office' KB article and the many third party components available to do this kind of thing, but they've gone a fair bit down this road already.
The proble...
Say, I have "index.htm" and "routines.php".
"index.htm" will call eventually call "routines.php" using JS (AJAX).
So, my question is, how can "routines.php" verify that the request came from the same local server and not outside? Is there a global variable I can check at PHP level or HTTP level?
Edit 1: Using AJAX
...
I've got a project were there are a number of select boxes that are loaded with reference data, ie customer types. To do this, I've create a seperate Controller that returns the data as a JSON result. This is called on page load via a jQuery function to load select list.
On submit to the customer controller, if an option has been select...
Hello,
I am getting error
Microsoft JET Database Engine error '80004005'
Unspecified error
in ASP code on line whilc open database connection. Sometime it works sometime not. Not gettings ne solltion. Plz help.
Kartik
...
I am having an issue with writing a file to the response object. The file is Base64 encoded and is being sent to the ASP code via a web service.
dim contentType, fileName
filename = request("FileName")
contentType = request("ContentType")
If Not Response.isClientConnected Then
Response.end
End If
Response.buffer = true
Response.Cle...
How can I get any browser to just treat a .asp/.aspx file as if it was .html and render it? (Without installing ASP server). It always pops up with a download box or displays the source.
Preferably for IE8. On Vista.
Thanks.
...
I have a ASP.NET web service. This web service works fine. However, the WSDL lists some parameters as optional (minoccurs = 0) and others as non-optional. Some of the optional parameters are actually not optional, others which are marked as non-optional are actually optional. I would like to fix this, but I can't find the location where ...
I apologize if this has been asked before. I searched and didn't find anything that matched my situation. Also bear in mind I am fairly new to asp/asp.net development.
My current project is a relatively simple e-commerce site. The customer will connect to the site, select products, input shipping and billing information, payment info...
in asp there's an Application object, which is like the Session but it's shared among all sessions...
http://msdn.microsoft.com/en-us/library/ms525360.aspx
You can use the Application object to share information among all users of a given application. An ASP-based application is defined as all the .asp files in a virtual directory a...
I'm attempting to call a WCF service via mex from a classic ASP page. I've got the call working using the details on MSDN, but if I pass back an amount of data exceeding 8K I get an exception stating:
The maximum string content length
quota (8192) has been exceeded while
reading XML data. This quota may be
increased by changi...
Hi,
I am trying very hard to pass three parameters to a javascript function from within a itemtemplate of a gridview:
For one parameter, it works fine:
<asp:HyperLink ID="hypComment" runat="server" Font-Bold="True"
NavigateUrl='<%# Eval("CCN", "javascript:ShowCommentPopUp({0});") %>'>Add
</asp:HyperLink>
where CCN is my column in gr...
I'm looking for an easy, drag and drop style form creator tool in ASP that has a web interface with a copy and paste style output where I can drop the code into my html/.asp file. I know and have used one for PHP called 'machform' but I am searching for something similar for ASP/.NET.
Would appreciate any advice!
...
I am using a virtual host, so I have a shared IP address. I would like to access my test site by sending the hostname http header to the IP address, so the server can resolve the name and send back my site page. I am using an unregistered domain name on the server so I can't just type the url into the browser. Does anyone know the easies...
I wrote a web application using ASP .Net MVC. One of the application's function is to return a list of objects, using json, to the webpage. However these objects are of different types. How can I determine the types of these objects using javascript?
...