Jump to content

Recommended Posts

Posted
Without Shell, though, how do you run the script/file?

 

Just create a file in your cgi-bin directory under public_html, and place the Perl "shebang" line (#!/usr/bin/perl) on the first line of the file. Below this line you may write Perl code. Make sure you make this file's CHMOD permissions 755, and output a Content-type header before anything else.

 

 

Posted
So all perl files have to go in the cgi-bin directory?

 

No not anymore. You should be able to run cgi/perl in any directory.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...