Accessing HTTP Script Server Side

My ISP provides some scripts that allow control of the server by using scripts that are accessed via http. I want to be able to access these scripts from an ASP/Jscript application but I don't want the command displayed in the address bar of the browser. Adds a mail alias fred to user@domain.dom . I think that this can be done with fopen in PHP but I don't know how it is done with ASP.

View Replies


ADVERTISEMENT

Opening Server-side Excel File Then Modifying It Client Side Using Vbscript

is it possible to open an excel file (used as a template) from server using server-side vbscript; then modify it or add values from client using client-side vbscript?

View Replies View Related

Passing Client-side Array Index To Server Side Script

Following is a vbscript code extract triggered by a combobox OnChange event. arrVendorA and arrdefpack are server side arrays and i need the intCounter parameter to be the array index. Code:

<script>
sub getstdPackByVendor(strPartNo, intCounter)
dim selVendor
selvendor= colSelect("cboVendor", intCounter).value

if selvendor= "<%=arrvendorA(intCounter)%>" then
if "<%=arrdefpack(intCounter)%>" = 2 then
colTD("txtStdPack" & intcounter+1 ).innertext = cstr("<%=arrVAStdPAckL2(intCounter)%>")
end if
end if
end sub
</script>

View Replies View Related

Server-side Array, Client-side Index Problem

The following code is giving me a type mismatch error at the 'if' statements... any ideas, anyone ?

sub getstdPackByVendor(strPartNo, intCounter)
dim selVendor
selvendor= colSelect("cboVendor", intCounter).value

if selvendor= "<%=arrvendorA(" & intCounter & ")%>" then
if "<%=arrdefpack(" & intCounter & ")%>" = 2 then
colTD("txtStdPack" & intcounter+1 ).innertext =
cstr("<%=arrVAStdPAckL2(" & intCounter & ")%>")
end if
end if
end sub

View Replies View Related

Server-side Vbscript Call With Javascript Client-side

How do I go about calling a server-side vbscript within a client-side
javascript function? What I have is a page heavy on the javascript that has
a number of functions, one of which is to begin a visual countdown with an
onclick and also open an asp page containing the server-side vbscript, which
initiates a wake-on-lan call. I had no idea how to call the vbscript within
the javascript function, so this is why I opted for the vbscript asp page
"pop-up" via window.open. Code:

View Replies View Related

Client-side Confirm() Needs To Run Before Server-side Code

I check to see if a certain submission button is asking for removal. If the removal is true, I update a recordset's delete column. This has been tested and it works. However, now I'd like to prompt the user to make sure that he/she wants to remove the record. Here's the code: ....

View Replies View Related

Can Client Side Scripts See Server Side Form?

I have a Client Side Java Script which is supposed to re-load the options on my serverside ASP form.

I have been trying to get the syntax right to assign the Select box on the ASP form to a variable in my JavaScript so I can update the options. Can anyone either tell me if this is not possible or what the syntax should be. Here is some information.

Form Name = AddProdForm
Select Box name = subprodline
JavaScript Variable = form1

Here is one of the many versions of this line I have tried.

var form1=document.forms(""AddProdform"");

View Replies View Related

Executing Server Side .exe File From Client Side

I m writing one code to invoke remote desktop service for given IP address. For that i m using mstsc.exe file to invoke RDP.

I have a no of links to be displayed on the page and on click of link, RDP for that IP should be called. Currently i m using one button to invoke RDP. Code:

View Replies View Related

Tables - Server-side Vs. Client-side?

I am starting to build quite a few pages that will have
tables of data from an SQL database.

I have been building the table rows on the server side
in VBScript, but I have been thinking about having the
VBScript code just build array variables in the <head>
section (or as local variables), and then have JavaScript
functions on the client side actually populate the tables
when the page loads.

I do plan to do other things like being able to sort the
tables in JavaScript code on the client, limit the tables
height and be able to scroll the rows, and click on a row
in the table, and have the values populate a form. I will
also need to be able to export/download/? some tables into
Excel.

View Replies View Related

Client Side And Server Side Validation

I am doing login page . (login.asp)As usual it has username , password textbox and a login button .i need to do client side validation for mandatory fields and I need to do server side validations to check for the hardcoded username and password .if it matches i have to redirect to another page(content.asp)

View Replies View Related

Client Side Asp Within Server Side Asp

im trying to use the following code to log whenever a user clicks through
this particlular message box - however, this currently logs regardless of
whether or not the message box was clicked - im assuming this is because the
server-side code can't see the client side if condition. but how can i set
the varMsgBox variable as a server-side variable? Code:

