On Sun, Feb 09, 2020 at 04:26:31PM +0100, Vincent Veyron wrote: > On Sun, 9 Feb 2020 10:57:04 +0000 > Scott Alexander <scott.alexan...@humak.fi> wrote: > > > I meant I'm posting data from a form, javascript is collecting a series of > > numbers from a <input type=text> as a string. > > Not really clear what happens here? I guess Javascript writes the content of > the text input? > > > Javascript seperates each number with a '/' then I use split within Perl to > > get the list of numbers into an array. >
First of all, split uses a regex and this is not searching for anything other than empty strings... I think or maybe I am dislexic You might need a need the regex {^\d.*} or [^0-9] or better - don't use split and hunt for digits specifically and secure your input code Also, print out fdat and see what you are actually generating and don t swim in dark holes :) > > I have a <FORM> with list of users and GSM numbers. If that list is about > > 600 users it has worked fine. I was testing with about 4000 users when I > > came across this problem. > > > > I just tried the line of code you posted earlier (@number = split /\//, > $req->param("numbers")) on a form that I use, it processes a text input of 50 > 000 ten digit numbers separated by a slash with no problem. > > I use Apache/2.4.25 (Debian), libapache2-mod-per 2.0.10-2+deb9u and > libapache2-request-perl 2.13-7~deb9u1 > > > > -- > > Bien à vous, Vincent Veyron > > https://marica.fr/ > Logiciel de gestion des sinistres assurances, des dossiers contentieux et des > contrats pour le service juridique -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013