July 22, 2006

Blog About Life

Like I have said before, this blog really doesn’t have anything to do about what I am talking about here, but he has some salient points.

Filed under Other by admin.
Permalink • Print •  • Comment

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 5, 2006

Useful SSH information

SSH

Good stuff here, including:

starting - /etc/init.d/ssh start

secure file copy - scp

SSH without passwords

and more.

Filed under Web 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

Instructions for installing mytop along with additional perl modules.

I had an error message,

Cannot connect to MySQL server. Please check the:

* database you specified “test” (default is “test”)
* username you specified “root” (default is “root”)
* password you specified “” (default is “”)
* hostname you specified “localhost” (default is “localhost”)
* port you specified “3306″ (default is 3306)
* socket you specified “” (default is “”)

The options my be specified on the command-line or in a ~/.mytop
config file. See the manual (perldoc mytop) for details.

Here’s the exact error from DBI. It might help you debug:

Unknown database ‘test’

Once I specified a database, any database on the server, mytop worked as expected.  Here’s the command I used, mytop -d user_database

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

July 1, 2006

Name Squeeze Page

Cool idea for making a name squeeze page interactive … GatewayMagic.

Grab some information about your visitor like name, email and what they are most interested in. Then, send them to the next page that is tailored to their response. Nice!

Filed under Other by admin.
Permalink • Print •  • Comment