View Replies View Related

Server Side Script Inside Client Side Script Allowed?

I have a sub routine called when I click on a button. It is inside VBScript tags (client side). Can I do server-side scripting inside that?

<script language="vbscript">
sub cmdButton_Click
code

'can I do this
<% strValid = "Update" %>

End Sub
</script>

Would be nice but don't think it works. Anyone know for sure?

View Replies View Related

HTTP Error 403 - Forbidden Error While Accessing Html And Asp Page

well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer http://localhost/Mail/email.htm .

View Replies View Related

HTTP 500 Internal Server Error Online Server

I have made a site in ASP and I can navigate the site fine locally. However once I get to the product page I get:

"HTTP 500 - Internal server error Internet Explorer"

Does anyone have any idea as to why this may be? ....

View Replies View Related

Accessing Files On Another Server

Development environment: Windows 2003 Server running IIS6 and the same
server running as a domain controller, DNS and DHCP servers.

Production environment: Windows 2000 Server SP4 running IIS5 and not used
to provide domain control or name services.

The two environments are on different networks with no trust relationship
between them. In both environments the web server is set up to disallow
anonymous access and to use integrated Windows authentication. The
application is vanilla ASP (i.e. not .NET) VBScript.

In the development environment, the following code runs flawlessly no
matter whether "myUNCPath" points to a share on the web server or a share
on another server in the same domain.

Set objFilesys = Server.CreateObject("Scripting.FileSystemObject")
If Not objFileSys.FolderExists(myUNCPath) Then
Set objFolder = objFileSys.CreateFolder(myUNCPath)
End If

However, in the production environment it falls over with a permission
denied error when "myUNCPath" is on another server and further testing
shows that the FolderExists method is returning false even when
"myUNCPath" exists. The network share is configured to give full control
to the Everyone group.

I've found http://support.microsoft.com/kb/207671 which although
referring to IIS4 suggests that the issue could be the authentication
method (I'm assuming that integrated Windows authentication is close
enough to NT Challenge/Response and so might generate a token that cannot
access network resources). I'm not sure of this is the problem because if
it were then the code shouldn't work in my development environment.

Any ideas on what's going wrong and how to access the network resources
in the production environemt?

View Replies View Related

Accessing LDAP Server

I am trying to access a LDAP server with ASP with no sucess. I can do it with ColdFusion but not ASP. All the examples I have seen so far do not use passwords or userid's. My LDAP server requires password and user credentials. Can anyone point me in the right direction.

View Replies View Related

Error Accessing SQL Server

I am trying to execute some code from an ASP page which connects to the database.I am getting the error message from SQL Server.The error message is:

Microsoft OLE DB Provider for SQL Server error '80040e14'

The specified schema name "aspSchema" either does not exist or you do not have permission to use it.Can someone please tell me why I am getting this error and how to solve it?

View Replies View Related

Accessing The MS Exchange Server

I have developed a fairly simple CMS for my intranet at work - I would like to have a "Request a photographer form" that e-mails me the posted data by utilizing our intranet exchange server, if possible.

I'm not really looking to code this but I will if I absolutely have to =) Anyone know how to do it or where I can find a simple form script that does? I have found lots that work with sendmail and other types of servers but none for exchange.

View Replies View Related

Accessing SQL Server Index

I'm working on creating a search functionality. I have keywords of articles in one column of a SQL server table, and the search terms of the user is hitting that column.

It works but I'm stuck on how to determine relevancy. I know you can create indexes in SQL server, and if it works anything lik Index Server, I was thinking that I could connect via ADO and determine relevancy.

View Replies View Related

Accessing A Web Service From An Active Server Page

I have implemented a Web Service on an IIS 5.0 platform using the ASP listener
I can access the Web Service just fine from a VB 6 App and classic ASP using the SOAP 3.0 toolkit and its "MSSOAP.SoapClient30" object

