UK Cheapest: Best Buy - Cheap Web Hosting, Cheap Domain Names, Cheap Webspace, Domain Hosting, Domains, Web Space, Domain Name, PayPal
Domain Name Checker
uk cheapest uk cheapest
£2.41/month
15Mb 250Mb!
5 POPs
Web Stats
Free Domain
£5.75/month
250 750Mb!
25 POPs
5 Databases
Sub Domains
£8.25/month
500 1000Mb!
100 POPs
10 Databases
20GB Traffic
 

CGI and General Scripting FAQ

- How to use CGI, Perl, PHP and Python Scripts

  1. What is my path to perl?
  2. What is my path to sendmail?
  3. May I run custom CGI scripts?
  4. Can I use perl to talk to my MySQL database?
  5. Can I use PHP to connect to my MySQL database?
  6. What directory must my Perl files reside in?
  7. What is the absolute path to my cgi-bin?
  8. How do I reach them from a browser?
  9. What directory must my PHP files reside in?
  10. What is the absolute path to my HTML directory?
  11. How do I reach them from a browser?
  12. I keep getting internal server error from my Perl script, what does this mean?

1. What is my path to perl?

#!/usr/bin/perl


2. What is my path to sendmail?

/usr/sbin/sendmail


3. May I run custom CGI scripts?

Yes, you may.


4. Can I use perl to talk to my MySQL database?

Yes, as long as you have a hosting package with us thats comes with MySQL.


5. Can I use PHP to connect to my MySQL database?

Yes, as long as you have a hosting package with us thats comes with MySQL.


6. What directory must my Perl files reside in?

CGI or Perl scripts must reside in your cgi-bin directory.


7. What is the absolute path to my cgi-bin?

/home/virtual/yourdomain.com/var/www/cgi-bin


8. How do I reach them from a browser?

http://www.yourdomain.com/cgi-bin/filename


9. What directory must my PHP files reside in?

PHP files must reside in your html directory


10. What is the absolute path to my html directory?

/home/virtual/yourdomain.com/var/www/html


11. How do I reach them from a browser?

http://www.yourdomain.com/filename


12. I keep getting internal server error from my Perl script. What does this mean?

  • Make sure your script was uploaded in ASCII
  • Make sure the permissions on the files are 755
  • Make sure the top line of your scripts reads #!/usr/bin/perl

Back to Online Help Index

 

Sitebuilder Domain Name Registration Search Engines Tech Support Hosting: 100, 1GB, CGI, PHP, Perl, mySQL, SMTP, POP, Email, FTP. Online, Internet, Frontpage Webspace
domain name registration

We listen and effectively respond to your needs. Your company web site is not a static event. Neither is it a one-off expense. It needs to be nurtured, just as much as the rest of your business. We are here to make the entire experience, from conception, registration, design to ongoing maintenance - as painless - and as inexpensive as possible. Whatever your needs, you can be sure that the quality and delivery you will receive from UK-Cheapest will surprise you in every way.
cheap hosting
A Microlite Company. © 1995-2006 UK-Cheapest All rights reserved.
Read About Us or View Our Trading Terms and Privacy Policy
Sitebuilder Domain Names Search Engine Submissions Support Contact Us Hosting