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[username[/b]originaldude.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
(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