| |
Q: Where should I place the CGI program?
A: It should be in /home/***/public_html/cgi-bin/, where *** is your user name.
Note: When you upload a PERL or PHP program using FTP, please use ASCII mode.
Q: What should the CGI program extension be?
A: They should be .cgi, .pl, .php or .php3.
Q: Where is "date"?
A: /bin/date.
Q: Where is "perl"?
A: /usr/bin/perl.
Q: What version of PHP is your server running?
A: We are currently running PHP4.
Q: Where is "sendmail"?
A: /usr/sbin/sendmail. Note: Spam or large amount of email is not allowed.
Q: Where can I find PHP configuration data?
A: Here
Q: How to set the permission of a CGI program?
A: Our system will automatically set the permission. However, if you prefer, you can set it to 700, here is how to do it under MSDOS:
(For example, you have just uploaded a file "mycgi.cgi" to our server and want to change it's permission to 700)
(1). Under MSDOS connect to our server using FTP;
(2). Find the file using "cd" and "dir";
(3). Then do "quote site chmod 700 mycgi.cgi". |