Hey /prog/, is it possible to handle file uploads through CGI with C without using the cgic lib? I'm doing a project that will be run on a different computer with almost no set up time so I'd like to keep all the libs standard.
My project is to make a webpage with CGI and C that will accept a user uploaded .csv file (which is just text) and parse it into an SQL database. The parsing and the SQL, I can do. I just need to get the file to the program. I've been able to get other form data through the POST method but I can't get to the file.
>>7
Well, I'll be damned. Turns out I should've been using fread instead of fgets. It would only read the initial garbage so I thought it wasn't working.