How to use CGI?

ffb 2000-07-24 11:09:00
我不懂CGI和ASP,给69分
我下了一个CGI,说明上这样写这
1. 编辑 setup.cgi 按照该文件中参数说明修改信息
2. 将所有CGI文件上传至指定目录(目录可自定)
3. 将所有CGI文件的属性修改为“755”
4. 确认全部设置无误后,运行 reg.cgi 即可

我该如何做?
我在Myrice网站,支持FTP,于此有关吗?
我<a href="reg.cgi...
出现的却是CGI内容??

69分

...全文
164 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
ReganCai 2000-07-26
  • 打赏
  • 举报
回复
题外话:
ASP和CGI各有特点,ASP的安全性不好,
CGI比较慢,
但是,在UNIX下,要求安全性很好,
而且不在乎服务器的投入的情况下,
CGI,NSAPI,JAVA Serverlet恐怕是
当然之选,ASP就根本不在考虑范围内。
其实,执行速度最快的是NSAPI,它的安全性
仅次于CGI,只是只能用C开发,开发难度大,ASP同它
相比,只是开发方便,其他就都不如了。
ReganCai 2000-07-26
  • 打赏
  • 举报
回复
我自己写过CGI,CGI必须在特定的目录下,
此目录一般是CGI_BIN,它必须要有可执行权限,
而不仅仅是脚本权限(ASP只需要脚本权限),
否则,CGI的EXE文件会被作为下载文件的。
只要这样,CGI就可运行。
只是我不知道你的服务器是否有CGI权限。
ffb 2000-07-26
  • 打赏
  • 举报
回复
谢谢大家
我试了http://www.e-chome.net,好像是台湾的
我该如何改权限呢?(如何登陆UNIX服务器,用什么软件?Cuteftp能改权限吗?)

还有好一些的支持ASP或CGI或PHP的网站吗?
谁能向我推荐一本ABout asp cgi...的书?谢先.
lczddd 2000-07-25
  • 打赏
  • 举报
回复
大哥:
换一换吧,asp取代cgi是大势所趋.
嘻嘻嘻。。。

netsong 2000-07-25
  • 打赏
  • 举报
回复
Myrice的主页空间不支持CGI程序,CGI在服务器端不能执行。
你到这里试试吧:http://www.e-chome.net

(提供50M免费主页空间,支持CGI、SSI和PHP,支持FTP或FontPage上传,送一个支持pop的信箱。)
Core PYTHON Programming, 2nd Edition (pdf, Python 2.5) Python is an agile, robust, expressive, fully object-oriented, extensible, and scalable programming language. It combines the power of compiled languages with the simplicity and rapid development of scripting languages. In Core Python Programming, Second Edition, leading Python developer and trainer Wesley Chun helps you learn Python quickly and comprehensively so that you can immediately succeed with any Python project. Using practical code examples, Chun introduces all the fundamentals of Python programming: syntax, objects and memory management, data types, operators, files and I/O, functions, generators, error handling and exceptions, loops, iterators, functional programming, object-oriented programming and more. After you learn the core fundamentals of Python, he shows you what you can do with your new skills, delving into advanced topics, such as regular expressions, networking programming with sockets, multithreading, GUI development, Web/CGI programming and extending Python in C. This edition reflects major enhancements in the Python 2.x series, including 2.5 as well as capabilities set for future versions. It contains new chapters on database and Internet client programming, plus coverage of many new topics, including new-style classes, Java and Jython, Microsoft Office (Win32 COM Client) programming, and much more. Learn professional Python style, best practices, and good programming habits Gain a deep understanding of Python’s objects and memory model as well as its OOP features, including those found in Python’s new-style classes Build more effective Web, CGI, Internet, and network and other client/server applications Learn how to develop your own GUI applications using Tkinter and other toolkits available for Python Improve the performance of your Python applications by writing extensions in C and other languages, or enhance I/O-bound applications by using multithreading Learn about Python’s database API and how to use a variety of database systems with Python, including MySQL, Postgres, and SQLite Core Python Programming delivers Systematic, expert coverage of Python’s core features Powerful insights for developing complex applications Easy-to-use tables and charts detailing Python modules, operators, functions, and methods Dozens of professional-quality code examples, from quick snippets to full-fledged applications The Complete Developer’s Guide to Python—Fully Updated for Python 2.5 New to Python? The definitive guide to Python development for experienced programmers Covers core language features thoroughly, including those found in the latest Python releases Learn advanced topics such as regular expressions, networking, multithreading, GUI, and Web/CGI Includes brand-new chapters on database, Internet, Jython, and COM Client programming Presents hundreds of code samples and practical exercises to strengthen your Python skills Book Details Paperback: 1136 pages Publisher: Prentice Hall; 2nd Edition (September 2006) Language English ISBN-10: 0132269937 ISBN-13: 978-0132269933 File Size: 55.9 MiB epub 格式 http://download.csdn.net/source/3560240

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