DevSnips.com Code Snippet Repository
search:    


Navigation
  Home
About
Library
Contact
 
Snippet Library
  ColdFusion   338  
  ASP   201  
  PHP   101  
  HTML   11  
  JavaScript   77  
  XML   2  
  CSS   5  
  SQL   13  
  JSP   2  
  C#   1  
  ASP.NET   0  
  Submit a Code Snippet
 
Blog Archive
  September 2007
August 2007
July 2007
June 2007
May 2007
November 2006
October 2006
Search Archives
 
Random Affiliates
  BioMetric Base
Tom Morris
PHP Arch
ReviewMe!

Want to become an affiliate?
Read more...


Privacy Policy
© 2008

Blog Archive

 
Searching for Duplicate Content

With today's sponsored post, I'd like to talk about an interesting tool or application called the Free Plagiarism Checker. It is designed to quickly search for duplicate content on the web using the 'big three' of search engines (Google or Yahoo or MSN or a collection of all three).

You can paste a section of content, upload a file or point the application to a URL. I tried FAST search, and that seemed to not be working properly. I'm sure the site is still working out a few bugs. When I was referred to this site, it mentioned that this was the article checker blog where it would spotlight interesting article checker captures. At the time of this writing, I've not seen this, but is something to look out for in the future. When you've specified your content, simply click 'Compare' to let the application begin its search. Results are returned as a percentage for duplicate content probability.

If you are concerned about sites scraping content from your site, this would be a good place to start to determine the probability of certain articles. If you are returned a high probability, you would then begin to specifically search for content and track down sites that are scraping.

Read the full article >>


Submitted on 06/29/07 at 09:18AM
Post Comment | Comments: 0
Bookmark to:
Add 'Searching for Duplicate Content' to Del.icio.us Add 'Searching for Duplicate Content' to digg Add 'Searching for Duplicate Content' to FURL Add 'Searching for Duplicate Content' to blinklist Add 'Searching for Duplicate Content' to reddit Add 'Searching for Duplicate Content' to Feed Me Links Add 'Searching for Duplicate Content' to Technorati Add 'Searching for Duplicate Content' to Yahoo My Web Add 'Searching for Duplicate Content' to Newsvine Add 'Searching for Duplicate Content' to Socializer Add 'Searching for Duplicate Content' to Ma.gnolia Add 'Searching for Duplicate Content' to Stumble Upon Add 'Searching for Duplicate Content' to Google Bookmarks Add 'Searching for Duplicate Content' to RawSugar Add 'Searching for Duplicate Content' to Squidoo Add 'Searching for Duplicate Content' to Spurl Add 'Searching for Duplicate Content' to BlinkBits Add 'Searching for Duplicate Content' to Netvouz Add 'Searching for Duplicate Content' to Rojo Add 'Searching for Duplicate Content' to Blogmarks Add 'Searching for Duplicate Content' to Shadows Add 'Searching for Duplicate Content' to Simpy Add 'Searching for Duplicate Content' to Co.mments Add 'Searching for Duplicate Content' to Scuttle


Tracking email and newsletters with iContact

This last year, I completed a few web application projects for non-profit organizations and a few ad agencies. They all expressed the need for newsletters and mailing list solutions, but with the ability to track the effectiveness of their newsletters. Looking at a few solutions, I was able to provide a turn-key application that handles this functionality. Again, I always look to for opportunities to sell previously developed services, especially when it's outside our application to save on cost and development time.

Just recently, I just discovered another solution, and with this sponsored post, I would like to talk about iContact Email Marketing Software . iContact gives you a way to easily create, send and track email newsletters, surveys and RSS feeds.

Read the full article >>


Submitted on 06/28/07 at 2:45PM
Post Comment | Comments: 0
Bookmark to:
Add 'Tracking email and newsletters with iContact' to Del.icio.us Add 'Tracking email and newsletters with iContact' to digg Add 'Tracking email and newsletters with iContact' to FURL Add 'Tracking email and newsletters with iContact' to blinklist Add 'Tracking email and newsletters with iContact' to reddit Add 'Tracking email and newsletters with iContact' to Feed Me Links Add 'Tracking email and newsletters with iContact' to Technorati Add 'Tracking email and newsletters with iContact' to Yahoo My Web Add 'Tracking email and newsletters with iContact' to Newsvine Add 'Tracking email and newsletters with iContact' to Socializer Add 'Tracking email and newsletters with iContact' to Ma.gnolia Add 'Tracking email and newsletters with iContact' to Stumble Upon Add 'Tracking email and newsletters with iContact' to Google Bookmarks Add 'Tracking email and newsletters with iContact' to RawSugar Add 'Tracking email and newsletters with iContact' to Squidoo Add 'Tracking email and newsletters with iContact' to Spurl Add 'Tracking email and newsletters with iContact' to BlinkBits Add 'Tracking email and newsletters with iContact' to Netvouz Add 'Tracking email and newsletters with iContact' to Rojo Add 'Tracking email and newsletters with iContact' to Blogmarks Add 'Tracking email and newsletters with iContact' to Shadows Add 'Tracking email and newsletters with iContact' to Simpy Add 'Tracking email and newsletters with iContact' to Co.mments Add 'Tracking email and newsletters with iContact' to Scuttle


