$var = isset($_POST['var']) ? $_POST['var'] : '' ;


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

Sito web: http://www.catswhocode.----list-29
Autoviewer è uno script flash per slideshow di immagini. Ideale per mostrare una sequenza di immagini.
Sito web: http://www.airtightinteractive.com/projects/autoviewer/
$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);
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";
}
}
?>
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; }
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
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
































































