search for: in_array

Displaying 3 results from an estimated 3 matches for "in_array".

Did you mean: id_array
2007 Jan 19
7
Prototype.js: Is there an "in_array"-like function?
Hi i was wondering if there is a quick way to search for a item within an array. Here is my approach for this functionality. It''s an prototype for an Array method called "has": Array.prototype.has = function(needle) { for (var i=0;i<this.length;i++) { if(this[i] == needle){ return true; } } return false; } var someArray = [''jim'',
2005 Feb 12
4
Is is possible to do "shorewall reject 1.1.1.1 tcp 25"
Hello, Is is possible to do "shorewall reject 1.1.1.1 tcp 25" ? So I can dynamically blacklist offensive smtp senders, but only have shorewall reject certain types (smtp) traffic from them? Thanks, Alex Martin http://www.rettc.com
2005 Oct 21
21
PHPonRails ?
I''ve have a very tight schedule project that MUST (not my option), be developed in PHP. Is there a Rails based framework for this platform? I like the Rails way of things, but in this case, I cannot choose the programming language, so please don''t offend me :-) Thanks in advance, Alessandro _______________________________________________ Rails mailing list