Recommended:

  • phpclasses.org
  • jsclasses.org
  • jsmag.com
  • siteapps.com
  • View our reviews on Hot Scripts
  • JS Tutorial
  • scripts.com
  • securesignup.com




Recent Comments

Powered by Disqus




Optimizing site loading time using YSlow recommendations

YSlow is a firefox plugin that offers you optimization tips for your website by scanning it. To use YSlow you'll need to install Firebug plugin, then install YSlow plugin. And after that, press right mouse button anywhere on your website, choose "Inspect element" and click on YSlow tab. So before testing how YSlow tips improve...

Comments Read more

Compressing webpage content for faster page loading

There are many ways of how to compress your web page content, that is outputted to end user's browser. Most popular are: using apache mod_gzip or mod_deflate, using zlib compression or using ob_gzhandler. There are many opinions on which is better and probably there are no right answer, and since combined usage of this methods is not...

Comments Read more

Create blank transparent PNG images using PHP GD functions

Here is a function to create blank transparent png image for background. This function uses alpha channel information for image transparency (thus available only for PNG).  It takes width and height as a parameters and returns GD image resource: <?php function create_blank($width, $height){ //create image with specified sizes ...

Comments Read more

CSS sprite class for creating sprite image and CSS code generation

CSS sprite class can generate CSS sprite image from multiple provided images. It provides basic image manipulations, like saving image, outputting to browser, etc This class can also generate CSS code for sprite image usage, from HTML element ID's in which image is used, that could be provided together with image. CSS code...

Comments Read more

CSS sprites to speed up page loading

What are CSS sprites? Well it's simply images used in website design, put in one image file. It means that browser needs to download only one image instead of multiple and as browser can can maintain only couple simultaneous connections, it needs one HTTP request and connection to download all design images, thus making all other site...

Comments Read more

Awesome jQuery Tooltip plugin

Here is one awesome jQuery tooltip plugin. It's awesome, not only because it looks cool and works great, it is also fully customizable. For more information about plugin go to flowplayer.org. You can customize tooltip outlook using css, customize it's effect and position using javascript, and you can attach them to any combination...

Comments Read more

Notify users about Caps Lock on while logging in

For security measures in every login form you can't see password which you are entering, thus you don't know if you enter it right. Of course there is a probability that you miss typed it, and that's why you can't log in. But what if you type it for the third time, and you know that you typed the right password? Well then...

Comments Read more

Mysql access wrapper for Flash ActionScript 3 using PHP

Since flash doesn't have it's own way to connect to database, web developers usually use PHP for that purpose. Then there are many ways how to pass data to flash using XML etc. But all code snippets and tutorials I've found on the Internet are usually not multi functional and serve only for one purpose to insert data, or select...

Comments Read more

Dynamically compress css and javascript files

One way to speed up your page loading time is to optimize all files needed for your website. For example, more file takes space (Kb, Mb, etc), more time it needs to be downloaded to end users computer to view your website. So if you make those file lesser, they will load faster. What are the options? For example, you can take all comments...

Comments Read more

Implementing RDF and Sparql using ARC solution

There aren't many good solutions for RDF and Sparql implementation using PHP. ARC by Semsol is one of the best I've seen for now. So what can you do with it? First thing you can add many RDF structures into one database and then browse them using SPARQL query language. Then you can create SPARQL endpoint and allow others to browse...

Comments Read more

PHP class to retrieve multiple images from Google using curl multi handler

There are many limitations to Google Search API, for example there only 64 allowed and 32 results for local search. Yet php curl result returns only 4 image results. To bypass that restriction in most effective way, here is a simple php class to get and output specified number of images (less then 64 of course) using curl multi...

Comments Read more

Google image API using cURL

There are alot of tutorials on Google Image search API using javascript interface, but what if you want to do it old fashion way, using php and curl? Well here is a way to do it. First you'll need to register for Google Search API key Then you can use this piece of code, just don't forget to input your API...

Comments Read more

Implement pop under advertising to your site using pop under class

Pop under class allows you to implement pop under advertising to your website. You can customize probability of ads to appear, time for how long to show advertisement and much more. There is also an option to mark users who saw advertisement for specified period of time, so they won't be bothered with pop under advertisements during...

Comments Read more

Generate WORD document using PHP

There are two ways of generating word document using PHP. First would be using COM object. Other would be by sending headers and outputting HTML code for browser to interpret as word document. So for using COM object, here is an example of how to do it: <?php // Create new COM object – word.application $word = new...

Comments Read more

Random banner rotation in ptcevolution script

Here is a way to implement random banner rotation to show multiple random banners on same page. This script works for  PTC Evolution Version 1.1.0 script. Didn't test it on other versions. For more information about script visit PTC Evolution website. So what you'll need to do is to create banners.php file in your root...

Comments Read more

Sparql Query Builder

Sparql Query Builder class can be used to compose queries to XML RDF documents using SPARQL. It can compose and generate queries for sending to a SPARQL end point that can extract semantic information from RDF documents. It complies with W3C Recommendations http://www.w3.org/TR/rdf-sparql-query/ This class reduces amount of text...

Comments Read more

Phones Complete class

Phones Complete class can be used to query information of mobile devices from Phones Complete database. It can send HTTP requests to the PhonesComplete Web services API to retrieve information for a given mobile phone. The class parses the response and returns the mobile device information in an array or the raw XML response. It...

Comments Read more

Get youtube thumbnail

This function can get thumbnail of youtube video. It takes embed code or link to youtube video as parameter and returns link to thumbnail of that video from youtube server. <?php //you can pass embed code or youtube link function youtube_thumbnail($youtube){ //checking if anything found using embed code expression ...

Comments Read more

Guitar chord API class

Guitar chord API class can be used to search for guitar chords using Guitar Chord API. It can send HTTP request to the Guitar chord API Web server to find chord variations based on given data about chord by specifying the chord name, chord modification, or/and string/fret combination. For more information...

Comments Read more

Display simple CSS star rating

Rate feature not only provides you with feedback what content do your visitors like, but it is also a motivator for you to provide visitors with more quality content. Usually these ratings are displayed as number or percentage, which doesn't look pretty attractive. But there is an easy and also cool way to display rating using...

Comments Read more



1 2 3 4 5 6 7 8 9 10 11