2 Add items to an application blocking

I have a blocker of ip address that I work in a site, I need to add the http referer to block as well. How can I add? I have it in my DB. Here is the code:

< "Biplist" datasource = cfquery name = "DB" >
SELECT reject
OF Biplist
WHERE reject = ' #CGI. REMOTE_ADDR #'
< / cfquery >
< Cfif Biplist.RecordCount >
"" < cflocation url = ' http://www.offtosomepage.com ' addtoken = "No" >
< cfabort >

can I add it to the WHERE statement? Like this?
WHERE reject = ' #CGI. ' REMOTE_ADDR #, #HTTP_USER_AGENT #
??
Can someone help me?
Thank you.

the syntax is
WHERE reject
in ('#CGI.) REMOTE_ADDR #', ' #HTTP_USER_AGENT # ')

not too sure about the logic. Depends a bit on how you store the data.

Tags: ColdFusion

Similar Questions

  • How to add time to the signature block

    The standard signature block a name of the person and the date located below the blue line.  Is it possible to have the time of signature added to this block is similar to other applications of electronic signature?

    Hello

    It is not possible to add time to the signature block. However, you can place the stamp of participation, which will capture the name of the signer, Email and time signature.

    Kind regards

    Mohamed

  • How to use the script "click menu item" command on a menu item for an application that runs under another user?

    Hey everyone, quick question...

    I am trying to run this script:

    say application "System events".

    say process of "iTunes."

    click on menu item "Start Station" from the menu 'Song' to menu bar item 'Song' in the menu bar 1

    end say

    end say



    The idea behind this is to start a song selected currently playing station. I know, it's not hard to do it manually, but I want to be able to do it without having to call the iTunes app to the front. Now, this script works for my own iTunes app, but I have a second instance of iTunes connecting the second user on my computer at home (User2), with its own separate library and account and all. script I have works fine for an instance of iTunes under my user account, but I can't figure out how to specify which instance of iTunes, I'd like the script to work on.




    I want to emphasize as an FYI that i use.


    the shell script "connection f User2 /Applications/iTunes.app/Contents/MacOS/iTunes > & - 2 > & - &" with administrator privileges

    -to open my second instance of iTunes as User2



    is there a way to change the "process"iTunes"to say" something like 'process 'unix ID' say' and have the ID for each respective instance of iTunes unix?


    Let me know if I do not make sense... Thanks in advance to anyone who can help






    You can target a process of application using various properties of system events, for example:

    tell application "System Events"
      tell first item of (get application processes whose unix id is 15174) -- or whatever id
        activate --> needed when using GUI scripting
        get properties
      end tell
    end tell
    
  • When you add items to a project can then remove the clips?  I'm trying to free up space on my hard drive. Thank you.

    When you add items to a project can then remove the clips?  I'm trying to free up space on my hard drive. Thank you.

    Not while you're still editing the project.  When you have completed the project and shared it and are sure that you do not want to do any editing more far, you can delete the whole project.

    If you do a significant amount of iMovie editing you really need to put your libray (ies) on a large external hard drive.  Another thing you can do is to divide your work between different libraries and move those that are not currently on a removable drive.

    Geoff.

  • I disabled the toolbar &gt; &gt; Menu button (via a right click on a PC, Windows 7) and cannot access the toolbar to add items to the sail back in. Any ideas?

    I disabled the toolbar > > Menu button (via a right click on a PC, Windows 7) and cannot access the toolbar to add items to the sail back in. Any ideas?

    Don't see the menu bar not (File, Edit, View, history, Favorites, tools, help)?
    Turn on/off the menu bar is a new feature in version 3.6.
    (Linux and OSX see: what happened to the file, edit and view menus? )
    Windows Method 1. Press and hold the key and press the letters of the following in this exact order: V T M
    Windows method 2 Press and release the button. The Menu bar is displayed; then choose ~ ~ red: V ~ ~ iew > ~ ~ red: T ~ ~ oolbars and click on ~ ~ Red: M ~ ~ enu Bar.
    The menu bar should now be displayed permanently, unless you turn it off again using view > toolbars. Check = not displayed, NO check mark is not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing

    Navigation, bar toolbar bookmarks and other toolbars under view > toolbars. By clicking on one of them will place a check mark (display) or remove the check mark (not shown).

    To display the status bar, view, and then click status bar to place a check mark (display) or remove the check mark (not shown).

    Mode full screen
    http://KB.mozillazine.org/netbooks#Full_screen

    See also:
    Back and front toolbar buttons or others are missing
    Customize controls, buttons, and Firefox toolbars

  • Add items to the combo box when running

    In my program, I want to add int '34' "43", "17"... and let the user choose one of them to the drop-down list box. How can I add items to the combo box when running. Create a property node 'String [] '? I try that, but its screen is "3443". I want to display as "34".

    43

    17

    See attached extract

  • Cannot add items to the windows DVD creation

    When you open dvd maker-go ot add photos and video - click on add items - find and select the file, and then click Add - this is where the problem is - it needs a file name to be added, but nothing seems to work-can of a help me

    I ran sfc/scannow - he went up to 100%

    Impossible to get findstr to work

    also tried to disable and re capable creation of dvd in step 2

    Windows dvd creation is not listed in the list of the items that appear on the screen

    I'm lost

  • How can I add items to the Menu of the button lock, I don't, change user, close and lock. I want to add 'restart '.

    How can I add items to the Menu of the button lock, I don't, change user, close and lock. I want to add 'restart '.

    How can I add items to the Menu of the button lock, I don't, change user, close and lock. I want to add 'restart '.

    This tutorial should do what you want. Use method 2.
    http://www.Vistax64.com/tutorials/105003-shutdown-options-start-menu.html

    Please read all notes caefully, not only the parts of the statement.

    t-4-2

  • creation of DVD Add Items does not

    When I start creating DVDs in Windows 7 and click on add items, it does not open a dialogue to allow me to add items.  In fact, none of the selections from the screen works except the file-> exit, cancel or the Options link.  I tried to uninstall via Turn Windows features On or Off, running "sfc/scannow" without any problems found and even tried command line options with no luck.

    When I start creating DVDs in Windows 7 and click on add items, it does not open a dialogue to allow me to add items.  In fact, none of the selections from the screen works except the file-> exit, cancel or the Options link.  I tried to uninstall via Turn Windows features On or Off, running "sfc/scannow" without any problems found and even tried command line options with no luck.

    ===============================================
    Might be interesting to try to disable all audio/video filters... See the
    links:

    Windows 7 - video filters in Windows DVD Maker: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/video-filters-in-Windows-DVD-Maker-frequently-asked-questions

    How to burn DVDs with Windows DVD Maker
    http://www.7tutorials.com/how-burn-DVDs-Windows-DVD-Maker
    (scroll down for...) What to do in case of problems)

  • How add us shortcuts of applications downloaded from the app Store? (RT surface)

    Original title: App shortcuts

    Hello

    How add us shortcuts of applications downloaded from the app Store? (RT surface)

    For example: Skype shortcut on desktop

    Hello k0mrade,

    You can create shortcuts on the desktop for versions of the apps Web page, but not applications, in the strict sense. The version of the app Web page often has more features and options.

    The example you give is a good thing. If you go to the Skype Web page, you can do this Web page a favorite in user IE10 or IE10 Desktop interface. It also works with SkyDrive, Hotmail, Outlook.com, or any Microsoft service available on the internet.

    Once the favorite is created, open the Desktop IE10, then open Favorites and drag the symbol from the Web page Favorites and on the desktop. It becomes a shortcut on the desktop to this Web site (but will most likely open on the side of the user interface).

    In addition, if you use the same Microsoft account to connect to Windows RT, that you will use to connect to the Microsoft Web pages, when you open the shortcut that you'll already be connected.

  • WebCenter REST API: Add items to a Stringlist?

    Hello

    How can I add items to a Stringlist? My asset has a multiple attribute and I want to insert items.

    How can I do?

    I finally got.

    https://support.Oracle.com/epmos/faces/DocumentDisplay?_afrLoop=563491042188574&parent=document&SourceID=1528601.1&ID=1510322.1&_afrWindowMode=0&_adf.CTRL-State=m55lxhl4z_58

    It s like this:

    sourceAssetAttribute = new Attribute();

    sourceAssetAttributeData = new Data();

    sourceAssetAttribute.setName ("attribute_name");

    sourceAssetAttributeData.getStringLists (.add(0,"Asset_type:"+asset_id));))

    sourceAssetAttributeData.getStringLists (.add(1,"Asset_type:"+asset_id));))

    sourceAssetAttribute.setData (sourceAssetAttributeData);

    sourceAsset.getAttributes () .add (sourceAssetAttribute);

  • Cannot add items to the submenu (CS6) existing

    I used to be able to easily add items to select it - sub-menu object by adding menu items with the kSelectObjectMenuGroup of group name, but any approach, I tried, it returns an error or the menu item simply does not appear. Is access to this menu is no longer allowed (from CS6)?

    You should take a look at this:

    Add a menu group Software Development Kit in the Windows menu.

    const char * kSDKWindowsMenuGroup = "SDKWindowGroup";

    bool exists = false;

    error = this-> MenuGroupExists (kSDKWindowsMenuGroup, exists);

    aisdk::check_ai_error (Error);

    If (! exists) {}

    AIPlatformAddMenuItemDataUS menuItemData;

    menuItemData.groupName = kOtherPalettesMenuGroup;

    menuItemData.itemText = ai::UnicodeString ("SDK");

    AIMenuItemHandle menuItemHandle = nil;

    error = sAIMenu-> AddMenuItem (message->, d.self, NULL, menuItemData, & kMenuItemNoOptions, & menuItemHandle);

    aisdk::check_ai_error (Error);

    AIMenuGroup menuGroup = nil;

    error = sAIMenu-> AddMenuGroupAsSubMenu (kSDKWindowsMenuGroup, kMenuGroupSortedAlphabeticallyOption, menuItemHandle, & menuGroup);

    aisdk::check_ai_error (Error);

    }

  • How to add items to the repository. ?

    HII,

    I want to add the data user such as name, age, etc. in the repository.

    I created a custom repository, the database table and it mapped by the descriptor to point.

    But how to use the MutableRepository Interface or RepositoryFormHandler to add items to the table...?

    Thanks in advance

    Aurélien

    Try this:

    MutableRepository PSMS = (MutableRepository)request.resolveName("/com/FirstRepository");

    MutableRepositoryItem repItem = mRep.createItem ("user");

    repItem.setPropertyValue ("name", "Suprême");

    repItem.setPropertyValue ("age", 40);

    mRep.addItem (repItem);

    Peace

    Shaik

  • How can I add/install a new application Adobe Creative cloud on my computer? My Department uses VIP device licenses for education.

    How can I add/install a new application Adobe Creative cloud on my computer? My Department uses VIP device licenses for education.

    I have a set of applications Adobe CC that comes from a package installer. A new plan should be created just to install the additional application?

    What update of applications (for example, the transition to the latest version of Adobe first Pro 2014)?

    I'm sorry.

    Applications must be made through Packager only.

    You can create packages for them, if you wish.

  • ADD ITEMS TO THE LIST DROP-DOWN LIST TO A TEXT FIELD (USER ENTERS THE ITEM) AND ALSO RELATED TO VALUE

    Untitled.jpg

    I have WANTED to ADD of ELEMENTS from the list drop-DOWN OF THE AREA of TEXT (the ELEMENT NAME) WHERE the USER BETWEEN of THE DESCRIPTION of POINT

    AND RELATED value SHOULD ALSO BE ADDED to THE SAME ELEMENT.

    LIKEWISE REMOVE ITEMS IN THE DROP-DOWN LIST

    PLEASE GIVE SHAPE TO SAMPLE OR JAVASCRIPT FOR THE ABOVE SCENARIO...

    INDEED USEFUL FOR MY PROJECT PLEASE SEND PDF FORM

    Hi Praveen,

    You can add items to the list in a specific order, which would be to load the elements in an array, sorting and then load in the dropdown list drop-down list.  This would be in the click event of the button Add.

    Create a table to hold all the list items, table drop-down list contains objects with a property 'displayItem' and 'value '.

    dropDownItems var = [];

    Add the new

    dropDownItems.push ({displayItem: ItemName.rawValue, value: BoundValue.rawValue});

    Add existing ones

    for (var i = 0; i)< dropdownlist1.length;="">

    {

    dropDownItems.push ({displayItem: DropDownList1.getDisplayItem (i), value: DropDownList1.getSaveItem (i)})

    }

    Sort by ascending order of displayed text

    () dropDownItems.sort

    function (a, b)

    {

    If (a.displayItem< b.displayitem)="" return="">

    If (a.displayItem > b.displayItem) return 1;

    return 0;

    });

    clear all items

    DropDownList1.clearItems ();

    load the sorted items

    for (var i = 0; i)< dropdownitems.length;="">

    {

    var dropDownItem = [i] dropDownItems;

    DropDownList1.addItem (dropDownItem.displayItem, dropDownItem.value);

    }

    clear the fields of the source

    ItemName.rawValue = null;

    BoundValue.rawValue = null;

    I added a button 'Add' sorted in my sample https://workspaces.acrobat.com/?d=OwysfJa-Q3HhPtFlgRb62g

    Concerning

    Bruce

Maybe you are looking for