Blocking IP Addresses Script?

Feb 18, 2011

In an attempt to block access to my website I have entered the following:

[CODE]
<script language="javascript">
var ip = '<!--#echo var="REMOTE_ADDR"-->'

[code]....

View 12 Replies


ADVERTISEMENT

IP Addresses

Jan 15, 2005

I know I've seen some codes that were done in javascript (I believe). What I am looking for is a script (or website) similar to one that locates where someone received their social security number from::

ie, the user would put in a social security number and then it would show where the person got the number.

what I'm looking for is something for the IP addresses. I have been able to grab the IP addresses from visitors to my website and I would like to locate where my visitors come from.

View 3 Replies View Related

Validate E-mail Addresses?

Sep 3, 2009

I use this code to validate e-mail addresses:

// checks if the e-mail address is valid
var emailPat = /^(".*"|[A-Za-z]w*)@([d{1,3}(.d{1,3}){3}]|[A-Za-z]w*(.[A-Za-z]w*)+)$/;
var matchArray = formSignup.txtEmail.value.match(emailPat);
if (matchArray == null)
[Code]...

What i noticed today, is if a customer registers with an e-mail like: something.something@hotmail.com the first dot throws up the error, i'm not to great on regex

View 3 Replies View Related

Append Email Addresses To The .To Property?

Jun 17, 2006

I have a mail form that needs to be sent to different recipients based
on a different check box selections. That works fine, but if multiple
boxes are checked that require two or more recipients, I don't know how
to append to the .To property. Is there a way to do this by looping? Or
is there some other solution for this?

View 2 Replies View Related

Extract All Email Addresses From A String?

Jan 6, 2010

I want to extract All the email Addresses from a string.

View 6 Replies View Related

Reg Expression - Valid International Email Addresses?

Jul 20, 2005

To test for Valid International Email Addresses?

Also, which version of javascript (1.2 ?) is needed for same?

View 14 Replies View Related

Google Maps API - Showing Multiple Addresses?

Nov 25, 2009

I need a hand with my google maps code Basically what I want to do is display multiple addresses on a single map. I've got that part to work but I need to set-up the bounds and zoom so it zooms out/in and shows all the addresses in the map window...

My problem is after I run the setMapMarker() function in the load() function, I need to pull out the latitude and longitude from the geocoder that is run in the setMapMarker() function... however I can't seem to get it to return those details because the coordinates are pulled in the geocoder function.

[Code]...

View 3 Replies View Related

Process Email Addresses Entered In My Form?

Oct 24, 2011

I was wanting to know what you all thought the best technique is to process email addresses entered in my form. Should I do it in JavaScript, or should I have my web server do it -- however that works. It's just a simple 1-field collection.

View 4 Replies View Related

Google Maps API - Find Coordinates For Several Addresses At A Time

Aug 27, 2010

I'm attempting to find coordinates for several addresses at a time. I'm using a for-loop to loop through an array of addresses. I figured it would be best to have a separate function to evaluate the coordinate given an address, and just call it in every loop.

Note that my code below is simplified (I removed the for loop because that's not where I'm having trouble). I know that the issue is probably because I'm trying to return a value from an anonymous function... I tried making the variable global, I tried having a return line from within the anonymous function, nothing has worked... any tips?

Code follows

View 5 Replies View Related

Hiding Email Addresses & Phone Numbers In Forum Application?

Jun 10, 2010

I tried searching for this but couldn't find anything that looked correct (Although, I might not have a clue what I'm actually looking at!) I have a fairly simple forum system running as part of my site as part of the member system memberkit. I would like the forum to be public - members can post to the forum, and the public can post to the forum by putting in a name and email address.....

but....I would like some simple code to either block out, xxxx out, or remove entirely email address and phone numbers from forum visitors that are not members. I'd really like to show a gray block over the phone or email address that says "please login to view this information"

Now as part fo the system, I do have IFEQ tags available to determine if the user is a member or not, so I've got somethnig to execute the code on, but I just don't know what the code needs to be.

I've seen this done on other forums before for links and such, I'm just not sure how to do it. I'm guessing it would need to read the whole post message and look for certain strings of characters, etc. [URL]...

View 5 Replies View Related

Validate Form To Prevent Gmail, Yahoo And Hotmail Addresses?

Jun 14, 2011

would like to have a form like this one where a user cannot enter gmail, yahoo or hotmail addresses in the email filed.Have managed to make it work using this code:

