The Realm of The Avatar -- Insert _R< net::Mime::Document > document(_request.GetDocument()); if (!document.IsEmpty()) { _R< net::Mime::Application::XWwwFormUrlencoded > form(dynamic_cast< net::Mime::Application::XWwwFormUrlencoded * >(document.GetValue())); _S< ios::Buffer > entry((*form)["entry"]); _R< dbi::Driver > driver(dbi::GetDriver("dbi::PgSql::Driver")); _R< dbi::Connection > connection(driver->Connect("", "saurik", "", "thoth")); vfs::System fs(connection); dbi::Transaction lock(*connection); ext::Uuid id(fs.WriteFileFrom(entry)); {id} }
Username:
Password:
Entry: