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 ?
I have http://localhost/myweb/login.asp and i clicked some link in this page navigates to http://localhost/myweb/welcome.asp?userid=2 but in the browser address bar, I wanted to display only http://localhost/myweb/ and I wanted to hide the asp page names & query strings in the address bar.
My site is being invaded by AFRICA SPAMMERS mostly from Ivory Coast ( according to my stats program) using USA or UK credentials (zip codes etc) to fool the registration monitor.
Is there any way that I can grab the IP address as soon as someone lands on the site and determine the country of origin? Since I am only interersted in USA or UK origin visitors this would be a convenient way of preventing them get on the site at all.