Host Arcadia

I've discussed web hosting in the past on this blog. I can't stress how important it is to find a quality web host. Depending on your needs, if it's for personal use or business, the proper web host can make or break your site or business. My main focus is for business success with web hosting companies. If you're a developer with clients or a small web development firm, you might not be at the point for dedicated or colocated hosting, and need to rely on reseller services to take advantage of hosting income. With this said, downtime can drastically cut into the hosting income and potential breach the trust between you and your client.

I'm always on the look out for new hosting providers. As I've stated in the past, it's really important to test your hosting providers before moving everything over. I also think that spreading your clients out to various hosting providers is a good way to include some redundancy in your system, and avoid putting all of your eggs in one basket.

With this sponsored post, I'd like to talk about Host Arcadia. They have a very slick web site, and appear to be a new player in the hosting game. I've found that I have better luck with hosting companies that are starting out, versus large over subscribed hosting facilities (I don't want to mention any names... but you should know who I'm talking about).

Read the full article >>


Submitted on 06/25/07 at 09:45AM
Post Comment | Comments: 0
Bookmark to:
Add 'Host Arcadia' to Del.icio.us Add 'Host Arcadia' to digg Add 'Host Arcadia' to FURL Add 'Host Arcadia' to blinklist Add 'Host Arcadia' to reddit Add 'Host Arcadia' to Feed Me Links Add 'Host Arcadia' to Technorati Add 'Host Arcadia' to Yahoo My Web Add 'Host Arcadia' to Newsvine Add 'Host Arcadia' to Socializer Add 'Host Arcadia' to Ma.gnolia Add 'Host Arcadia' to Stumble Upon Add 'Host Arcadia' to Google Bookmarks Add 'Host Arcadia' to RawSugar Add 'Host Arcadia' to Squidoo Add 'Host Arcadia' to Spurl Add 'Host Arcadia' to BlinkBits Add 'Host Arcadia' to Netvouz Add 'Host Arcadia' to Rojo Add 'Host Arcadia' to Blogmarks Add 'Host Arcadia' to Shadows Add 'Host Arcadia' to Simpy Add 'Host Arcadia' to Co.mments Add 'Host Arcadia' to Scuttle


MerchantOS

Dealing one to one with multiple small businesses while doing web development or network consulting work, I'm often asked about POS or Point Of Sales systems. There seems to be a large gap between super high end POS (QuickBooks, POS-X, etc) and small open source solutions (OpenPOS, etc). I've often entertained the idea of rolling out my own, but a project like this can quickly develop into a costly beast. I'm always looking for affordable solutions, since they often meet the needs of the client, cost much less than developing one on our own, etc. They do need to meet security requirements and be easy to use.

With this sponsored post, I would like to write about a service I just recently discovered called MerchantOS POS. Now, the item that caught my eye right off was their pricing. They offer subscription based pricing, at extremely affordable rates. If you have a small business, you can be up and rolling at $29.95/month! You will need to buy hardware (printers, card readers, etc), but that should be expected.

Read the full article >>


Submitted on 06/20/07 at 08:51AM
Post Comment | Comments: 0
Bookmark to:
Add 'MerchantOS' to Del.icio.us Add 'MerchantOS' to digg Add 'MerchantOS' to FURL Add 'MerchantOS' to blinklist Add 'MerchantOS' to reddit Add 'MerchantOS' to Feed Me Links Add 'MerchantOS' to Technorati Add 'MerchantOS' to Yahoo My Web Add 'MerchantOS' to Newsvine Add 'MerchantOS' to Socializer Add 'MerchantOS' to Ma.gnolia Add 'MerchantOS' to Stumble Upon Add 'MerchantOS' to Google Bookmarks Add 'MerchantOS' to RawSugar Add 'MerchantOS' to Squidoo Add 'MerchantOS' to Spurl Add 'MerchantOS' to BlinkBits Add 'MerchantOS' to Netvouz Add 'MerchantOS' to Rojo Add 'MerchantOS' to Blogmarks Add 'MerchantOS' to Shadows Add 'MerchantOS' to Simpy Add 'MerchantOS' to Co.mments Add 'MerchantOS' to Scuttle


