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

FavSync Perl $0.00
Add to Cart
 Together with the FavSync program, you may View the contents of your Internet Explorer Favourites menu on your web server.
[more & download links]

What People Say

Blog - Poster $0
Add to Cart Blog-Poster is an excellent companion script to Blosxom. We needed to extensivly customize both Bloxsom & Blog-Poster as our needs were for a secure LAN accessible logbook software with multiple people able to make simultaneous entries. Blog_Poster and Jason were instrumental in making this happen with mostly Open Source software and scripts. We are extremely satisfied with the solution and the quality support.

Gaillen Tiernan
Foster Parent

[more & download links]

Post Page Comment