Download Perl Scripts

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

demo/see it work
RSS Feed

MillionDollarPixels by Inc.
(c) 2000-2003 Jason Silver

Thanks for Registering!

Report any bugs to

Jason Silver


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:

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:

5. Set $script_url to something like
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 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:

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.

Jason Silver


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


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

In the Spotlight

AFU Form Submit $0.00
Add to Cart
 This script gives you form processing power! Request any information from your user and have it emailed to you automatically in text and HTML format. But it also forwards the fields you specify to any list in your auto responder!
[more & download links]

What People Say

SiteShadow $0
Add to Cart Site Shadow operates very well and allows my site to be updated with content automatically with content from a news source - without any updating required! I would recommend it to anyone.

Graeme Olsen

[more & download links]

Post Page Comment