Sunday, August 21, 2005

PHP explode function - string function

PHP explode function is a powerful and very useful php string function especially if you want to parse querystrings.

explode -- Split a string by use of a string separator, returns the parsed strings to array.

// Example 1
$yellow = "sponge1
sponge2 sponge3 sponge4 sponge5 sponge6";
$pieces = explode(" ", $yellow);
echo
$pieces[0]; // piece1
echo $pieces[1]; // piece2

// Example 2
$data = "foo:*:1023:1000::/home/foo:/bin/sh";
list(
$user, $pass, $uid, $gid, $gecos, $home, $shell) = explode(":", $data);
echo
$user; // foo
echo $pass; // *

?>

Friday, August 19, 2005

Acceptance/Affirmation

The truth is, PEOPLE DON'T CARE HOW MUCH YOU KNOW UNTIL THEY KNOW HOW MUCH YOU CARE. -John C. Maxwell

Wednesday, August 17, 2005

Dealing with colors

Monochromatic
A monochromatic color scheme is often considered for sites where content is of extreme importance, or when the opinions presented are of a moderate nature. It can give a site a clean and classic look, but also provides excellent opportunities to let full color photographs dominate. Monochromatic schemes are often appropriate for serious political and business sites such as those of some banks where instilling customer confidence in their experience. They are also highly suited to fashion sites where the understated monochromatic scheme supports the branding, but nevertheless allows the photographical elements to provide a focus.

source: http://www.glasshaus.com/samplechapters/1159/default.asp

Sunday, August 14, 2005

Creating Mambo 4.5.1a templates in Dreamweaver

A guide to creating Mambo 4.5.1a templates in Dreamweaver with the mambo template builder extension and Mambo Stand Alone Server [MSAS]

Mambo - is an open source content management system.

We will be making mambo templates using dreamweaver and the mambo dreamweaver extension.

What you will need to follow this tutorial:
  • Dreamweaver MX 2004: download trial version
  • Mambo Stand Alone Server [MSAS]4.5.1a: download freeMambo 4.5.1a
  • Dreamweaver Template builder extension: download free
  • Or-a free alternative if you do not have Dreamweaver - check out this template builder plugin for the free version of HTML Kit editor
  • Give me some time, perhaps 1 hour - maybe more, maybe less Perhaps a beverage (optional - I don't drink coffee ma'am).
  • Windows 2000 or XPActually

1. Install Dreamweaver template builder extension.
  • Open Dreamweaver. On the top menu, locate 'Commands' then 'manage Extensions'. This will open the extension manager.
  • In the extension manager, choose 'File' then 'Install Extension'. Browse to the location of the mambosolutions451a2.mxp and install it.
  • After installation, exit the Dreamweaver application.
  • Now restart Dreamweaver. You should see a new toolbar titled' MamboOS'
source: http://www.mambosolutions.com/dw_tutorial/


Thursday, August 11, 2005

My misadventure with the yellow and porous thing












































































Dreamweaver fails to prompt for including dependent files when putting

Issue
The dialog box to automatically upload dependent files does not come up when putting files.

Reason
The Don't Ask Me Again check box was checked when files were put on some prior occasion.

Solution

If you want to be prompted to upload dependent files, follow the directions below:

1 Choose Edit > Preferences.
2 Select the Site category.
3 Under Dependent Files, check Prompt on Put/Check In.

Another option is to hold down the 'Shift' key (Windows) or the 'option' key (Macintosh) while putting the files. This will bring up the 'Include Dependent Files' dialog box.

Thursday, August 04, 2005

USB flash disk driver

I travel from one place to another most of the time I bring my usb flash disk with me, Its plug and play on windows 2000 and higher, problem comes when I use a pc which has windows 98 on it my usb flash disk wont detect, I will need to use an installer first from a cd, so I came up with an idea to just post the link here so in case in the future I use another win98 pc I'll just connect to the internet, download the driver install it and voila my usb flash disk detects. what a cheesy and techy life... hahaha...

click the link below to download
USB FLASH DISK DRIVER

Client does not support authentication protocol requested by server; consider upgrading MySQL client

If you did encounter an error like this

Heres the best solution for it:
just type this simple sql query

use mysql;
UPDATE table_name SET password = old_password('password') WHERE user = 'user_name';
FLUSH PRIVILEGES;

Monday, August 01, 2005

Spongebob Victims

On the left: Joanna Abaya - She just wanted her picture to be taken it has nothing to do with spongebob.

On the right: Karla Marie YbaƱez - She thinks shes cute like spongebob definitely the number one spongebob victim of the world, I'm happy she does not think like spongebob.

More laughs hahahaha....................
Yellow and porous is he..................

Benjie and Marissa














A very wonderful wedding of Benjie and Marissa now is now online http://benjie-marissa.tripod.com/