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

ClassyAds $5.00
Add to Cart
 ClassyAds is a classified ads script with lots of features. It uses a full MySQL database as a backend, is fast, and easy to use.
[more & download links]

What People Say

BookViewer Skins $0
Add to Cart I did want to tell you, your book viewer was a real Godsend for me - I really needed one and didn't have time to sit down and write one from scratch right now - and then I saw yours! So cool! You have no idea how much time you saved me :).

I'll bet you don't realize /how many/ fanfic sites would love to get a full blown visual book system for their sites...!


[more & download links]

Post Page Comment