Archivio di settembre 22nd, 2009
Link al tutorial: http://www.pxleyes.com/tutorial/photoshop/1402/Create-A-Slow-Motion-Bullet-Shot-Effect.html
fonte: www.sastgroup.com ...leggi tutto»
Demo: http://www.queness.com/resources/html/flipping/index.html
Codice Sorgente: http://www.queness.com/resources/archives/jquery-flipping.zip
fonte: www.sastgroup.com ...leggi tutto»
Link al tutorial: http://www.psdvault.com/resources/8-elegant-really-cool-abstract-photoshop-tutorials-to-beautify-your-design/
fonte: www.sastgroup.com ...leggi tutto»
< ?php
// change this value below
$cs_conn = mysql_connect('localhost', 'db_user', 'password');
mysql_select_db('db_name', $cs_conn);
mysql_query("CREATE TABLE IF NOT EXISTS `downloaded` (
`filepath` varchar(255) NOT NULL,
`ipadres` varchar(15) NOT NULL,
`last_access` datetime NOT NULL,
UNIQUE KEY `filepath` (`filepath`,`ipadres`),
KEY `ipadres` (`ipadres`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;");
$path = addslashes($_SERVER['REQUEST_URI']);
$ip = addslashes($_SERVER['REMOTE_ADDR']);
$dl = false;
$sql = sprintf("SELECT UNIX_TIMESTAMP(last_access) last_time FROM downloaded WHERE filepath = '%s' AND ipadres = '%s' ORDER BY last_access DESC", $path, $ip);
$res = mysql_query($sql);
if (mysql_num_rows($res) > 0) {
$last_xs = mysql_result($res, 0, 'last_time')+3600;
if ($last_xs < time()) {
mysql_query(sprintf("REPLACE downloaded SET filepath = '%s', ipadres = '%s', last_access = NOW()", $path, $ip));
$dl = true;
}
} else ...leggi tutto»
