HostOnNet.com Forum Index HostOnNet.com
Private Label Reseller Plan
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Perl How-To

 
Post new topic   Reply to topic    HostOnNet.com Forum Index -> FAQ
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 23 Jan 2003
Posts: 256
Location: India

PostPosted: Sun Feb 02, 2003 3:12 pm    Post subject: Perl How-To Reply with quote

What is my path to perl?

#!/usr/bin/perl

What is my path to sendmail?

/usr/sbin/sendmail

May I run custom cgi scripts?

Yes, you may.

Can I use perl to talk to my MySQL database?

Yes, DBI and DBD::MySQL is installed.

What directory must my perl files reside in?

You can upload the Perl Scripts to cgi-bin directory.

How do I reach them from a browser?

http://www.yoursite.com/cgi-bin/


I keep getting internal server error from my perl scripts.

Make sure your perl scripts were uploaded in ASCII.

Make sure the permissions on the files are 755.

Make sure the top line of your scripts (the shebang line) reads #!/usr/bin/perl
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    HostOnNet.com Forum Index -> FAQ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!