
PC Pic Post Documentation
PC Pic Post Documentation
*
Description
*
Features
*
Installation
*
Path to Perl
*
Configuration
*
Uploading
*
Running
*
Description
Run your own fully automated Pic Post site with this simple to run script. This script allows webmasters to submit their pictures and banners for display on your site using a simple web interface.
Features
Simple submission of pictures by webmasters.
Fully customisable templates for all pages.
Password protected multi-user administration.
Mass email webmasters who submit.
Automatically insert blind links in picture list.
Installation
Path to Perl
#!/usr/bin/perl
- The script uses the most common path to Perl however if the script doesn’t run for you, you may have to change the first line of each cgi and pm file.
Configuration
- The Configs.pm file contains several variables that will need editing before the script will run on your server.
- $scripturl = "http://www.yourdomain.com/picpost/picpost.cgi";
Enter the URL of the main script file.
- $scriptdir = "/home/user/html/picpost";
This is the full path to the directory that contains the script file.
- $dbasedir = "/home/user/picpostdb";
You can place the database files in a separate directory using this variable, a non-public directory is suggested.
- $mainpageurl = "http://www.yourdomain.com/pics/index.html";
Enter the path where you’d like the actual list of pics to be created.
- $mainpagepath = "/home/user/html/pics/index.html";
This is the full path to the same file as above.
- $fromaddress="mr-yellow\@mr-yellow.com";
All emails sent from the script will use this address. @ must be proceeded by a slash \@
Insert a blind link every X links in the picture list.
- $signature1 = "The PerlCoders Staff";
- $signature2 = "http://perlcoders.com";
- $signature3 = "The Webmasters Ultimate source for";
- $signature4 = "Quality CGI scripts.";
These signature variables are included as the signature to emails sent from the script.
- $mailprog="/usr/sbin/sendmail -t";
Enter your path to sendmail.
- Customise any template files you’d like to change, you’ll want to start by setting up your own look and feel for the pages in the "users" directory.
Uploading
Create a directory for the script on your server, which must have CGI access.
Upload all files in ASCII mode.
CHMOD .CGI and .PM files to 755.
CHMOD your data directory specified in $dbasedir to 777.
Create the directory in $mainpagepath and upload a blank index.html
CHMOD the index.html file in $mainpagepath to 666.
Running
Open picpost.cgi?action=default in your web-browser and login as "admin" with the default password "pass". Now change the password to something else using the form at the bottom of the main admin menu. Next add your sponsors or trade links to the blind links database using the "Edit Blind Links" button. Once this is all done open the picpost.cgi in your web-browser this time without the action=default parameter, this will allow you to add a test post to the database. After adding a post you’ll be able to see it in the "List Posts" section, and it will be displayed on the main surfers page after hitting the "Re-Build Main Page" button.
 |
Proud suppliers of perl cgi and php applications created from the webmasters point of view. PerlCoders supplies top quality CGI scripts at membership warehouse prices every day. This is the only webmaster resource you need to build traffic and add interactive content to any website.
Need custom programming or website development? We do it all. Just use our contact form and let us know what you need.
|
|
Perlcoders.com - Copyright © 2003 by PerlCoders Group
Privacy policy
Licensing policy
Site Usage Terms
|
|
|
 |
|
|
 |
 |
Right now get access at a special rate of only $160 which includes more than 156 of our top quality CGI scripts and get deep discounts on many others. You also get full access to our members area which is slam packed with webmaster goodies.
· Read more...

|
|
|
|
|
|
|
 |
|
 |
|
|