Recently I came up with the idea that I could use a Gmail account as a place holder to store pictures sent from my cell phone. The idea was that I could take a picture with my cell phone and it would instantly show up some where, such as a website or blog. The following [...]
If you are planning on moving a website from one domain name to another you’ll probably want to forward all your traffic from your old site. Many people just forward the actual domain name to point to the new domain name but this won’t help people who land on specific pages. If your links stay [...]
The following PHP code will display a set of jpeg files from a folder on your webserver. This code can be used to generate a list of thumbnails provided that the thumbnails are already resized. This code simply outputs the images “img” html tag with the “src” already in place. I would recommend putting this [...]
If you’re like me, you may once in a while have something to write about that isn’t necessarily related to your overall blog topic. Take me for example. My blog is mainly about internet and application development (programming) however sometimes I find a really cool tip or trick that isn’t necessarily related, such as a [...]
PHP debug tools provides various debug tools, including: script trace debugging (using the xdebug extension), error debugging, manual debugging using a debug() function that generates a backtrace and other useful information, and debugging database queries.
The odsPhpGenerator has been released. The generator is a small and easy library written in PHP 5.0 to make the creation of Open Document Spreadsheets easy. This first version requires PHp5.0. Below is a simple example of how you would use this library.
// Load library
require_once(‘ods/ods.php’);
// Create Ods object
$ods = new ods();
$ods->setPath2OdsFiles(‘ods’);
// [...]
Do you need to upload a file to your php web server from a .NET application? I did, and I found that it was actually pretty easy. Basically the upload.php file works the same way as a basic HTML website form. You simply do an HTML form post from within your .NET application.
[...]
The following code is a basic example of how to use the Yahoo search API. An array of objects is returned containing the search results letting you create dynamic scripts to show images. This code could be used to make a simple plug-in for Wordpress to show images based on tags in your posts or [...]
This snippet of PHP code will show you how to get a Google page rank for a specific website. The function below will return the page rank as an integer. The code was pulled from the wordpress links directory plugin located here.
Here is a PHP script I wrote to backup my mySQL databases. Just use a cron job to run the PHP script when you want. The PHP MySQL database backup script will also email the database. With a Google Gmail account you get more than 7 gigs of storage so they are a good service [...]