The problem:
1. We wanted to have a custom error page for a custom login previusly created.
The solutions:
Wp login redirect to a custom error page
The problem:
1. We wanted to have a custom error page for a custom login previusly created.
The solutions:
URL Hunter! Browser URL bar game
Really original experiment, the first time I see a browser URL game!
http://probablyinteractive.com/url-hunter
Impossibile utilizzarli in maniera tradizionale, si possono usare nei temi attraverso il file function es:
function setLang(){
if ($_GET['lang'] == "it") {
$lang = 'it';
} elseif ($_GET['lang'] == "en") {
$lang = 'en';
} elseif (isset($_COOKIE["lang"])) {
$lang = $_COOKIE["lang"];
} else {
$lang = 'it';
}
setcookie('lang', $lang, time()+2592000 , "/"); //setta il cookie della durata di un mese
return $lang;
}
add_action('init', 'setLang');
I’ve noted using thickbox that anchors created live with javascript don’t work properly.
So, if you wanna fix it, just change line 21 of thickbox.js
from:
$(domChunk).click( function(){
to:
$(domChunk).live(‘click’, function(){
Hope this help
Alessio

In these days I had to handle remote mysql databases without phpmyadmin or similar.
I tried Mysql workbench and query browser which seems to work fine with local dbs, but with remote one it always crashes.
So the best alternative I found is HeidiSQL, is designed for windows but it works great on wine.
Hope this help
You can view the code in this github repo.
http://www.twilio.com/how-twilio-works
http://hackaday.com/2011/01/24/keyless-entry-via-sms/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+hackaday/LgoM+(Hack+a+Day)
A nice jQuery Plugin that uses several images to create the illusion of a 3D scenario using the parallax effect.
Example of use:
$ ( function () {
$ ( ‘# Mindscape’ ). Smart3D (850);
});


#Mindscape {
width : 750px ;
height : 174px ;
}
Source
http://4coder.info/smart3d-jquery-plugin/
Demo
http://4coder.info/demo/jquery-smart3D/
function cleanuserinput($dirty){
if (get_magic_quotes_gpc()) {
$clean = mysql_real_escape_string(stripslashes($dirty));
}else{
$clean = mysql_real_escape_string($dirty);
}
return $clean;
}
In questo modo potremo evitare la SQL-injection
JSZip è una libreria Javascript opensource che permette di creare file zip al volo direttamente lato client.
Semplicemente aggiungendo una qualsiasi numero di file e cartelle al file zip, tutti gli oggetti saranno inclusi nel nuovo file generato.