Posted in programming on Dec 14th, 2009
I’ve implemented a port-knocking client implementation in PHP inspired by the knockd C implementation made by Judd Vinet.
You can can download it at this page.
If you don’t know what port knocking is, it can briefly described as a way of surreptitiously offering services on a server without advertising the fact. By delivering a special sequence [...]
Read Full Post »
Posted in english, programming on Aug 9th, 2009
This article is to make a simple example on how you can manage SOAP Messages with Attachements in PHP and, in particular, I’ll describe how to use the PEAR::SOAP package to transmit files associated to a SOAP message as attachments in their native format in a multipart MIME structure for transport (SOAP Messages with Attachments [...]
Read Full Post »
Posted in english, programming on Jan 17th, 2009
Yesterday I was googling to find the algorithm to covert a netmask (in the dotted decimal format like 255.255.255.0) in corresponding cidr to manage a database migration, but I can't find it. So I wrote it in PHP.
The following function takes a valid netmask in the dotted decimal format as a string in input and [...]
Read Full Post »
Posted in english, programming on Nov 29th, 2008
I recently solved a problem common to many heavy used web application following an idea of a friend of mine.
The problem is how to efficently manage the sessions of a web application when the number of them is high (500,000 for example) and the use of them his quite frequent (˜50,000 pages/day in my case).
A [...]
Read Full Post »
Posted in programming on Apr 9th, 2007
L'obbiettivo di questo articolo è descrivere il percorso che ho fatto per installare un ambiente per l'esecuzione di applicazioni PHP sotto Mac OS X. Il mio obbiettivo è quello di poter eseguire applicazioni PHP sia a linea di comando sia sul web server interno.
L'approccio è quello di minimizzare gli interventi sistemistici e di configurazione per [...]
Read Full Post »
Posted in english, programming on Mar 10th, 2007
Trac has a great module to support notification about ticket changes via email. Starting from the 0.10 version of Trac the TracNotification module has some new configuration options that give to the administrator or project manager a good control on who should be notified and when.
By the way Trac lacks, in my opinion, of [...]
Read Full Post »
Posted in programming on Oct 15th, 2006
Con molta soddisfazione annuncio il rilascio della versione 0.2.0 della libreria phpGoogleSearch.
Sebbene il grosso del lavoro era stato già fatto, con questa versione è stata completata la copertura delle API messe a disposizione di Google via SOAP. In particolare sono stati implementati sulla classe GoogleSearch i metodi:
doGetCachedPage
doSpellingSuggestion
Nella cartella examples ho aggiunto anche due semplici script [...]
Read Full Post »
Posted in programming on Sep 18th, 2006
Recentemente ho interagito spesso per lavoro con alcuni personaggi di Google su alcuni aspetti principalmente legati al servizio Google Scholar. Incuriosito però dalla possibilità di sfruttare via SOAP gli indici di Google per fonire su un proprio sito un sistema di ricerca, ho dedicato un po' tempo allo studio di quelle che vengono chiamate Google [...]
Read Full Post »