Changes from php4 to php 5
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
- liviu's blog
- Login or register to post comments
Mp3 flash player
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:
- liviu's blog
- Login or register to post comments
- Read more
DOM methods and properties for diferent browsers
A great article that shows which methods and properties work in which browsers.
- liviu's blog
- Login or register to post comments
Cool javascript effect for form buttons
Cool javascript effect for form buttons - fading rollover for form buttons from javascriptsearch.com
- liviu's blog
- Login or register to post comments
- Read more
Running a query with PEAR::DB
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;”);
- liviu's blog
- Login or register to post comments
- Read more
Svn commands
A nice pdf with svn commands can be found here.
- liviu's blog
- Login or register to post comments
How to hide the status bar when hovering a link
The trick is to use window.status="hello" on a hover.
Example:
- liviu's blog
- Login or register to post comments
- Read more
Show the loading time of a site: yslow
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.
- liviu's blog
- Login or register to post comments
Must have developers firefox add-on: firebug
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.
- liviu's blog
- Login or register to post comments
Visual jquery
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.
- liviu's blog
- Login or register to post comments