From: michaelvera@... (bubbajoelouis) Date: 2002-09-11T04:15:25+09:00 Subject: Re: multipart form data & other form values sometext = cgi['sometext'].to_s ;) RayZ wrote in message news:<15514567426.20020910122144@gloria.aaanet.ru>... > Hi! > Can anyone explain me how can i retrive other field values using > multipart form with attached file > > for example > ----------------------------------------------- >
action="/cgi-bin/test.rb"> > some field: > attach file: > >
> > > and then > > [test.rb] > -------------- > #!/ruby/bin/ruby > require 'cgi' > .. > someFile, = cgi['attach_file'] > data = someFile.read > > > how do i get 'sometext' value ? > any examples? > > thanx. > > __________________________________________________________________________ > > Andrew "RayZ" V Rumm | Web Developer | rayz@gloria.aaanet.ru | i(Q #620578 > __________________________________________________________________________