Archive for the ‘CGI / SSI / PHP’ Category
Why does FormMail not work?
Due to a security spam hole in Formmail script, Cpanel’s Formmail is been disabled for now on all servers.
If you need formmail functionality, please use one of the following scripts:
http://phorm.com
http://nms-cgi.sourceforge.net/scripts.shtml
After installing the recommended formmail, please do not leave it in the cgi-bin called 『formmail』 please rename it to something else like monkey.pl. That way if [...]
Can you install script for me?
Yes, we can install it for you. Please contact us to inquire the fee to set it up. We do not provide free support for the script, configuration and debugging your scripts. However we will waive that fee if it turns out that the problem is with our system.
What is the path of ImageMagick for use with 4Images?
/usr/bin/convert
How do I protect my PHP source code?
You could find some free PHP encoders by visiting the following URL:
MicroCode
http://sourceforge.net/projects/microcode
PHTML-Encoder
http://www.rssoftlab.com/phpenc.php4
POBS
http://pobs.mywalhalla.net
bcompiler
http://pear.php.net/package-info.php?package=bcompiler
PHP Screw
http://sourceforge.net/projects/php-screw
Why do I keep on getting a 『500 Internal Server Error』?
Please make sure the following have been done:
upload your script in ASCII transfer mode
chmod it to 755 or rwxr-xr-x
have the right perl path
does your script generate an error, print to stdout and all that before the content-type header? Try with the content-type header at the very beginning.
How to run cgi scripts from my subdomains?
All new sub domains are created with their own independent cgi-bin. This means your new sub domain operates independently of everything else, and is almost like having a whole new domain. Please put your cgi script in subdomain/cgi-bin then run it via http://subdomain.yourdomain.com/cgi-bin/xyz.cgi.
Where can I find useful scripts?
The following sites have a great collection of scripts.
http://www.cgi-resources.com
http://php.resourceindex.com
http://www.hotscripts.com
Why does my CGI script give me a Permission Denied Error?
CGI scripts need to be set executable. You need to change the mode, or permissions, of your programs with your FTP program, and make them 755, or rwxr-xr-x.
Note: A lot of scripts out there will tell you need to make them 775 or even 777. This is not good! It means anyone on the server [...]
What are some of the paths?
Physical Path to CGI-Bin: /home/username/public_html/cgi-bin/
The paths to some commonly used programs for CGI scripts are..
/usr/bin/perl
/usr/sbin/sendmail
/bin/date
Where do I put my CGI scripts?
Put your cgi-bin scripts in the subdirectory named 『cgi-bin』.
