\n—;&ab9; &aap; exit; } } sub adf{ if ($ready) { $d7p9; } if ($c057{'information'}) { $information = "$c057{'information'}"; } else { &adn; exit; } $bo35 = $c057{'information'}; if ($bo35) { @dhjl =split(/\//,$bo35); $d9gd = push(@dhjl); $d9gd = $d9gd -1; $bo35 = $dhjl[$d9gd]; } $information =~ s/\/$bo35//; print "Content-type: text/html\n\n"; sub adn{ &ae6; &ade; &ae7; print qq—Path Not Found or Not Writeable.\n—;&ae8; print qq—
\nCan't set permissions on $b847 to $c057{'permissions'} via this program. Your server responded: $!.\n—;if ($fg15) { print qq—
\nIt appears that you either didn't set the proper permissions on the directory, or you didn't upload the $bpfa to the directory specified above. \nSubscribe Me Professional will not function without it!\n—;} print qq—
\nA server response of "Permission denied" or anything similiar usually means that you are not able to write to this directory. This may be because your permissions are set too low (use 777 if unsure), or you are not the "owner" of the directory (as far as Subscribe Me is concerned). If you have tried changing the permissions to no avail, create another directory using FTP and set the permissions of that directory at 777. Be sure to give the path to the new directory in LINE 2 of your configuration panel.
\n\nA server response of "No such file or directory" usually means that the path you specified\nin LINE 2 of the configuration panel does not exist. Double-check your path and correct\nthe path in LINE 2 of your configuration settings.
\n—;&aeb; unlink("$information/config.$c057{'extension'}"); $fg15 = ""; exit; } $permissions = oct($c057{'permissions'}); $information = "$c057{'information'}"; unless ($c057{'os'}) { if ($os) { $c057{'os'} = $os; } } unless ($c057{'extension'}) { if ($extension) { $c057{'extension'} = $extension; } } unless ($c057{'mailusing'}) { if ($mailusing) { $c057{'mailusing'} = $mailusing; } } if ($c057{'os'} eq 'unix') { unless (-e "$cgipath/unixmail_eng.$c057{'extension'}") { $b847 = "$cgipath/unixmail_eng.$c057{'extension'}"; $fg15 = "1"; $bpfa = "unixmail_eng.$c057{'extension'}"; &adn; exit; } } elsif ($c057{'os'} eq 'nt') { unless (-e "$cgipath/ntmail_eng.$c057{'extension'}") { $b847 = "$cgipath/ntmail_eng.$c057{'extension'}"; $fg15 = "1"; $bpfa = "ntmail_eng.$c057{'extension'}"; &adn; exit; } unless (-e "$cgipath/blatmail_eng.$c057{'extension'}") { $b847 = "$cgipath/blatmail_eng.$c057{'extension'}"; $fg15 = "1"; $bpfa = "blatmail_eng.$c057{'extension'}"; &adn; exit; } } if (lc $c057{'os'} eq 'nt') { chmod ($permissions,"$cgipath/blatmail_eng.$c057{'extension'}"); open (MAIL3,"<$cgipath/blatmail_eng.$c057{'extension'}") || die print "Can't find blatmail_eng.$c057{'extension'}"; @dbj5 = ; close(MAIL3); open (MAIL4, ">$cgipath/blat_mail.$c057{'extension'}") || die print "unable to create $cgipath/blat_mail.$c057{'extension'}. Check/increase your directory permission settings on your $cgipath directory"; chmod ($permissions,"$cgipath/blat_mail.$c057{'extension'}"); if ($LOCK_EX){ flock(MAIL4, $LOCK_EX); } print MAIL4 "#!$c057{'perlpath'}\n\n"; print MAIL4 "require \"$cgipath/config.$c057{'extension'}\";\n\n"; foreach $kh10(@dbj5) { chomp($ed48); print MAIL4 "$kh10"; } close(MAIL4); } if ($c057{'os'} eq 'unix') { chmod ($permissions,"$cgipath/unixmail_eng.$c057{'extension'}"); open (MAIL,"<$cgipath/unixmail_eng.$c057{'extension'}") || die print "Can't find unixmail_eng.$c057{'extension'}"; @eh3d = ; close(MAIL); open (MAIL2, ">$cgipath/unix_mail.$c057{'extension'}") or die &adh; sub adh{ $b847 = "$cgipath/unix_mail.$c057{'extension'}"; $fg15 = "1"; $bpfa = "unixmail_eng.$c057{'extension'}"; &adn; } chmod ($permissions,"$cgipath/unix_mail.$c057{'extension'}") || die print "Can't chmod unix_mail.$c057{'extension'} to $permissions : $!"; if ($LOCK_EX){ flock(MAIL2, $LOCK_EX); } print MAIL2 "#!$c057{'perlpath'}\n\n"; foreach $ed48(@eh3d) { chomp($ed48); print MAIL2 "$ed48\n"; } close (MAIL2); } elsif ($c057{'os'} eq 'nt') { chmod ($permissions,"$cgipath/ntmail_eng.$c057{'extension'}"); open (MAIL,"<$cgipath/ntmail_eng.$c057{'extension'}") || die print "Can't find ntmail_eng.$c057{'extension'}"; @eh3d = ; close(MAIL); open (MAIL2, ">$cgipath/nt_mail.$c057{'extension'}") or die print "unable to create cgipath/nt_mail.$c057{'extension'}. Check/increase your directory permission settings on your $cgipath directory"; chmod ($permissions,"cgipath/nt_mail.$c057{'extension'}"); if ($LOCK_EX){ flock(MAIL2, $LOCK_EX); } print MAIL2 "#!$c057{'perlpath'}\n\n"; foreach $ed48(@eh3d) { chomp($ed48); print MAIL2 "$ed48\n"; } close (MAIL2); } open(TEMP2, ">$cgipath/config.$c057{'extension'}") or die print "unable to create $cgipath/config.$c057{'extension'}. Check/increase your directory permission settings on your $cgipath directory"; chmod ($permissions,"$cgipath/config.$c057{'extension'}"); if ($LOCK_EX){ flock(TEMP2, $LOCK_EX); } unless (-e "$c057{'perlpath'}") { &ae6; &ade; &ae7; print qq—Path to Perl Does Not Exist.\n—;&ae8; print qq—
\nThe path/file $c057{'perlpath'} does not exist. Please verify that you have uploaded this file and that it is in the directory that you specified.
\nWhen using either Sendmail or BLAT mailing, you must specify a directory\npath to the mail program. Contact your server administrator if you are unsure\nof that path.
\n\n—;&ae9; exit; } if (!(-e "$c057{'mailprog'}")) { &ae6; &ade; &ae7; print qq—Variable #5 \nInvalid Mail Program Directory.\n—;&ae8; print qq—
\nThe Mail Program path you gave in variable #5: $c057{'mailprog'} does not exist. Contact your server administrator if you are unsure of the path to your Mail Program (like Sendmail) path.
\nPlease place your website URL path in variable #6. Your URL path should appear similar to: http://www.yourserver.com.
\n—;&ae9; exit; } print TEMP2 "\$os = \"$c057{'os'}\"\;\n"; print TEMP2 "\$mailusing = \"$c057{'mailusing'}\"\;\n"; print TEMP2 "\$smtp_addr = \"$c057{'smtp_addr'}\"\;\n"; print TEMP2 "\$cgipath = \"$c057{'cgipath'}\"\;\n"; print TEMP2 "\$extension = \"$c057{'extension'}\"\;\n"; print TEMP2 "\$information = \"$c057{'information'}\"\;\n"; print TEMP2 "\$notification = \"$c057{'notification'}\"\;\n"; print TEMP2 "\$username = \"$c057{'br_username'}\"\;\n"; print TEMP2 "\$config_session = \"$c057{'session'}\"\;\n"; print TEMP2 "\$admin_access = \"$c057{'admin_access'}\"\;\n"; print TEMP2 "\$permissions = \"$c057{'permissions'}\"\;\n\n"; if (!(-e "$information")) { mkdir("$information",$permissions) || die &adi; chmod ($permissions,"$information") || die &adi; sub adi{ $b847 = "$information"; &adn; } } else { } if (!(-e "$information/info")) { mkdir("$information/info",$permissions) || die &adk; chmod ($permissions,"$information/info") || die &adk; sub adk{ $b847 = "$information/info"; &adn; } } else { chmod ($permissions,"$information/info") || die &adk; } if (!(-e "$information/trackdir")) { mkdir("$information/trackdir",$permissions) || die &adm; chmod ($permissions,"$information/trackdir")|| die &adm; sub adm{ $b847 = "$information/trackdir"; &adn; } } else { chmod ($permissions,"$information/trackdir")|| die &adm; } if (!(-e "$information/maildir")) { mkdir("$information/maildir",$permissions) || die &ado; chmod ($permissions,"$information/maildir")|| die &ado; sub ado{ $b847 = "$information/maildir"; &adn; } } else { chmod ($permissions,"$information/maildir")|| die &ado; } if (!(-e "$information/graphics")) { mkdir("$information/graphics",$permissions) || die &adp; chmod ($permissions,"$information/graphics")|| die &adp; sub adp{ $b847 = "$information/graphics"; &adn; } } else { chmod ($permissions,"$information/graphics")|| die &adp; } if (!(-e "$information/lists")) { mkdir("$information/lists",$permissions) || die &ae2; chmod ($permissions,"$information/lists")|| die &ae2; sub ae2{ $b847 = "$information/lists"; &adn; } } else { chmod ($permissions,"$information/lists")|| die &ae2; } if (!(-e "$information/lists/.htaccess")) { open(HTACCESS,">$information/lists/.htaccess"); print HTACCESS qq—\ndeny from all\n \n—;} if (!(-e "$information/pass")) { mkdir("$information/pass",$permissions) || die &ae3; chmod ($permissions,"$information/pass")|| die &ae3; sub ae3{ $b847 = "$information/pass"; &adn; } } else { chmod ($permissions,"$information/pass")|| die &ae3; } if (!(-e "$information/pass/.htaccess")) { open(HTACCESS,">$information/pass/.htaccess"); print HTACCESS qq—\ndeny from all\n \n—;} if (!(-e "$information/tempdir")) { mkdir("$information/tempdir",$permissions) || die &ae5; chmod ($permissions,"$information/tempdir")|| die &ae5; sub ae5{ $b847 = "$information/tempdir"; &adn; } } else { chmod ($permissions,"$information/tempdir")|| die &ae5; } if (!(-e "$information/tempdir/.htaccess")) { open(HTACCESS,">$information/tempdir/.htaccess"); print HTACCESS qq—\ndeny from all\n \n—;} if (!(-e "$information/bounces")) { mkdir("$information/bounces",0777) || die &adb; chmod (0777,"$information/bounces")|| die &adb; sub adb{ $b847 = "$information/bounces"; &adn; } } else { chmod (0777,"$information/bounces")|| die &adb; } if (!(-e "$information/bounces/.htaccess")) { open(HTACCESS,">$information/bounces/.htaccess"); print HTACCESS qq—\ndeny from all\n \n—;} if (!(-e "$information/removes")) { mkdir("$information/removes",$permissions) || die &adc; chmod ($permissions,"$information/removes")|| die &adc; sub adc{ $b847 = "$information/removes"; &adn; } } else { chmod ($permissions,"$information/removes")|| die &adc; } if (!(-e "$information/removes/.htaccess")) { open(HTACCESS,">$information/removes/.htaccess"); print HTACCESS qq—\ndeny from all\n \n—;} sub ad9{ print qq—$k8n7 Upload Directorys already exist. Subscribe Me will not overwrite your\nexisting directories for the security of your files. Please FTP into your web account\nand delete these directories manually.\n
\n—;if (-e "$information/info") { print "$information/info "; } if (-e "$information/pass") { print "$information/pass "; } } print TEMP2 "\$ready = \"1\"\;\n\n"; print TEMP2 "1\;"; close (TEMP2); opendir (DIR, "$cgipath"); @e5gn = grep { /.gif/} readdir(DIR); close (DIR); foreach $k2l4(@e5gn) { open (GRAPHICS,"<$cgipath/$k2l4") || print "Error: $!"; @akof = ; close(GRAPHICS); open (GRAPHICS2, ">$information/graphics/$k2l4") || print "Error $!"; if ($os eq 'nt') { binmode(IMAGE); binmode(STDOUT); } if ($LOCK_EX){ flock(MAIL2, $LOCK_EX); } foreach $ed48(@akof) { chomp($ed48); print GRAPHICS2 "$ed48\n"; } close (GRAPHICS2); } open (SIGNUP,">$information/info/default.signup"); if ($LOCK_EX){ flock(SIGNUP, $LOCK_EX); } print SIGNUP qq—This message is to confirm the addition of your\nemail address: to the \nSubscribe Me mailing list.\n\nIf you feel you have received this notice in error,\nplease visit the Subscribe Me mailing list\nat our website: \nto remove yourself automatically, or click the link below:\n\nhttp://?r=1&l=&e=\n\nThank you,\n\n\n\n—;close(SIGNUP); open (SIGNUP,">$information/info/default.removal"); if ($LOCK_EX){ flock(SIGNUP, $LOCK_EX); } print SIGNUP qq—This message is to confirm the removal of your\nemail address: from the \nSubscribe Me mailing list.\n\nWe're sorry to see you go!\n\nIf you feel you have received this notice in error,\nplease visit the Subscribe Me mailing list\nat our website: \nto add yourself automatically, or click on the link\nbelow to automatically re-subscribe yourself:\n\nhttp://?a=1&l=&e=\n\nThank you,\n\n\n\n—;close(SIGNUP); open (HEADER,">$information/lists/default.header"); if ($LOCK_EX){ flock(HEADER, $LOCK_EX); } print HEADER "$c057{'headerinfo'}"; close(HEADER); open (FOOTER,">$information/lists/default.footer"); if ($LOCK_EX){ flock(FOOTER, $LOCK_EX); } print FOOTER "$c057{'footerinfo'}"; close(FOOTER); sub ade{ if (-e "$graphics/sub3.gif") { print qq— Version $fnl8
\n—;} } sub ae6{ print qq—
\n
\n\n—;} sub ae7{ print qq—
\n
$bcnb Status: \n—;} sub ae8{ print qq—
\n—;} sub ae9{ print qq—
\n
Press your "BACK" button to return to the installation form or use this button if your browser supports Javascript
\n\n
\n—;} sub aeb{ print qq—\n
Once you have changed the permission on this directory to 777, press the CONTINUE BUTTON below.