upload....interesting
paul vudmaska <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
I've had to change the last upload.rbx file...hey i said i was a rookie...i've had to make these changes... #File.new(path.untaint,'w') do |file| #file << incoming.read #end #to file = File.new(path.untaint,'w') file << incoming.read file.close apparently using the second is not allowing the write << from the read any idea why? The first worked but only created a null file. What am i missing? Was it not closing? Seems to work now but no promises ;) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/