Categories

Develop in PHP without spending money

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 [...]

Develop facebook applications in PHP, part 1

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 [...]

PHP error on webservices: extra content at the end of the document

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: [...]

PHP session variables

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 [...]

Cyberactiva web development - Blogged