Frequently Asked Questions - CGI Scripts (Covering PHP, Perl, Paths, MySQL)

The following are frequently asked questions related to setting up you CGI scripts. CGI scripts can be written in a variety of languages including Perl, PHP and more. In this section we also cover how to setup a MySQL database.

CGI Scripts Enquiries:

Click here to go back to the list of FAQs

What are the CGI basics that I should know?

1. Ensure to change the default transfer mode for FTP to ASCII.
2. Ensure to set permissions to 755 by using the chmod command in FTP.
3. Ensure the permissions of the script and the CGI-bin are set no higher than 755.

[Top]

What's the path to Perl, Sendmail, CGI-bin?

1. Location/path to Perl - #!/usr/bin/perl or /usr/bin/perl
2. Location/path to Sendmail - /usr/sbin/sendmail or /usr/local/psa/qmail/bin/sendmail
3. Location/path to CGI-bin - /usr/local/psa/home/vhosts/your-name.com/cgi-bin

[Top]

How do I set up a new MySQL database?

1. Log in to your control panel
2. Click on your domain name
3. Click on "Databases"
4. Enter desired database name (the database name has to be unique on the server)
5. Click on "Add"
6. Enter desired username
7. Click on "Add"
8. Enter desired password (always remember to set a secure password for the account, and never leave an account without password)
9. Click on "Update"

[Top]

How do I maintain an existing database?

You can maintain your database(s) in an easy way using phpMyAdmin program accessible from the Control Panel

1. Log in to your control panel (https://www.YOURDOMAIN.com:8443)
2. Click on Home/Your Domain name
3. Click on "Databases"
4. Select the database that you want to change/update
5. Click on "PhpMyAdmin"

[Top]

  • Custom Website Design
  • Free Hosting and Domain
  • Content Management System
  • SEO service included
  • Easy to update websites
  • Database driven websites
  • On-site photos
  • Extremely competitive prices
 
  • Keyword research
  • Competitive research
  • Website re-engineering
  • Internal Linking structure
  • Content Optimization
  • Website Analytics
  • Ranking and performance reports
 
  • 100 MB Web Hosting Space
  • 1 GB Data Transfer
  • 10 E-Mail Accounts
  • Maltese IP Address
  • Daily Backups
  • Domains at 6.99 / yr
  • Website Control Panel
  • 37 Site Applications
  • € 1.05 / Month!