CGI Script Variables

CGI Script Variables

Posted by: Anonymous
Posted on: 2006-02-14 01:16:00

Hey, if someone could help me out with. I'm not sure how to set these variables. If someone could fill in these variables, using www.originaldude.com, as an example it would really help me out:

$main_path="/usr/home/yourvirtualname"; # change to the main path on your server WITHOUT forward slash # the scripts will look for ALL of the other directories based on this path


$main_images="images";
$cgi_post_max=500_000;


$mainname="Your Domain"; # name of site
$sitename="yourdomain.com"; # real domain name without www. at start

Re: CGI Script Variables

Posted by: matttail
Posted on: 2006-02-14 08:55:00

This assumes the script is in the base area of your domain - if it's in a subdiretory just add that on.

$main_path="/home/[b[usernameoriginaldude.com"; # change to the main path on your server WITHOUT forward slash # the scripts will look for ALL of the other directories based on this path


$main_images="images";
$cgi_post_max=500_000;

(this would be in a directory called images, in the originaldude.com folder)

$mainname="original dude"; # name of site
$sitename="originaldude.com"; # real domain name without www. at start



-Matttail

Tags: domain namecgi scriptcgi postpathyourdomainhelpslashusrscriptsdirectorieshey