i have a system that allow me to do file transfer over the internet to a server. normally i using savepath=Server.MapPath("/WSS2/files/") to get my variable savepath to get my directory to perform upload. what do i need to do to change my coding if i have a server that IP Address 123.123.1.1? very urgent, hope someone can help with it.
I'm working with 2 servers : one running my asp application and other containing my database.Is there another method to specify/to get a file's address beside Server?
i created an application that streams from a server but my problem is on my server there quiet a few drives for eg drive m,u,f,g,h right and lets say my ip for my server is 123.34.0.1 for arguements sake right.....
I have a web server with a firewall. The problem is that when i use request.servervariables("remote_addr") the ip i get is my server's ip. Is there any other way to retrieve my visitor's ip?
Looks like the firewall cought the visitor's request and then request's this page from the web server-and send it back to the visitor.(but still i am not sure if this is what happens)
If i have to reconfigure my firewall can you give me some info on how to do this and if this is secure!!
I need code to capture a users ip address once they agree to a disclaimer (a form yes/no). If the user states no a message telling them they do not have access and a redirect back to the home page.
I need to put the ip address along with the date a sql server database. I am lost as to how to code this and also how to set it up in my directories.
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
Currently, I want to get the IP address from giving hostname in the Active Server Page. I know the hostname, I want to get the IP address via hostname in an ASP page.
How can I get the IP Address of the system that the client uses through ASP. I used Request.ServerVariables("REMOTE_ADDR")to get the IP Address, but that always prints 129.0.0.0 as IP address but that's not the IP Address of the system. Tell me if there is if there is any other alternative.
How do i pick the MAC address of a network card using ASP. Is it possible to identify a system e.g the mother board ID or processor using ASP or any other object.
I would like to make ASP code that would put IP ADDRESS of person who visits my page into a variable . sth similar to IP = request.form("IP ADDRESS") ... just i would like to request "IP ADDRESS" and put it into "IP" .
In reference to an e-commerce website, is it possible (using Active Server Pages) to obtain the IP address of a particular user? I would like to get an address that uniquely identifies the user. If so, how would that be done?
I'm trying to get remote ip address and local ip address of the user (i.e. machine name) but i couldnt find out it. however i can see the public remote ip address.here is the little code that i have written..
<% For Each Item in Request.ServerVariables %> <tr> <td><%= Item %></td> <td><%=Request.ServerVariables(Item)%></td> </tr> <% Next %>
I have been developing an online payment system using classic ASP which uses Msxml2.ServerXMLHTTP to submit an XML package to a 3rd party payment system. The website the payment system is part of is one of many on a Server 2000 / IIS5.0 installation. Each web site on my server has its own IP address. The 3rd party payment system is hosted on another server not under my control.
The issue I have is that when the XML package is submitted, the 3rd party system is not registering the correct IP addresss for the originating request from the website, it is registering the 'Core' or first IP address on the server. The originating IP address is part of their authentication model and so the XML submission is failing because the wrong IP address is being passed through.
Ive been looking everywhere for some simple street address validation. All I can find is email. Im not that great at working with string because I forget a lot =P but how can I check a string so that the format is like a street address.
str = "1015 Salem Street"
If street address is correct then strsql(insert... else Invalid Street address
i have a form with 2 sections: billing address and shipping address. the billing fields will be filled in from a db, corresponding to how the user has logged in. a drop down box will be filled from the db with the possible shipping addresses. how can i fire the form to fill the shipping fields from a selection in the drop-down?I don't have any code on this yet - trying to rough it out. is it possible?
i have a set of asp web pages that have been moved from an old to a new web server i wonder what's the best way of redirecting users to the new address - i've put a redirect on the home page, but ideally i'd like every page on the old server to redirect to its equivalent on the new server if that possible also, at some point in the future the old web pages will be deleted - is there a way of redirecting users that still attempt to access them ?