Picturesque - Make Images Gorgeous

As a somewhat new Mac owner, I recently purchased a x86 arch Mac Mini, I've been looking for tools and applications to give me reasons to work on it. The reason I originally purchased the Mac Mini was for application testing, since my customer base using Macs have increased over the years. I feel like I need to see and reproduce a bug before I'm able to fix it, and before owning a Mac, that was impossible.

Macs come with an excellent base of useful software when purchased, but some of the software can only do so much. With this sponsored post, I wanted to talk about a great image application for the Mac called Picturesque - Make Images Gorgeous, by Acqualia.

Read the full article >>


Submitted on 06/14/07 at 07:51AM
Post Comment | Comments: 0
Bookmark to:
Add 'Picturesque - Make Images Gorgeous' to Del.icio.us Add 'Picturesque - Make Images Gorgeous' to digg Add 'Picturesque - Make Images Gorgeous' to FURL Add 'Picturesque - Make Images Gorgeous' to blinklist Add 'Picturesque - Make Images Gorgeous' to reddit Add 'Picturesque - Make Images Gorgeous' to Feed Me Links Add 'Picturesque - Make Images Gorgeous' to Technorati Add 'Picturesque - Make Images Gorgeous' to Yahoo My Web Add 'Picturesque - Make Images Gorgeous' to Newsvine Add 'Picturesque - Make Images Gorgeous' to Socializer Add 'Picturesque - Make Images Gorgeous' to Ma.gnolia Add 'Picturesque - Make Images Gorgeous' to Stumble Upon Add 'Picturesque - Make Images Gorgeous' to Google Bookmarks Add 'Picturesque - Make Images Gorgeous' to RawSugar Add 'Picturesque - Make Images Gorgeous' to Squidoo Add 'Picturesque - Make Images Gorgeous' to Spurl Add 'Picturesque - Make Images Gorgeous' to BlinkBits Add 'Picturesque - Make Images Gorgeous' to Netvouz Add 'Picturesque - Make Images Gorgeous' to Rojo Add 'Picturesque - Make Images Gorgeous' to Blogmarks Add 'Picturesque - Make Images Gorgeous' to Shadows Add 'Picturesque - Make Images Gorgeous' to Simpy Add 'Picturesque - Make Images Gorgeous' to Co.mments Add 'Picturesque - Make Images Gorgeous' to Scuttle


Optimizing MySQL with PHP

This code snippet deals with PHP and MySQL. MySQL is a very powerful database and is commonly used in PHP applications. One item that is rarely discussed is optimizing and repairing tables using a query. As you add and delete records, you add overhead to the tables. Basically, this is unused space that MySQL has allocated and cannot get rid of.

If you have a data table that has many adds and deletes, this overhead can become quite large over time. An example of this would be something that monitors stats or logs, etc. Recording Snort alert data is great example! Eventually, your overhead can go into several megabytes or even larger. As this overhead grows, it can impact the performance of the MySQL server.

You can repairs these tables quite easily. I like to handle my database maintenance in the administrative backends of my applications. On the script that handles my CRUD (CReate Update Delete), I like to add a optimizeTables function. This user-defined functions takes one argument, an array of table names.

Read the full article >>


Submitted on 06/09/07 at 11:44PM
Post Comment | Comments: 0
Bookmark to:
Add 'Optimizing MySQL with PHP' to Del.icio.us Add 'Optimizing MySQL with PHP' to digg Add 'Optimizing MySQL with PHP' to FURL Add 'Optimizing MySQL with PHP' to blinklist Add 'Optimizing MySQL with PHP' to reddit Add 'Optimizing MySQL with PHP' to Feed Me Links Add 'Optimizing MySQL with PHP' to Technorati Add 'Optimizing MySQL with PHP' to Yahoo My Web Add 'Optimizing MySQL with PHP' to Newsvine Add 'Optimizing MySQL with PHP' to Socializer Add 'Optimizing MySQL with PHP' to Ma.gnolia Add 'Optimizing MySQL with PHP' to Stumble Upon Add 'Optimizing MySQL with PHP' to Google Bookmarks Add 'Optimizing MySQL with PHP' to RawSugar Add 'Optimizing MySQL with PHP' to Squidoo Add 'Optimizing MySQL with PHP' to Spurl Add 'Optimizing MySQL with PHP' to BlinkBits Add 'Optimizing MySQL with PHP' to Netvouz Add 'Optimizing MySQL with PHP' to Rojo Add 'Optimizing MySQL with PHP' to Blogmarks Add 'Optimizing MySQL with PHP' to Shadows Add 'Optimizing MySQL with PHP' to Simpy Add 'Optimizing MySQL with PHP' to Co.mments Add 'Optimizing MySQL with PHP' to Scuttle


