Discover & Rate New Music Check out ChartVote. Promote the music you like.

Looking for an Image Filter that Blocks Porn

I’ve done some searching, but I haven’t found a useful SDK or service that will examine an image and determine if it contains pornographic material.

If you know of a service or SDK like this then leave a comment. Also if you know of any open source projects that are doing something like this I’d be very interested in that as well.

Someone has to fight back against this junk.

Random Images with PHP

Devlounge has posted an article for displaying random images with PHP.

Every now and then you want to randomize images, usually headers of sorts. This is pretty simple, with just 9 lines of PHP code you can rotate randomly between two images.

PHP:
  1. <?php
  2.     $images = array(
  3.         0 => 'image1.gif',
  4.         1 => 'image2.gif',
  5.     );
  6.     $image = $images[ rand(0,(count($images)-1)) ];
  7.     $output = "<img src=\"/mysite/randomimages/".$image."\" alt=\"\" border=\"0\" />";
  8.     print($output);
  9. ?>

This will rotate between image1.gif and image2.gif, which are located in /mysite/randomimages/ on your server.

Check out the full post here

EchoPic Needs Moderators

The full post can be viewed here.

Our goal at EchoPic is to provide a safe place for people to share their images on the web. We want a website where families can come and feel safe knowing they are not going to be presented with offensive content and where parents can feel secure knowing their children are viewing content that is safe for them.

Sadly with the way the internet is and the amount of junk that is out there it takes man power to moderate the content that comes into EchoPic to keep the site free of pornography.

If you would like to help EchoPic with moderating content please contact me at info@echopic.com. We are looking for people who are willing to donate their time to help keep EchoPic clean and safe for everyone of all ages.

EchoPic Two Months Later

I've posted some numbers about EchoPic on the site's new blog. Below is an excerpt.

logosmall.gif

Today is EchoPic’s 2 month anniversary. I want to say thanks to everyone who has been using EchoPic and helping the service grow. When I launched EchoPic I didn’t expect it to grow like it has. It was just a fun side project. Well today, 2 months later EchoPic has become more than what it was intended to be.

Some Stats:

* Over 100,000 unique visitors a month
* Traffic spikes of up to 30,000 visitors per day
* Almost 10,000 views per day to hot linked images (these are not counted in monthly visitor stats

Link: http://blog.echopic.com/2007/11/echopic-two-months-later/

Waste Time and Make Money with Moola

logo_moola.gif I started using Moola almost a year ago and I just recently picked it back up out or boredom. Basically Moola allows users to play flash based games against each other to make money. Users are forced to watch an ad before the game which is how moola makes its money. Every time you win a game your money is doubled.

LINK: Moola.com

Adpinion Lets You Vote for the Ads You Like

adpinion is a new web based ad service with a new twist that allows viewers to say whether or not they liked the ad. The service looks very promising mainly because the ads that they show so far don't suck.


AdPinion Ad

The dashboard that adpinion provides publishers is minimal, but I like the fact that it gets to the point. All I need to know is how many impressions/clicks/money have I earned. This is the only ad network I've seen so far that I would actually like to advertise with. I'll be keeping my eyes on this one.

Apple Loves KT Tunstall

Artist KT Tunstall performed at Apple's 2007 keynote speech with her song Black Horse And The Cherry Tree. I must say she is very talented. For those of you who didn't notice she is using a loop machine to provide the background instrumentation and vocals. She creates the loop on the fly when she starts the song.

Get "Black Horse And The Cherry Tree" on Amazon

Discover new music with ChartVote

I've been quietly working on a new project the past few months that I will be releasing soon. I was a little side-tracked by EchoPic and its surprising popularity and growth rate, but now I am back onto ChartVote full time.

ChartVote - Discover New Music

What is it?
ChartVote is a new music discovery service that allows users to listen and vote for music they like.

Vague huh? Well thats all I can say for now =).

We are looking for artists
Yes sir, we are. If you are an artist who wants to participate in joining ChartVote you can email me at info(at)chartvote.com

Go to ChartVote.com and submit your email address and I will notify you when it launches.

Reasons not to use the file control on forms.

Its almost 2008 and the use of generic file controls on web forms are still in major use today. Why are we still using this old ugly technology when there are much better solutions?

Reasons not to use them
- They're ugly
- There is no way to limit the file types displayed in the "Browse" window
- You can't make them look good very easily as they lack alot of CSS support
- They're ugly
- You can't see how much of the file you have uploaded.
- No way to select multiple files to upload at one time without multiple file controls
- They're ugly

Solution
There are multiple solutions, but the one I always use and is the most widely supported is using flash to upload files from a web browser. Using flash I can tailor the upload process to the site's UI and design needs.

SWFUpload is a great premade script that allows you to upload files with flash.

Even though I avoid using the file control as much as I can, I still find it useful sometimes...sometimes.

Limit File Download Speed with PHP

This PHP code will limit the download rate for a file being downloaded by a client. This is useful if you are streaming MP3s from your site and you are trying to distribute your bandwidth as evenly as possible.

For example: If you are streaming MP3s with a bitrate of 96kb then you would at the minimum only need to send 12KB/s of data to the client. Now to be safe I would send around 16KB/s to allow some buffering just in case some packets get held up somewhere.

Code

PHP:
  1. <?php
  2.  
  3. $file = "/path/to/file/test.mp3"; // path to file
  4. $speed = 16; // 16 kb/s download rate limit
  5.  
  6. header("Cache-control: private");
  7. header("Content-Type: application/octet-stream");
  8. header("Content-Length: ".filesize($file));
  9. header("Content-Disposition: filename=$file" . "%20");
  10.  
  11.  
  12. $fd = fopen($file, "r");
  13. while(!feof($fd)) {
  14.     echo fread($fd, round($speed*1024));
  15.     flush();
  16.     sleep(1);
  17. }
  18.  
  19. fclose ($fd);
  20.  
  21. ?>

RSS Feed



Recommended Sites