Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Active older topics
2 new of 2 - Sep 17 2008
1 new of 1 - Sep 12 2008
1 new of 1 - Jul 8 2008
1 new of 1 - May 14 2008
7 new of 7 - Apr 9 2008
3 new of 3 - Mar 30 2008
3 new of 3 - Feb 11 2008
1 new of 1 - Feb 6 2008
2 new of 2 - Feb 5 2008
4 new of 5 - Feb 5 2008
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 26  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Discussion group for Inspekt, a filtering and validation library for PHP
 

Inspekt and isset 
  Hello, I'm starting to use the Inspekt validation library. Having trouble when combining with !isset. if (!isset($input->get->program)) (btw, $input is a SuperCage) Seems the IF statement is not evaluating. I see I have to use "getRaw" to retrieve the variable. When I use that I get a "Fatal error: Can't use method return value in write context"... more »
By Julian  - Aug 2 2011 - 2 new of 2 messages    

New URL underscore validation issue 
  Hi Ed, Following on from this thread (which is now closed to new replies): [link] I have another url that won't validate, most likely because of the underscore in the sub-domain. Try this one: [link]... more »
By Nick Ramsay  - Jan 29 2010 - 5 new of 5 messages    

Problem with HTML list box with multiple selections 
  Using some HTML like this: <select name='test' multiple='yes'> <option value='1'>one</option> <option value='2'>two</option> </select> and selecting them both, I'm only able to retrieve the last item. if ($this->cage->post->keyExists( 'test')) { print_r($this->cage->post->get Raw('test'));... more »
By Nick Ramsay  - Nov 14 2009 - 3 new of 3 messages    

testUri underscore fix 
  There needs to be an underscore in the isUri regex in Inspekt.php, otherwise urls with underscores don't parse. Here's the fixed path line: regex .= '(/((%[0-9a-f]{2}|[-_a-z0-9/~; :@=+$,.!*()\'\&]*) *)/?)?'; // path Most BBC urls have an underscore, so they're good for testing. Here's... more »
By Nick Ramsay  - Sep 27 2009 - 2 new of 2 messages    

Float numbers 
  Is it correct that to get a float variable, you should check to make sure it is a float and then do a getRaw? Other methods seem to strip the decimal point.
By Duncan McQueen  - Sep 13 2009 - 2 new of 2 messages    

regex testing 
  I was testing some regex patterns with isRegex and wasn't quite sure about the results that were returned. My thought going into it was that isRegex would return true if the *whole* $value matched the $pattern, but that doesn't seem to be the case. Here's my quick test [link] You can see where I added a check to capture the matches in preg_match... more »
By Matt McKeon  - Aug 15 2009 - 3 new of 3 messages    

iterating though a cages variables 
  I've run into a case where my app is getting a bunch of GET params and I need to be able to iterate through all the caged GET params, but that doesn't seem possible. I see that I could get crazy and access Inspekt_Cage::_source, but that obviously isn't intended. Is their a recommend way to accomplish this without having to specify the name of... more »
By matt  - Jun 27 2009 - 12 new of 12 messages    

How raw is getRaw? 
  Hi all, a newbie question for you: Does getRaw provide basic sanitation, or does it really return the rawest of raw input? Thank you!
By Nick Ramsay  - Jun 20 2009 - 7 new of 7 messages    

Inspekt and PHP-IDS 
  Not sure if anyone else will find this helpful. But I used a function similar to the one below to integrate a PHP-IDS check into my Inspekt Cage. /** * Will run the array or value against the PHP-IDS system. * You can add logging to the to the isEmpty check by using the code below.... more »
By Ronald Smith  - Feb 2 2009 - 2 new of 2 messages    

Kills all arrays? 
  I must have done something wrong - now when I require the Inspekt library, my regular arrays are no longer 'arrays' according to PHP.. Is this accurate? Does Inspekt somehow kill those arrays as well?
By Dmc  - Dec 10 2008 - 4 new of 4 messages    

1 - 10 of 26   « Newer | Older »

XML       Send email to this group: inspekt@googlegroups.com