Cgi Tutorials [NewsPro Tutorial]

CHMODing is VERY important!,if you don't do it your scripts will NOT work
666 = Read & Write for all three columns.
755 = Read, Write & Execute for Owner, Read & Execute for Group & Other.
777 = Read, Write & Execute for all.

Need Help on CHMODing? If u use Cute Ftp click here an if u have WS_FTP click here

NewsPro is the BEST way to have other webmaster post on your site an for yourself to post site updates etc.

- First if you don't have it download it here then extract to a folder of your choice.
- Second you HAVE to double check an make sure your perl path is right(in all cgi files) its usually"#!/usr/bin/perl",if your not sure ask your host.
- Make a directory named newspro an CHMOD that directory to 777.
- Upload All files in ASCII mode!
- Then CHMOD newspro.cgi/viewnews.cgi to 755 then CHMOD to 666.
- Then call up newspro in your browser (ex.http://yoursite/cgi-bin/newspro/newspro.cgi) an if u get an error try CHMODing all files to 777 and the directory to 755.
- At the setup page type setup as user name an leave password blank..then press submit an u should see all the settings page.
- Now since newspro should be set up ,editing the html is the hardest to get right so your on your own on that ,but just try different shit till u get it the way u want.
- Now to view your newspro (if using an i-frame) as the source put an see the "readme" file in the newspro folder, if u choose not to use an i-frame now if u need any more help post in the forums