Frame capture with PHP and mplayer

So you wanna show screen snaps of your uploaded movies like YouTube, etc?? I was presented with this request from a client, and I thought it would be great to implement it and share what I learned. It's quite easy really.

My environment for this is a Linux server with Apache and PHP installed. Also, there are some caveats here. First off, we need to have mplayer installed on the server. Mplayer is the tool to view the movie and export a frameshot. The next caveat is the ability to run system commands or exec() with PHP. Depending on your hosting platform, that may be removed for security, and you might have trouble accessing the mplayer binary if PHP is running in safe_mode.

If anyone knows of a PECL wrapper or PHP configure option to enable mplayer hooks via PHP, please let me know. At the time of this writing, I was having trouble finding anything like that. I personally, would like to not use exec() or system() in my programming, since that can provide a potential security issue down the road. If you do use those system function please use this function [ escapeshellcmd() ] to sanitize the command passed to it.

Read the full article >>


Submitted on 06/07/07 at 4:53PM
Post Comment | Comments: 0
Bookmark to:
Add 'Frame capture with PHP and mplayer' to Del.icio.us Add 'Frame capture with PHP and mplayer' to digg Add 'Frame capture with PHP and mplayer' to FURL Add 'Frame capture with PHP and mplayer' to blinklist Add 'Frame capture with PHP and mplayer' to reddit Add 'Frame capture with PHP and mplayer' to Feed Me Links Add 'Frame capture with PHP and mplayer' to Technorati Add 'Frame capture with PHP and mplayer' to Yahoo My Web Add 'Frame capture with PHP and mplayer' to Newsvine Add 'Frame capture with PHP and mplayer' to Socializer Add 'Frame capture with PHP and mplayer' to Ma.gnolia Add 'Frame capture with PHP and mplayer' to Stumble Upon Add 'Frame capture with PHP and mplayer' to Google Bookmarks Add 'Frame capture with PHP and mplayer' to RawSugar Add 'Frame capture with PHP and mplayer' to Squidoo Add 'Frame capture with PHP and mplayer' to Spurl Add 'Frame capture with PHP and mplayer' to BlinkBits Add 'Frame capture with PHP and mplayer' to Netvouz Add 'Frame capture with PHP and mplayer' to Rojo Add 'Frame capture with PHP and mplayer' to Blogmarks Add 'Frame capture with PHP and mplayer' to Shadows Add 'Frame capture with PHP and mplayer' to Simpy Add 'Frame capture with PHP and mplayer' to Co.mments Add 'Frame capture with PHP and mplayer' to Scuttle


Minalyzer Lite Site Search

I often get asked for search functionality for web applications. Normally, this is a nice easy issue to confront, if all your data is stored in a 'content' table, but let's say we have custom modules outside of our CMS and those areas will need to be search as well. What about documents?

Depending on your search needs the solution can be quite complicated and extensive.

There are some great solutions on the web, and one of the best (free) is Java Lucene. Google makes a search appliance, but comes with a cost. With this sponsored post, I wanted to discus Minalyzer Lite Site Search , which is a command line wrapper on top of Java's Lucene.

Read the full article >>


Submitted on 06/07/07 at 2:49PM
Post Comment | Comments: 0
Bookmark to:
Add 'Minalyzer Lite Site Search' to Del.icio.us Add 'Minalyzer Lite Site Search' to digg Add 'Minalyzer Lite Site Search' to FURL Add 'Minalyzer Lite Site Search' to blinklist Add 'Minalyzer Lite Site Search' to reddit Add 'Minalyzer Lite Site Search' to Feed Me Links Add 'Minalyzer Lite Site Search' to Technorati Add 'Minalyzer Lite Site Search' to Yahoo My Web Add 'Minalyzer Lite Site Search' to Newsvine Add 'Minalyzer Lite Site Search' to Socializer Add 'Minalyzer Lite Site Search' to Ma.gnolia Add 'Minalyzer Lite Site Search' to Stumble Upon Add 'Minalyzer Lite Site Search' to Google Bookmarks Add 'Minalyzer Lite Site Search' to RawSugar Add 'Minalyzer Lite Site Search' to Squidoo Add 'Minalyzer Lite Site Search' to Spurl Add 'Minalyzer Lite Site Search' to BlinkBits Add 'Minalyzer Lite Site Search' to Netvouz