RSS Feed
Knowledgebase : Web Site Scripting Languages
Our Windows and UNIX web servers have the capability to run CGI scripts in your own "cgi-bin" directory. Scripts may be written in the languages: Perl for Windows and UNIX and Python for UNIX servers. Here are some helpful tips to follow ...
Yes, you can use the gcc compiler to do this, but you cannot do compilation on our web servers. We do not offer SSH access to any of our servers due to security procedures in place.
Our control panel will soon have an auto-installer function to install popular scripts into your account for both windows and linux. If you need scripts for your website, you can use the following links to search for the script you are looking for. For...
We do not have limits of use of cgi scripts outside the use of malicious or harmful/damaging scripts according to our Terms Of Service Agreement at: http://www.aiso.net/terms-of-service.asp
The problem is that this script is outdated and does not conform to current protocols for sending email. To have the sender of the email be anything different, you will need to use a different form processor. Here is a url to a collection of several diffe...
fsockopen does work for connecting to any URL that is on port 80. If its using another port it won't work. We have a firewall for our all of our customers, so we can track banwidth effectively. If you need to connect to ports other than 80, then t...
Setting file permissions is very important in getting CGI scripts to work on your web site under UNIX Web Hosting Accounts ONLY. If your web site is hosted under Windows you do not need to worry about permissions. For UNIX Based Hosting, follow the b...
MySQL is a perfect database solution for small to medium websites. If your backend MySQL database is well optimized and properly structured it can serve thousands of visitors daily, without degrading your server performance. If you have an error about ...
The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Unfortunately this protection isn't perfect: there are a series o...
The use of long predefined array variables ($HTTP_*_VARS) which was part of PHP4, are disabled in PHP 5. If you are running code that is ment for PHP4 or you have code that uses these and are having issues with form posting or form get, then use the cod...
How do I get PHP code to run in .html pages on your servers? You need to edit the .htaccess file in the /html folder and add the following: AddType application/x-httpd-php html AddHandler x-httpd-php .html
To send e-mails using classic ASP on our Windows server, please use CDO as follows. CDONTS.NewMail only supports local smtp servers, so you can't set up a remote server to handle your e-mail from this object. And you're going to have to migrate away f...
1. To use PHP within your account make a file and give it a ".php" file extension (e.g., example.php). Also make sure your account supports PHP. If not then you might need to update to a higher account, or add PHP support to your current ac...
You can fix Perl when you get an error "Can't connect to local MySQL server through socket" by doing one of the following one at a time or a combination of them: You can specify the location of the socket in the connect method: my $dbh ...
How do you get Clean URLs to work with TextPattern on your servers? Please make sure you have the following in your .htaccess file: RewriteBase / <IfModule mod_rewrite.c>  RewriteEngine On  RewriteCond %{REQUEST_FILENAME} -f [OR]  RewriteCond %...
How to display PHP errors in the browser for debugging when you don't have access to the servers php.ini file or the servers log files. Insert the below PHP code into the PHP file you want to debug, then this will report all PHP errors to the browser whe...
Emulating the Register Globals settingPHP recommends that the PHP register_globals flag be turned off for performance and security reasons. Without direct access to the php.ini you might have issues in your PHP code with this. Below is PHP code to emula...
If you are running CGI Perl scripts on our linux servers and are getting errors or just a blank page try doing the following. Add a "-w" to the end of the first line of your Perl script. i.e. Change the first line from "#!/usr/bin/perl&quo...
When using the PHP variable $_SERVER['DOCUMENT_ROOT'] you get a path of /var/www/html and this is the incorrect path to your web site files on the server. To correct this issue please use the following code: $_SERVER['DOCUMENT_ROOT'] = str_replace( '...
How To: Protect From SQL Injection in ASP.NET: http://msdn2.microsoft.com/en-us/library/ms998271.aspx How To: Protecting ASP from SQL Injection Attacks http://www.4guysfromrolla.com/webtech/061902-1.shtml How To: Detection of SQL Injection and Cro...
Understanding the Basic of CGI Q. What Is CGI and how is it going to help me? A. CGI is translated as Common Gateway Interface. It's used to provide interactivity and turn static pages into dynamic ones. What do I mean? Let's take a guestbook for exampl...
CGI (COMMON GATEWAY INTERFACE) is a standard method of extending Web server functionality by executing programs or scripts on a Web server in response to Web browser requests. A common use of CGI is in form processing, where the Web browser sends for...
Windows Based Hosting: D:\Html\Users\userwebXXXXX\html Where "userwebXXXXX" would be your FTP username assigned when you signed up. Or you can use the Server.MapPath directive when using ASP. UNIX Based Hosting: /var/www/users/userwebXXXX...
The perl path is the very first line in every .cgi or .pl file. The path to the perl interpretor will be either: #!/usr/bin/perl or #!/usr/local/bin/perl Either of which should work.
The path to the sendmail program for linux servers is at: /usr/sbin/sendmail For windows servers sendmail is not supported, or if you are having trouble calling out the sendmail program (which could be due to security), use the link below to download a...
"File Not Found" or "No Such File or Directory" This is usually the result of CGI scripts being uploaded the wrong way under UNIX Based Web Hosting. PERL is an interpreter and it wants text files to interpret. No compilation is done. ...
Why do I get an error when trying to use the php_value or php_admin_value directives in .htaccess files? For security we use suPHP on our linux servers. suPHP does not support the php_value/php_admin_value directive known by mod_php to parse configuratio...