filter_var Multiple options

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Plxply
Forum Newbie
Posts: 14
Joined: Sat Dec 19, 2009 2:40 pm

filter_var Multiple options

Post by Plxply »

When using filter_var is it possible to set multiple options/flags?

For example running FILTER_VALIDATE_URL with FILTER_FLAG_PATH_REQUIRED and FILTER_FLAG_QUERY_REQUIRED?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: filter_var Multiple options

Post by requinix »

The manual page is always a good place to start looking for information.
Post Reply