Using Flowplayer for Flash Video

December 29th, 2009 Ashesh No comments

Flowplayer is a powerful open source video player for Flash Video (FLV) files. It can be placed on the page and controlled via javascript. It is fully customisable and a great tool. The example below adds the player to your site, loads the video URL using href into the first DIV (this url could be a dynamic variable) then creates a player that loops continuously, autohides the controls, starts on mute, show volume, mute, play/pause and time scrubber bar: Read more…

Why Wordpress?

December 29th, 2009 Ashesh No comments

Open source software has it’s pros and cons. Our CMS of choice at this time in 2009 is still generally is Drupal, especially for the larger sites, but Wordpress has come a long way in the last few years, and although still ideal for it’s blogging roots, has now become a much more versatile CMS. So here are some reasons championing Wordpress as a CMS…

Wordpress is an extremely flexible and expandable content management system. It is an up-to-date software package, and it’s development roots go right back to 2001. It’s a mature and stable product with a large, worldwide user base. In 2006 there were 1,545,703 worldwide downloads and in 2007 there were 3,816,965. New releases in 2008 and 2009, including the multiuser version – Wordpress MU – have continued to develop and expand the software. Read more…

Categories: Wordpress Tags:

PHP Date Formats

December 29th, 2009 Ashesh No comments
The following characters are recognized in the
format
parameter string
format
character
Description Example returned values
Day
d Day of the month, 2 digits with leading zeros 01 to 31
D A textual representation of a day, three letters Mon through Sun
j Day of the month without leading zeros 1 to 31
l (lowercase ‘L’) A full textual representation of the day of the week Sunday through Saturday
N ISO-8601 numeric representation of the day of the week (added in
PHP 5.1.0)
1 (for Monday) through 7 (for Sunday)
S English ordinal suffix for the day of the month, 2 characters st, nd, rd or
th. Works well with j
w Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday)
z The day of the year (starting from 0) 0 through 365 Read more…
Categories: Php Tags: ,

Show users IP in a graphic – PHP Script

December 19th, 2009 Ashesh No comments

Show IP Display visitor’s IP Address in a graphic with this simple php code.
(Please do not link to this image, it is for demonstration only.)
Your IP Address

create a new page, copy the text below and save it as image.php (or whatever you wish)

<?php
$img_number = imagecreate(275,25);
$backcolor = imagecolorallocate($img_number,102,102,153);
$textcolor = imagecolorallocate($img_number,255,255,255);<span id="more-1257"></span>
 
imagefill($img_number,0,0,$backcolor);
$number = " Your IP is $_SERVER[REMOTE_ADDR]";
 
Imagestring($img_number,10,5,5,$number,$textcolor);
 
header("Content-type: image/jpeg");
imagejpeg($img_number);
?>

All you’ll need to display on other pages is the code below.

<img src="http://yoursitehere.com/image.php" border="1" alt="" />
Categories: Php Tags:

5 Simple, But Useful CSS Properties

December 7th, 2009 Ashesh No comments

This post is about 5 useful CSS properties that you should be very familiar with, but will most likely rarely use. I’m not talking about the new fancy CSS3 properties. I’m referring to the old CSS2 properties such as: clip, min-height, white-space, cursor, and display that are widely supported by all browsers. So, don’t miss this post because you might be surprised how useful they are.

1. CSS Clip

The clip property is like a mask. It allows you to mask the content of an element in a rectangle shape. To clip an element: you must specify the position to absolute. Then, specify the top, right, bottom, and left value relative to the element. Read more…

Categories: CSS Tags:

The IDN ccTLD Fast Track Process is Open

December 6th, 2009 Ashesh No comments

ICANN is pleased to announce the launch of the IDN ccTLD Fast Track Process.

Non-English speakers across the globe will soon have access to the Internet addresses completely in their own language. The Internet Corporation for Assigned Names and Numbers (ICANN), the organization Read more…

Categories: Tech News Tags:

Windows 8, the Next Generation Windows Evolution via Microsoft China

December 5th, 2009 Ashesh No comments

As far as Microsoft is concerned, Windows 8 details should be kept under a tight lid, and the company is doing a near perfect job out of keeping mum on any information related to the next iteration of the Windows client and server operating systems. The successors of Windows 7 and Windows Sever 2008 R2, currently labeled with the Windows 8 and Windows 8 Sever codenames, are in planning stage, at this point in time, according to scarce details offered by Microsoft. New details slipped through the Redmond giant’s fingers indicate that Windows 8 is being prepared for a compatibility level as consistent as that of Windows 7, if not more so, at least when it comes down to peripherals. Read more…

Categories: Windows 7 Tags:

Dell Windows 7 Driver Download

December 4th, 2009 Ashesh No comments

Dell has recently published the dell Windows 7 drivers download page whereby you will find the first set of system drivers for the Windows 7 OS systems. According to Dell blog, they posting Dell Windows 7 driver early due to they have received many requests from our business customers that we post our Windows 7 drivers so they can begin testing and qualifying the new OS within their environments. Read more…

Microsoft releases details about IE9

December 3rd, 2009 Ashesh No comments

We now have a first glimpse at the direction Internet Explorer will take in its 9th iteration, and it’s pretty much what you’d expect.

While Firefox, Chrome, and Safari are constantly trying to break barriers in JavaScript performance and rendering speed, and better support for standards, Microsoft is proud to say that IE9 will continue its long standing tradition of being the slowest browser around. They wouldn’t want to deprive the web of a baseline for comparison, now would they?

Internet Explorer 9 will bring you improperly rendered web pages more than thrice as fast as IE8. The currently build of Internet Explorer 9 will redefine the way people measure browsers, leaving Firefox, Safari and Chrome only 2 to 4 times faster then IE instead of dozens. Read more…

Categories: Tech News Tags:

Windows Evolution

December 2nd, 2009 Ashesh No comments
There are a host of new features in Windows 7 which make it a much better experience, some small, some large. Many are just refinements to the many new features that Windows Vista introduced.
The internals of Windows 7 remain similar to Vista, and as such, any software written for Windows Vista should run on it. In-fact, drivers written for Vista will generally work with Windows 7 as well!
Here’s a list of Vista functionalities which have been improved in Windows 7: Read more…
Categories: Windows 7 Tags:
Get Adobe Flash playerPlugin by wpburn.com wordpress themes