<script type="text/javascript">
$(document).ready(function() {
$('#btn-submit').click(function() {

[code]....

View 1 Replies View Related

Display Incremented List Of Email Addresses From Text File

Aug 28, 2011

I'm attempting to display a list of email addresses from a text file (one address per line) in measured increments, such as one email address per second. sorry, I don't know where to begin on this.Basically I want to use this to "simulate" the appearance of being able to view the real-time send to a series of email addresses. I'm using the PHP mail() funtion to send to the looped list of email addresses, pulled from a text file.It would be great to view the actual realtime send to each address as it occurs in the mail loop, but this simulation will suffice.

View 7 Replies View Related

IP Blocking?

Sep 3, 2002

I was wondering if javascript is powerful enough to block certain IP address? and these IP addresses could be stored in a seperate file..

what i mean by blocking, is it wont let certain IP addresess in....

View 1 Replies View Related

Blocking Selection

Jul 4, 2005

I want to know is it possible to block user from selecting any text displayed on a webpage? What I want is to block user from selecting anything by mouse drag.

View 5 Replies View Related

Blocking Iframe Links?

Jul 27, 2005

Does anyone know how I could make an iframe so that the links in the
frame page are disabled ... or if this is possible?

View 5 Replies View Related

Blocking Input Into A Textarea?

Apr 29, 2007

I wrote a script that tracks the number of characters a user types into a text box. It has a limit you can set, and when that limit is reached I would like to block the user from entering any more text.

How can I block the user from typing characters in the textarea?

View 2 Replies View Related

Image Map Blocking ClientX In IE?

Jan 6, 2011

I'm doing some code to show an image where a user clicks on an image map. I've got code that tracks the mouse location and uses that to place the image where you click (it also stores the value in some inputs so the co-ords are sent through post).

Works perfectly fine in FF but in IE it stops tracking the mouse's location once you move over the image (so when you click it places the image at the edge).It should be tracking the client mouse at a document level so I find it bizarre it doesn't track it for this one element.

Code:

<script>
if (window.Event) {
document.captureEvents(Event.MOUSEMOVE);

[code].....

View 1 Replies View Related

Mouseover Popup Blocking

Oct 17, 2007

I am using google translator in my own site to translate it to other languages ,but , when mouse is over the text , google popup page indicated , that containes original text in english! Can I disable this popup page ?

View 1 Replies View Related

IE Blocking Needed Content!

Jan 28, 2005

I am working on a website that utilizes a DHTML (HTML + Javascript) Navigation bar, but IE blocks the "ActiveX" content, despite the fact I am just using javascript. This site will be used by every computer on our network.

Is there any way I can modify the script so that it is not blocked even when this "security feature" enabled?

View 4 Replies View Related

Blocking Call In Script?

Aug 4, 2011

How do I do a blocking call in javascript?

In the code below the alert at the last line of this code snippet hits before the code in if block completes which returns some value, by calling chached.get method in different js file.code...

View 1 Replies View Related

OnClick Event And Pop-Up Blocking Software

Oct 17, 2005

Should I expect some of my users to not be able to view a report that I
am launching in a new web browser if they have any popup blocking tool
bars or other software installed on their computer?

View 13 Replies View Related

JQuery :: Blocking A DIV When Loading The Contant?

Jan 14, 2010

I am trying to achieve the same thing as this website.[URL]hen you click on the next page, or last page, the <DIV> get lock with a updating message. How is that done?

View 4 Replies View Related

How Do I Stop Explorer Blocking My Javascript.

Feb 3, 2006

I am very new to this and have just written some code to randomly generate an image on my web page. Each time I test it, a bar at the top of the page comes up saying:

"To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..."

How do I stop this coming up on other peoples computers, because if they don't click OK, they can't see my images? Is it my script that is causing an issue, or is there a simple fix for this?

Many thanks in advance for your help, and please remeber I am very new to all this, so try to explain in simple terms.

View 3 Replies View Related

Function Blocking Waiting For User Interaction

Oct 26, 2006

I'm trying to halt a function's execution while waiting for user
interaction.

For example, I have a function called getUserValue() that pops up a hidden
div containing several buttons. Each button sets a value. I want use a
function to pop the box, wait for the users' button press, and then continue
the function based on what the user presses.

Behold, simi-code:

function getUserValue() {
... lots of code ...
var returnValue = doPopBox();
... lots more code based on users selection in doPopBox();
}

I've written quite a bit of supporting code, but the getUserValue()
continues to execute after the box is popped up, even before the user
presses a button.

I used setTimeout() to check to see if the button has been pressed -- but
when the timer starts, the interface is locked and a button cannot be
pressed. I also tried using a recursive function, (check value=null, if it
is, recheck), but Firefox and IE apparently don't like what may seem like an
unending recursive loop.

View 2 Replies View Related

JQuery :: Accordion Blocking The Dropdown Menu?

Sep 7, 2010

I am struggling with a problem involving using a javascript dropdown menu in conjunction with the jquery accordian. My dropdown menu is being blocked by the accordian option and I can not view most of the items within the dropdown menu in order to navigate.I did notice is that if I get rid of jquery-ui-1.8.4.custom.css I can see the dropdown menu, but then I do not get the settings I desire for the accordian. Below is the code for index.php and master.css

index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

[code].....

View 1 Replies View Related

JQuery :: Blocking UI Till Document Is Ready?

Oct 26, 2011

There are pages containing input field where in user enters value. Now I have a requirement to block UI untill the document is ready and every input field is rendered. I have found that I can use blockUI plugin for this : [URL] I have also found few good examples in : [URL]

how do I call $.blockUI() on pre-ready stage and call $.unblockUI(); on .ready(). I would want my UI to be locked untill the doc is ready. I can put call to $.unblockUI(); in .ready() but where do I put $.blockUI().

View 1 Replies View Related







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