|
| |||||||||
| Tags: filters, pecl version, php, programming language |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| 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.!! ![]()
__________________ He who asks is a fool for five minutes, but he who does not ask remains a fool forever. -Chinese Proverb |
|
#2
| ||||
| ||||
| 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
| ||||
| ||||
| 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 ramATI 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
| ||||
| ||||
| Re: What Filters are Available in PHP?
There are three types of filters available for PHP and those are :
__________________ "When they give you ruled paper, write the other way..." J.R.J. |
|
#5
| ||||
| ||||
| 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.... |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "What Filters are Available in PHP?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using filters in DVD Rebuilder | Bower | Windows Software | 5 | 03-05-2010 10:47 AM |
| MS Exchange filters problem | cornto | Software Development | 3 | 24-12-2009 11:35 AM |
| hp keyboard filters | saholybee | Vista Help | 3 | 04-11-2009 07:31 AM |
| Cable filters and if anyone has used one before? | NetTalk | Off Topic Chat | 4 | 13-10-2009 06:18 PM |
| lock filters | Jason | Microsoft Project | 4 | 23-09-2008 09:24 PM |