ABOUT US   WEB HOSTING   DEDICATED SERVERS   RESELLER PLANS    EMAIL HOSTING  CONTACT

   
 
 
We accept
We accept all credit and debit card payments
99.99% Uptime web hosting!
Fantastico - Web Hosting India
 
Click Here for a Special Offer

Scripts
 
PHP and MySQL

If you want to connect to a MySQL database, make sure that you:

1. Create the database.

2. Create a user for the database

3. Add the user to the database

4. If you plan to connect remotely, add the remote host to the allowed hosts. Localhost is added by default.

5. Use the source code which is generated by cpanel to connect to your databases.

NOTE: We do not provide programming support. If you need help with creating PHP/MySQL applications, look for a professional programming service. However we can and do help our customers with installations of scripts that use PHP/MySQL.



CGI

What is cgi?

The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as HTTP or Web servers. A plain HTML document that the Web daemon retrieves is static, which means it exists in a constant state: a text file that doesn't change. A CGI program, on the other hand, is executed in real-time, so that it can output dynamic information.

CGI is fully supported by our servers. We have installed perl, C and Python which you can use to write cgi scripts.


 
PHP tutorial

path to sendmail: /usr/sbin/sendmail

memory_limit = 8M ;( Maximum amount of memory a script may consume (8MB))

max_execution_time = 30 ;(Maximum execution time of each script, in seconds)

NOTE: On our servers, PHP is compiled as an apache module.

NOTE: we do not provide programming support. If you have a bug in a PHP script, please contact the person who wrote it, or look for a professional programming services. However we can and do help our customers with script installations.


 
MySQL is fully supported by our servers.

The MySQL database server is the world's most popular open source database. With more than five million active installations, MySQL has quickly become the core of many high-volume, business-critical applications .

You can easily manipulate your MySQL databases using a graphical tool called PHPMyAdmin. It is accessible from your control panel -> MySQL section.

In the MySQL section there are also instructions on how to connect to your databases.

NOTE: If you want to connect to a database, make sure that you:

1. Create the database.

2. Create a user for the database

3. Add the user to the database

4. If you plan to connect remotely, add the remote host to the allowed hosts. Localhost is added by default.

5. Use the source code which is generated by cpanel to connect to your databases.

NOTE: We do not provide programming support. If you need help with creating MySQL applications, look for a professional programming service. However we can and do help our customers with installations of scripts that use MySQL.


 
PostgreSQL is supported by our servers.

How to connect to postgre:

pg_connect('user=my_username password=my_password dbname=my_dbname' )

NOTE: we do not provide programming support. If you need help with creating PostgreSQL applications, look for a professional programming service.

 
 
Linux Web Hosting India | Email Hosting Plans | Reseller Hosting Plans | SSL Certificate | Special Offers!
Home | About Us | Our Clients | Web Hosting Support | Data Center | Web Hosting FAQs | Contact | Careers | Terms of Service
Copyright © 2003-2007 Fame Hosting (India). All Rights Reserved.