How to optimize your setup so wordpress runs fast.

Filed under Web, PHP by admin.
Permalink • Print • 

December 18, 2006

Web API

Useful web api.

Filed under Web, PHP by admin.
Permalink • Print • 

November 14, 2006

Wordpress Adsense Plugins

List of plugins for wordpress that show Adsense or display Adsense earnings on your site or in your admin area.  I like this one for sharing the wealth.

Filed under Web, PHP, adsense by admin.
Permalink • Print • 

November 9, 2006

Online Generator

The online generator to beat all online generators.  This one has a list of them all.  Well, maybe not all, but there are some pretty useful generators listed.

Filed under Web, PHP, javascript by admin.
Permalink • Print • 

October 18, 2006

PayPal Button Creator

A very simple PayPal “Buy Now” button creator with a twist.

Besides creating a button, this script will also allow you to increase the price by a certain amount each minute.

Filed under PHP by admin.
Permalink • Print • 

Good site for designers and developers.

A technical resource that provides easy-to-understand, comprehensive tutorials for Flash, ActionScript, PHP/XML, Photoshop, and more.

Filed under Web, PHP by admin.
Permalink • Print • 

September 5, 2006

Contact Form Spam

PHP script to strip out the nasty things that contact form spammers use.

Filed under PHP by admin.
Permalink • Print • 

One of those sites worth bookmarking for the information provided. In this case, there are a lot of useful and cool PHP and Javascript tidbits at Bokehman.

Filed under PHP by admin.
Permalink • Print • 

July 13, 2006

PHP Object Oriented Modules

A good site showing an example of using object orient modules.

Site describes the use of classes and functions. Also talks about global variables.

Filed under Web, PHP by admin.
Permalink • Print • 

July 12, 2006

PHP Cron Jobs

There are many ways to add a cron job that calls a php script - and it really depends on how your server is setup.

Here’s some example setups:

/usr/local/bin/php /home/user/public_html/script.php

lynx -dump http://www.example.com/script.php

/usr/bin/curl http://www.example.com/script.php

I found out about the last way of loading a cron with a php script because the lynx version was giving me permission errors and the /usr/local/bin/php method just wouldn’t work.

Filed under Web, PHP by admin.
Permalink • Print •  • Comment

July 3, 2006

How To Highlight Search Terms

Using php_value auto_prepend_file in .htaccess and output buffering (ob_start) to highlight search terms.

Filed under Web, PHP by admin.
Permalink • Print •  • Comment

June 21, 2006

Compiling PHP with curl

Actually, these are the instructions for recompiling php with curl because all I did was compile the same version that was already running on my server.

All of this is from the shell (Putty works great for this).

> cd /usr/src
> wget http://us2.php.net/get/php-4.4.2.tar.gz/from/this/mirror
> zcat php-4.4.2.tar.gz | tar xvf -
> cd php-4.4.2/
> ./configure –with-apxs=/usr/local/apache/bin/apxs –prefix=/usr/local –with-xml –enable-bcmath –enable-calendar –enable-ftp –enable-magic-quotes –with-mysqli –with-mysql=/usr –enable-discard-path –with-pear –enable-sockets –enable-track-vars –with-zlib –with-curl
> make
> make install
> cd /usr/local/apache/bin
> /usr/local/apache/bin/apachectl stop
> /usr/local/apache/bin/apachectl start
> /usr/local/apache/bin/apachectl status

That’s it.

Filed under Web, PHP by admin.
Permalink • Print •  • Comment

June 17, 2006

Indexing Script

Check how many pages you have indexed in the major search engines; Yahoo, Google and MSN.

Index Checking script

Use at your own risk, you are responsible for the results.

I have been added to the functionality of this script. Besides being able to setup a cron job to email you the results daily, I have hacked together the ability to dump the daily results into a MySQL database. With a database of results, you can then use that data to graph your results.

Filed under Web, PHP by admin.
Permalink • Print •  • 1 comment