asp

.asp page calls a remote .php page

Hi: I need to send data from an IIS web server A to an Apache web server B. Two servers runs on different physical boxes and have different static IP addresses. There is a processForm.asp running on server A, it processes some data, I wants to send the data to web server B, say let processData.php (on server B) to furthure process the da...

PHP 2 ASP cross domain script translation

Hi Everyone! I need to call via Ajax a routine on my PHP server from my clients site on his server. If my client has PHP, I have a short PHP script used to call a PHP from one server to another and avoid cross-scripting issues using CURL: <?php $q=$_GET["q"]; $q=str_replace(" ","^",$q); $ch = curl_init(); curl_setopt($ch, CURLOPT_U...

How to change RadDockableObject position (index) on page load?

How to change RadDockableObject position (index) on page load? ...

Converting French Characters to ASCII on form submit

Hi there I was wondering if anyone can help with this. I am submitting values to an access database using ASP classic and need to convert French characters to ASCII. I have done it before with an form to email script. here is the code that I used with the first line being the code that writes a value to the database field. any help would...

vbscript time zones and Daylight Savings

I'm looking for an easy way to get UTC times and date/time information in vbscript, even while specifying a time zone. I need to be able to get the current time in a time zone of my choice. I have seen postings on the web for functions that determine DST, but I'd rather not use something I'd have to update if DST or time zones switched...

Value from Hidden Input field as an Actionlink Parameter.

Hello, is there a way using Javascript or Jquery to use the value of a hidden field which i modify dynamically (depending on other stuff) to and actionlink helper? <%=Html.ActionLink("Groups", "List", "Home", new { brokerId = ??? HIDDEN INPUT FIELD ??? })%> Thanks in advance. ...

Best alternative to dynamically highlight my Navbar link using jQuery?

Hey, I have an ASP.NET website, on the masterpage I have a basic navigation menu: <ul id="menu"> <li><a href="Default.aspx"><span>Home</span></a></li> <li><a href="Services.aspx"><span>Services</span></a></li> <li><a href="HowItWorks.aspx"><span>How It Works</span></a></li> <li><a href="ContactUs....

retrieving top ten records from csv file using asp/php/asp.net

I am using Asp scripting lang, I want to disaply top ten records from a csv file. How is it possible?? Thanks in advance for any help ...

Save binary to sql

Hello, I'm trying to convert a pdf to binary dato and saving it to my SQL database. When i just output the pdf (from binary) to the user, it works perfectly. The field in my database for the binary data is image. Here is what i'm doing atm: Set oFileStream = Server.CreateObject("ADODB.Stream") oFileStream.Open oFileStream.Type = 1 'B...

MVC vs ASP Classic

I've been given the task of designing the architecture of a new web based trading system. I see Scott Gu is hot on the task of pushing out MVC releases, but the more i look at them the less difference I see with Classic ASP. Due to the availability of classic ASP programmers, I'm contemplating using this instead of paying top dollar t...

SQL String query

hey all i have this insert query im tryin to do but it isn't working. no matter how many variations, and variations of variations i try, it always has a problem with my code. Set rstSimple = cnnSimple.Execute("insert into SALT (Email, Username, FirstName, LastName, ActivationCode, TransactionID, ClientID) VALUES (<%=Request.QueryString...

SQL/ASP - Invalid column name 'Email'.

hey all, i am having trouble adding stuff into the Email column. I can add stuff into the Username column but for some reason i get the following error: Microsoft OLE DB Provider for SQL Server error '80040e14' Invalid column name 'Email'. When I use this code: Set rstSimple = cnnSimple.Execute("insert into SALT (Email, Username, Fi...

How can I include classic VB asp .inc in C# aspx?

Can anybody explain me how I can include .inc file from VB classic ASP in C# aspx page? I try do it with: <!-- #include file="menu.inc" --> But I receive error about syntax in menu.inc "Compiler Error Message: CS1003: Syntax error, '(' expected" - "Line 3: if Len(Session("GUID")) < 1 Then": <% if Len(Session("GUID")) < 1 Then ...

SQL/ASP - Expected: " - But it's there?

hey all, can somebody please help me figure this out? It's giving me error after error after error and I have no idea what its problem is. My code: <% Dim cnnSimple ' ADO connection Dim rstSimple ' ADO recordset Set cnnSimple = Server.CreateObject("ADODB.Connection") ' DSNLess cnnSimple.Open "MY CONNECTIONS STRING INFO HERE" cnnSim...

How to get client-side dateTime in server-side ASP script?

I need to get the browser user local date and Time on my server side asp vbscript page. The goal is to show a specific message to all connected users that are in conversation at a specific local time in my web chat application. Is that possible? One way is to include the local time on an hidden text field and then pass it through usin...

Put result of ajax call in a variable

I have two pages we will call page "A" and Page "B". Page A in the root of the server which does not have any ASP access, while page B can do ASP cause it is not in the root directory. What I need to do via ajax is to send a request to Page B from Page A to get the day of the week from the server and put it in a variable for further tes...

Which Video Player for my website? (ie6, cross-browser compatible)

So! My question is pretty straight forward, I have a website (Build in ASP.NET 2.0) which uses an old video player to play the videos (FLplayer progressive) the problem is all the videos on the site got converted to .mp4 (For better quality) but this old player won't play them... Which would be a nice player for the site that works on ie...

Dynamic size two dimensional array

Hi, I'm currently working on a webshop. For that i need to make a two dimensional array to store the items moved to the cart. Cart: Cart = Session("Cart") Items = Session("Items") And when an item is moved to the cart: Items = Items + 1 Cart(1,Items) = Items Cart(2,Items) = rs("id") Cart(3,Items) = Request("attr") Cart(4,Items) = ...

Request.Url.AbsoluteUri and rewritten URL's.

I need to be able to get the URL as I see it in the browser i.e The rewritten one. For instance: If my Url was www.myurl.com/Test.html and I then used Request.Url.AbsoluteUri, the URL returned would be: www.myurl.com/Default.aspx?Action=Test I need to be able to get back the exact rewritten URL. Does anyone know how I can achieve this...

Jquey tabs delaying when the html loads.

Hi guys I made the front end (xhtml, css and jquery) of this website, you can see it live here: http://news.lifecooler.com/lifecoolernews/jquery/index.html The guys who develop the databases integration and all the dev work made this: http://www.lifecooler.com/edicoes/lifecooler/index.asp If you see in the html version the tabs load q...