Hi,
Is there a way to get files that were uploaded through a web form directly in a variable and not as a file somewhere in a tmp directory?
It's such an ineffecient method to first write files to disk if you don't need it on disk anyway, like I do.
Besides it messes up my code with file checking and so on, when all I want to do is insert the contents of the file (which comes in on STDIN as part of the multipart form) into a database. Suggestions?
question 2: Did anyone ever notice that php truncates everything after a NULL in a multipart form where the Content-Disposition header is set to 'form-data'?
question 3: is there a way to turn off the magic_quotes from within your script and for the duration of the script? I don't have access to the ini files so I can't change it there.
all help greatly appreciated,
Jeroen