简体   繁体   English

在 apache2 上使用 cgi c++ 处理上传的文件

[英]Handle uploaded file with cgi c++ on apache2

Can we handle uploaded file from a html form with cgi c++ on apache2?我们可以在 apache2 上使用 cgi c++ 处理从 html 表单上传的文件吗?

Yes, you could;) Requirements for your code is the same as for perl, etc: your cgi script (application in your case) should do correct output, should be able read data from stdin, etc...是的,你可以;)你的代码要求与 perl 等相同:你的 cgi 脚本(在你的情况下是应用程序)应该正确 output,应该能够从标准输入等读取数据......

You could check this as example http://www.yolinux.com/TUTORIALS/LinuxTutorialC++CGI.html您可以将此作为示例http://www.yolinux.com/TUTORIALS/LinuxTutorialC++CGI.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM