iNet411.com

Latest articles, posts, etc...
Guessing Game Number 1
Think of a number from 1 to 100
I will guess your number in 7 guesses or less.
continue...
2008-07-13 12:25:26

Convert Dates and find difference between two dates
Below are a few functions that related to converting a date from one format to another ie converting a mysql datetime to unix or unix to a date("Y-m-d") format.  
continue...
2008-07-13 11:57:15

Gzip test
Using gzip saves you server bandwidth, and increases your servers performance. It also allow for people with slower internet connections to see your page faster.
continue...
2008-07-13 11:39:03

What a search engine spider sees
Since a spider cannot view images or javascript, what a spider sees is very different than what a human sees when viewing a webpage.
continue...
2008-07-13 11:31:21

Pinger
Ping a website.  This tool checks whether a site is up or down.
Just enter the url and view the results.
continue...
2008-07-12 16:06:26

View Page Links
View all of the links on a webpage.
This tool even parses . ./ ../ links correctly.
This webmaster tool will show internal links, external links and links which point to a sub-domain of the url entered.
continue...
2008-07-12 14:54:54

View Page Keywords
View the keywords, keyword count and even key phrases of any webpage.
These results will all show your keyword density.
continue...
2008-07-12 14:40:33

View Page Headers
View page headers of any site.
continue...
2008-07-12 14:33:19

View Page Source
View the html source code of any page.
continue...
2008-07-12 14:25:53

Code to Text Ratio
View the code to text ratio of a webpage.
continue...
2008-07-12 14:26:03

Breadcrumbs with php and mysql
This function takes the current category id and builds a recursive breadcrumb trail.
NOTE: this is how the breadcrumb trail above was built.
continue...
2008-07-12 14:26:18

View multidimensional arrays in table format
A snippet to view a multidemsional array.

Due to frequent debugging I needed a way to view an array, but print_r and var_dump are not really very easy on the eyes.  So here is a way to view an array in table format.
continue...
2008-07-12 14:26:34

Valid xhtml opening links in a new window
When making this site I wanted it all to be valid xhtml strict.

The only problem I ran into was the target='_blank' in links. The target attribute is not valid xhtml strict.
So either we can not have any links which open in a new window or we need to use some javascript to help us achieve the desired result. You could do an onclick='window.open..something or other' but I didn't want to clutter up my scripts with javascript.
So I found this cool javascript here Javascript new window.
You can put the function in a .js file and instead of using target='_blank' you just use rel="external" and all those links will open in a new window. Great solution without cluttering your code.
continue...
2008-07-12 14:26:48

Layouts and
The layout of this site can be found at CSS DRIVE it is a fixed-fluid-fixed layout.cc
continue...
2008-07-12 14:27:06