How to integrate phpbb forum login

November 2nd, 2010 admin Posted in PHP & MySQL | No Comments »

I have had to install phpbb forum on a website that already had a user table and I want to keep the users of my table as the only users of the web site. I want to give to my users the access to the phpbb functionalities. Read the rest of this entry »

AddThis Social Bookmark Button

Creating a Date Range Array with PHP

November 2nd, 2010 admin Posted in PHP & MySQL | No Comments »

I recently needed to come up with an array of dates between two given dates. I typically work in the MySQL-compatible ‘YYYY-MM-DD’ date format, so I wanted it to use dates like that. So I came up with the following function:

function createDateRangeArray($strDateFrom,$strDateTo) {
// takes two dates formatted as YYYY-MM-DD and creates an
// inclusive array of the dates between the from and to dates.

// could test validity of dates here but I’m already doing
// that in the main script

$aryRange=array();

$iDateFrom=mktime(1,0,0,substr($strDateFrom,5,2),     substr($strDateFrom,8,2),substr($strDateFrom,0,4));
$iDateTo=mktime(1,0,0,substr($strDateTo,5,2),     substr($strDateTo,8,2),substr($strDateTo,0,4));

if ($iDateTo>=$iDateFrom) {
array_push($aryRange,date(’Y-m-d’,$iDateFrom)); // first entry

while ($iDateFrom<$iDateTo) {
$iDateFrom+=86400; // add 24 hours
array_push($aryRange,date(’Y-m-d’,$iDateFrom));
}
}
return $aryRange;
}

Note that the first parameter of my mktime function calls is a 1 due to problems I experienced before with Daylight Savings Time.

Read the rest of this entry »

AddThis Social Bookmark Button

Sexy Tooltips

October 21st, 2010 admin Posted in CSS Tutorials, Design and Layout, HTML & XHTML Tutorials, JavaScript & AJAX Tutorials | No Comments »

Sexy Tooltips te permite crear tooltips realmente sexys. Reemplaza esos feos, aburridos y amarillos tooltips del navegador, por unos con toda la onda! Read the rest of this entry »

AddThis Social Bookmark Button

Zoomer Gallery – A jQuery plugin for displaying images with Flash-like zooming effects

October 21st, 2010 admin Posted in HTML & XHTML Tutorials, JavaScript & AJAX Tutorials | No Comments »

In today’s post, I’m going to be giving away a new plugin for jQuery that allows you to easily transform your image lists into beautiful galleries with Flash-like zoom effects in them. It’s a simple but elegant way of giving your interfaces a nice little shine and at only 2KB in size, it’s both compact and surprisingly easy to use. Read the rest of this entry »

AddThis Social Bookmark Button

25 sexy jQuery Drop Down Multi Level Menu

September 16th, 2010 admin Posted in JavaScript & AJAX Tutorials | No Comments »

Dropdown menus and menu bars have been heavily used since the early days of graphical user interfaces. Their use has become ubiquitous, and even expected, in desktop applications, and the web has quickly followed suit. There are lots of dropdown menus already out there. Here you’ll find 25 sexy jQuery and CSS based drop-down or just multi level menu tutorials with down loadable files and explanations as well. Read the rest of this entry »

AddThis Social Bookmark Button

25 Useful jQuery Tooltip Plugins and Tutorials

August 26th, 2010 admin Posted in HTML & XHTML Tutorials, JavaScript & AJAX Tutorials | No Comments »

If you are looking to give your readers the option of a little bit more information or optional extra navigation, a great solution is to use Tooltips. Tooltips are a “common graphical user interface element, that are used in conjunction with a cursor, usually a mouse pointer. The user hovers the cursor over an item, without clicking it, and a small box appears with extra information regarding the item being hovered over” (via Wikipedia). To give your tooltip extra functionality and vesatilty the best and simplest solution is using Javascript, especially jQuery.
In this post we have collected 25 of the best jQuery Tooltip Plugins and Tutorials to help with your next project.

Read the rest of this entry »

AddThis Social Bookmark Button

Perfect Full Page Background Image

August 20th, 2010 admin Posted in CSS Tutorials, Design and Layout, HTML & XHTML Tutorials, JavaScript & AJAX Tutorials | No Comments »

We visited this concept of re-sizeable background images before… but reader Doug Shults sent me in a link that uses a really awesome technique that I think is better than any of the previous techniques. Read the rest of this entry »

AddThis Social Bookmark Button

Top 12 CSS Frameworks and How to Understand Them

July 28th, 2010 admin Posted in CSS Tutorials, HTML & XHTML Tutorials | No Comments »

A CSS framework is a library that is meant to allow for easier, more standards-compliant styling of a webpage using the Cascading Style Sheets language. Just like programming and scripting language libraries, CSS frameworks package a number of ready-made options for designing and outlaying a webpage. . Read the rest of this entry »

AddThis Social Bookmark Button

Blueprint a CSS framework

July 28th, 2010 admin Posted in CSS Tutorials, HTML & XHTML Tutorials | No Comments »

Blueprint is a CSS framework, which aims to cut down on your development time. It gives you a solid foundation to build your project on top of, with an easy-to-use grid, sensible typography, useful plugins, and even a stylesheet for printing. Read the rest of this entry »

AddThis Social Bookmark Button

Zend Framework Form(Zend_Form) tutorial

July 26th, 2010 admin Posted in Open source | No Comments »

I got “The Zahir”, a novel by Paula Coelho about a month back, very sweat one and highly intrigued. It was highly entertaining and most importantly author shared his experiences in a nice way. I learned plenty of new ideas. Read the rest of this entry »

AddThis Social Bookmark Button