I have just finished, more or less, the development of my first official facebook application.
As you all know, I’m italian, also if I am not living in Italy any more… Anyway the application is in italian, so many of you will not be able to understand it.
What it does? You can use it to calculate [...]
I find PHP to be a great solution for creating websites.
I have been working for years on the microsoft side of the world, but in the last years I have worked more and more with PHP/MySql projects. The last versions of these platform are quite powerful and it turns out that it is now very [...]
I have been running this blog for seven years. I started it in 2002 as a window on my business.
At the beginning it was only a static website to publish the mission, a contact form and my portfolio: note that it is in italian as I was working for the italian market… If I look [...]
I will spend some posts to talk about applications on facebook, and what to do to create one.
For sure you know this great social network, but I’m not so sure you know that it is very easy to create and publish applications on it.
You can even use your favourite language to create the application, as [...]
I was trying to test some webservices using PHP 5.3.0 as client.
Most of them were working properly, but One gave me the following error:
Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘http://thisistheUrlOfTheWsdl?wsdl’ : Extra content at the end of the document
After some investigations, I realised that this is probably a bug of PHP: [...]
It bothers me a lot, when I can’t find a solution for a problem that do not depend on me… Anywway here is the problem and the work-around solution I found.
Let’s say you have a form on the page, with some <select> tags.
Now, you want that on the onclick event of the submit, a semi [...]
Managing session variables in PHP is really easy.
First thing to do is to initialise the variable. For instance
$_SESSION["myvariable"] = myvalue;
To use it, in another page, you can then just use $_SESSION["myvariable"].
Just remember to put at the top of the code this instruction:
session_start();
Actually, this will not re-initialise the session, but will create the session object with [...]