$var = isset($_POST['var']) ? $_POST['var'] : '' ;
 
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati


Sito web: http://sixrevisions.com/flashactionscript/flash_tutorial_websites/

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati
12
07

Top 10 CSS buttons tutorial list

posted di Administrator, in css, links. No Commenti

Sito web: http://www.catswhocode.----list-29

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati

Autoviewer è uno script flash per slideshow di immagini. Ideale per mostrare una sequenza di immagini.

Sito web: http://www.airtightinteractive.com/projects/autoviewer/

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati
 
$word = new COM("word.application") or die("Unable to instantiate Word");
$word->Documents->Open($filename);
$new_filename = substr($filename,0,-4) . ".txt";
// the '2' parameter specifies saving in txt format
$word->Documents[1]->SaveAs($new_filename,2);
$word->Documents[1]->Close(false);
$word->Quit();
$word->Release();
$word = NULL;
unset($word); 
 
$fh = fopen($new_filename, 'r');
// this is where we exit Hell
$contents = fread($fh, filesize($new_filename));
fclose($fh);
unlink($new_filename);
 
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati
08
07

Decomprimere file zip con php

posted di Administrator, in php, tutorials. No Commenti

In questo articolo vedremo come decomprimere un file zip con php e la libreria pclzip.lib.php.

La libreria
La libreria che ci permette di decomprimere il file si può scaricare dal sito web ufficiale: http://www.phpconcept.net/pclzip/index.en.php. E' opensource e molto facile da usare

Il file php

<form action="index.php?oper=new" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000"/>
Scegli un file zip tuo pc: <input type="file" name="nome"/>
<input type="submit" value="upload"/>
</form>

<?
if($_GET['oper']=="new"){

$uploaddir = "files/";
$uploadfile = $uploaddir . $_FILES['nome']['name'];
$nomez=$_FILES['nome']['name'];
$nomez=str_replace(".zip","",$nomez);

if (move_uploaded_file($_FILES['nome']['tmp_name'], $uploadfile)) {
print "File caricato";
} else {
print "Errore caricamento";
}

include('pclzip.lib.php');
$archive = new PclZip("$uploadfile");
if ($archive->extract(PCLZIP_OPT_PATH, "files/$nomez",PCLZIP_OPT_REMOVE_PATH, '') == 0) {
//die("Error : ".$archive->errorInfo(true));
echo "ERRORE DECOMPRESSIONE";
}
}
?>

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati
 
function wordCount($string){
     $words = "";
     $string = eregi_replace(" +", " ", $string);
     $array = explode(" ", $string);
     for($i=0;$i < count($array);$i++) {
         if (eregi("[0-9A-Za-zÀ-ÖØ-öø-ÿ]", $array[$i])) $words[$i] = $array[$i];
  }
     return $words;
 }
 
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati

Calendar XP javascript calendar, calendar range, pop calendar, flat calendar, datetime, time
Ajax Planner : click on the calendar to the right to activate the week-planner and set up events

example : flat calendar , pop calendar


This Calendar look clean and beautiful, I Love It.

fade in fade out effect calendar and more calendar themes

Calendar Control to be a useful and easy-to-implement enhancement to any date-selection interaction

Example : Explore examples of the Calendar Control in action

apple calendar style

popup Javascript calendar

Transparent effect calendar

php event and calendar

A flexible unobtrusive calendar component for jQuery

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Reddit
  • scuttle
  • Smarking
  • Spurl
  • YahooMyWeb
  • DZone
  • Internetmedia
  • Snap2r
  • Technorati
08
07

I migliori 23 Ajax Tooltip e Balloon

posted di Administrator, in script ajax. No Commenti


images tooltip, transperent tooltip, balloon and more...



Bubble Tooltips are an easy way to add fancy tooltips with a balloon shape to any web page

9 styles tooltips for prototype

BoxOver uses javascript / DHTML to show tooltips on a website

clueTip : A jQuery Plugin : tooltip with loading

Information balloon pop-ups

Tooltip.js: Creating simple tooltips

fade in fade out effect tooltip

Tooltips from AJAX, DOM nodes or inline attributes contents

loading tooltip