Results 1 to 5 of 5

Thread: What Filters are Available in PHP?

  1. #1
    Join Date
    Aug 2006
    Posts
    300

    What Filters are Available in PHP?

    Hi friends,
    I have done some basic coding programs in PHP programming language. Now I want to know about the filters in PHP. Since I am moving towards the advanced part I think that knowing about filter is essential. So please tell me what are the Filters are Available in PHP? Reply me as early as possible.!!

  2. #2
    Join Date
    Jul 2006
    Posts
    289

    Re: What Filters are Available in PHP?

    Every PHP stream contains a small read buffer where it stores blocks of data read from the file system, or other sources to treat them more effectively. As soon as the data is read from the resource into the internal buffer, the data are immediately passed to the filter, even if the PHP application is actually ready for such data. If data is already waiting in the buffer when a filter is added to the stream (appended), these data will be immediately passed to the filter, for the change is transparent. But if you add a filter is prepended, the data will NOT be filtered. They wait until the next block of the resource.
    Signatures reduce available bandwidth

  3. #3
    Join Date
    Aug 2006
    Posts
    235

    Re: What Filters are Available in PHP?

    You should also know about the filters. Each filter does what its name implies and refers to the behavior of the corresponding PHP function. As for filters of channels, the conversion filters are what their name indicates. These filters have been added in PHP 5.0.0. Use this filter to process the data by function str_rot13 (). You can also use this filter to process data through the strtoupper ().
    3.2 (northwood)
    2gig ram
    ATI AIW X800xt 256mb
    Gigabyte GA-8knxp 875p Chipset
    Optiwrite 8X DVD Burner
    Win XP PRO Sp2 (Works Perfectly)
    2 SATA Raptor 74gig Raid 0
    2 7200 IDE 320gig HD

  4. #4
    Join Date
    Jul 2006
    Posts
    442

    Re: What Filters are Available in PHP?

    There are three types of filters available for PHP and those are :
    1. Conversion Filters
    2. Compression Filters
    3. Encryption Filters

    This extension filters data by either validating or sanitizing it. This is especially useful when the data source contains unknown (or foreign) data, like user supplied input. For example, this data may come from an HTML form. There are two main types of filtering :
    1. validation
    2. sanitization.
    "When they give you ruled paper, write the other way..." J.R.J.

  5. #5
    Join Date
    Jul 2006
    Posts
    286

    Re: What Filters are Available in PHP?

    Flags are optionally used with both validation and sanitization to tweak behaviour according to need. For example, passing in FILTER_FLAG_SCHEME_REQUIRED while filtering an URL will require a scheme (like http://) to be present. You don't need any external libraries to build this extension. The filter extension is enabled by default as of PHP 5.2.0. Before this time an experimental PECL extension was used, however, the PECL version is no longer recommended or updated.
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

Similar Threads

  1. Spam filters in TalkTalk
    By ROcHANn in forum Technology & Internet
    Replies: 5
    Last Post: 03-07-2011, 09:59 PM
  2. Hotmail Filters Disappeared
    By Apalachee in forum Technology & Internet
    Replies: 6
    Last Post: 04-06-2010, 12:39 AM
  3. Using filters in DVD Rebuilder
    By Bower in forum Windows Software
    Replies: 5
    Last Post: 03-05-2010, 09:47 AM
  4. MS Exchange filters problem
    By cornto in forum Software Development
    Replies: 3
    Last Post: 24-12-2009, 11:35 AM
  5. Cable filters and if anyone has used one before?
    By NetTalk in forum Off Topic Chat
    Replies: 4
    Last Post: 13-10-2009, 05:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,506,342.61464 seconds with 17 queries