Changes from php4 to php 5

Tagged:  

Ever wandered what changed from php 4 to php 5?
Well they actually put it on their site.
Check it out http://www.php.net/manual/en/migration5.php

Mp3 flash player

Tagged:  

1pixelout.net made a great free mp3 flash player; they made it mainly as a wordpress plugin but it is very easy to implement it on it's own.

To implement it you only need 3 files:

audio-player.js
player.swf
an mp3 file

You can embed it like this:

DOM methods and properties for diferent browsers

Tagged:  

Cool javascript effect for form buttons

Tagged:  

Cool javascript effect for form buttons - fading rollover for form buttons from javascriptsearch.com

 

Running a query with PEAR::DB

Tagged:  

I found this code in nice book, "Ubuntu Linux Unleashed, 2008 Edition".
It's a basic example of how to run a sql query using PEAR::DB (in php of course).

<?php
include(“DB.php”);
$dsn = “mysql://ubuntu:alm65z@10.0.0.1/dentists”;
$conn = DB::connect($dsn);
if (DB::isError($conn))
{
  echo $conn->getMessage() . “\n”;
}
else
{
  echo “Connected successfully!\n”;
  $result = $conn->query(“SELECT ID, Name FROM patients;”);

Svn commands

Tagged:  

How to hide the status bar when hovering a link

Tagged:  

The trick is to use window.status="hello" on a hover.

Example:

 

Show the loading time of a site: yslow

Tagged:  

Another useful firefox add-on: yslow. It shows the loading time of a site and can help with figuring out ways for making it faster. Also a must have firefox add-on for developers.

Must have developers firefox add-on: firebug

Tagged:  

This is the greatest tool for web developing I ever came across: the firebug add-on for firefox. I don't remember how debuging html for instance was done before it and I don't want to.

Visual jquery

Tagged:  

There's an interesting site which shows jquery methods in a nice, visual way. It's easier to find fast what you are looking for here, then on the official site.

Syndicate content