Re: [cgi-devel] CGI library problem
Status: Beta
Brought to you by:
drrngrvy
From: Darren G. <dar...@gm...> - 2011-01-10 10:00:39
|
On 10 January 2011 09:39, Darren Garvey <dar...@gm...> wrote: > <snip> > > boost::fcgi::request request; > /* load the request. */ > > boost::fcgi::form_part& variable = request.post["some-var"]; > > // The filename is what the original file was called. > std::string filename = variable.filename; > Actually, that's a barefaced lie: The filename is also a boost::filesystem::path! Cheers, Darren |