However, one of the servers that I'd like to call the Web Service from is a shared hosting platform that does not offer the "MSSOAP.SoapClient30" object
It only has the MS XMLDOM. I have located an example of Accessing a Web Service via the MSXML DOM from an Active Server Page where the Web Service is on a .NET platform (http://home.att.net/~codeLibrary/ASP/ws.htm

But I need to know how to access a Web Service from an Active Server Page with the MS XMLDOM where the Web Service is implemented using classic ASP.

View Replies View Related

Accessing Server Variables From The Client Browser

I want to be able to client process of the ASP page to get the value
populated in Request("rssFeed"), how can I do this because the Request
object is not available to the Client-side.

View Replies View Related

Accessing Text Or Large Varchar Fields In SQL Server

I have read that there can be a periodic problem when reading large varchar or text fields from SQL server (or memo fields from Access)--they can sometimes come up as empty strings.

What I have been unable to find out is whether this problem is still around in recent versions of MDAC (>= 2.8). Does anyone know whether this problem still occurs--is it still necessary to follow the steps in that aspfaq article?

View Replies View Related

Canīt Put A Value On Server Side

On this page I've a button and an iframe. When I press that button, on click event has: document.getElementById("iframeID").src="mypage.asp?test=xpt" .

On mypage.asp I've

test=request.queryString("test");
response.write test
response.end()

The iframe loads the page, but test is empty.

View Replies View Related

Can ID Be Used Server-side In ASP?

I'm developing an ASP app and trying to make it XHTML strict. This
requires the removal of all "name" attributes from form elements. Can form
elements be read server-side in ASP with only an "id" attribute?

View Replies View Related

Server-side

im completely new to server-side scripting, but im an experienced actionscripter in flash, but i want to learn server-side scripting as well, but i dont know where to begin, any advice on where to start?

View Replies View Related

Server Side Set

I have inherited a set of asp pages that I now need to augment. In order to minimize changes to production code, I would like to make a "call" to an asp page from a new asp page. Existing code is using many Request.Form variables, and I would very much prefer not to change this code.

The new page will retrieve data that I would like to fill into Request.Form variables that are used in the old code. So, is it possible for me to set Request.Form variables from within an asp page and then fire off a second page that uses those variables as
well as any Request.Form variables that were passed to the original page. Additionaly, it should all occur on the server, and the client would only get a response after all on the server is complete.

View Replies View Related

HTTP Server

I have free web-based email.Is there any way I can create an http server? For example, like hotmail does for outlook express? If so, how? Hotmails HTTP server is at http://services.msn.com/svcs/hotmail/httpmail.asp.

View Replies View Related

Accessing/Passing An Object Variable To A Server.Execute Include

I've been browsing this and a few other related newsgroups trying to get my head around this problem, and so far all the trails seem to go cold, without an acceptable solution being reached. I'm posting here because there seems to be a few MVP's knocking around, and if they dont know, then it's a safe bet nobody does.

I'm beginning to think that what I want to do is simply not possible - but i'll put it out there once more.

Here goes: I'm writing a content managaement system - and i'm making use of dynamic includes via the "read a text file" technique, and then substitiuting values into markers in the template. Code:

View Replies View Related

Can Server Side Asp Run DOS Commands?

i have an asp page and id like to run some DOS commands to copy files around on the server to a new directory on the server, and then run an exe afterwards. some sites tell me its as simple as Code:

View Replies View Related

Server-Side Compression

I'm using IIS 5 and I've been reading about server to browser HTTP compression
using "gzip" or "deflate" encoding. Can this be done in IIS 5?

If so, it is a configuration setting or do I need to compress it myself before
sending to the browser?

View Replies View Related

Server Side Include

I have page which uses two server includes. The first displays a random banner advert. The second displays a form containing dropdown boxes populated from a database.

The includes work seperately but when I include them together I am getting an error. The includes share the same database but use different tables.

Does anyone have any ideas as to what could be causing the conflict between the two includes?

Here is my code for the BANNER .....

View Replies View Related

Server Side Printing

I would like to print to a printer connected to my IIS server.
I mean "I DONT WANT TO PRINT ON EVERY PRINTER IN THE WORLD". (many
answers are thinking javascript printing to the user side)
I just want to print on the server side only for me (in ASP of course)
Another thing to consider is that i use a local printer that generate
PDF (Acrobat Distiller driver + ghostscript + redmon port redirector ).
My server side printer name is "PDFPrinter" and its port is "RPT1:"
I tried with FileSystemObject.CreateTextFile("RPT1:",True) but don't
work.I saw many examples with:
.......set objPrinter =CreateTextFile("LPT1:",True) so ....
I also tried with Wscript.NetWork class but no sucess

View Replies View Related

Delaying On Server Side

I would like to achieve the equivalent of META REFRESH but without the HTML
meta refresh and without JavaScript. In other words, on server side I would
like to wait some seconds, then redirect the page. Is there any way to do
this?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved