Download Perl Scripts

Million Dollar Pixels 60207Million Dollar Pixels - $1.50 Version 60207
Add to Cart



back
download
support
demo/see it work
buy
RSS Feed
_______________________________________

MillionDollarPixels by CrookedBush.com Inc.
Intelliscript.net
(c) 2000-2003 Jason Silver

_______________________________________
Thanks for Registering!


Report any bugs to jasonsilver@crookedbush.com.

Yours,
Jason Silver

_______________________________________
Overview:
--------


_______________________________________
Installation Overview:
-----------------------

1. Setting some options at the beginning of the script file (*.pl)
2. Using FTP to upload the files
3. Setting permissions on the files and directories
4. Testing the script

_______________________________________
Here's How!
-----------

1. Using a text editor like textpad, or notepad, open the two scripts
Change the path to perl so that it's configured for your server.
It's usually:
#!/usr/local/bin/perl
or
#!/usr/bin/perl

2. Create a 'temp' directory and set the path in the script appropriately to match.
It will be something like:
$temp_image_directory = "/public_html/images/pixels/temp/"
This temp directory is where uploaded images are initially saved before they're
resized, then deleted.
CHMOD it to 777.

3. Set $datapath in the script to be a web accessable direcotry. This is the path from
your server's hardrive's root to the folder where the ad images will be saved.
This should be browser accessable, within htdocs.

Something like:
$datapath = '/public_html/images/pixels/'

4. Set the $images_url to match the $datapath. If you used the example for $datapath above,
then $images_url would be:
/images/pixels/
or
http://www.yoursite.com/images/pixels/

5. Set $script_url to something like
http://www.yoursite.com/cgi-bin/main.cgi
or
/cgi-bin/main.cgi
depending on where you put the script on your server.

6. Create an 'ads' directory, within your datapath (where uploaded images will be saved to)
This directory needs to be web accessable.
CHMOD it to 777.

7. Create a 'no_ads' directory in your datapath as well. This is where you can put your own
ads, which an uploader can overwrite if they purchase the spot.
This directory needs to be web accessable.
CHMOD this new directory 777.

8.. Set the correct URL to your images directory where you will upload the images.
This should match the directory you created above.

9. Use an FTP program like WS_FTP or CuteFTP (just some examples I'm aware of) and
upload the .pl file to your server's cgi-bin, and the images to an images folder.

10. Set permissions (CHMOD) on the main.pl file so it's executable. (755).
The owner should be able read, write, and execute.
The group should be able to read, and execute.
Also, other should be able to read, and execute.

11. Open the script in a browser, something like:
http://www.yoursite.com/cgi-bin/main.pl

Try to pick an ad-size and work your way through the payment screen.


That's it! You're set! Let me know if you have problems.

Yours,
Jason Silver

_______________________________________
www.CrookedBush.com


 
top next download faq demo/see it work purchase xml pad file RSS Syndication OPML List - All Programs



[admin]

FileCABINET Script - Create a File Download section on your site.

In the Spotlight

Shopping Cart $0.00
Add to Cart
 If your products are saved in spreadsheet format, just export them as delimited files and your shopping cart is ready. A simple text file database serves this shopping cart.
[more & download links]

What People Say

Bible in One Year $0
Add to Cart Excellent script! Easy to install and a great feature for any Christian website.

The Rapture Rebuttal

[more & download links]

Post Page Comment