<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cyberactiva web development and optimisation &#187; PHP</title>
	<atom:link href="http://www.cyberactiva.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberactiva.com</link>
	<description>Every day&#039;s life about programming and webmarketing</description>
	<lastBuildDate>Mon, 11 Apr 2011 05:15:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Develop in PHP without spending money</title>
		<link>http://www.cyberactiva.com/2009/10/develop-in-php-without-spending-money/</link>
		<comments>http://www.cyberactiva.com/2009/10/develop-in-php-without-spending-money/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 07:39:07 +0000</pubDate>
		<dc:creator>Claudio Barba</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.cyberactiva.com/?p=45</guid>
		<description><![CDATA[<p>I find PHP to be a great solution for creating websites.</p>
<p>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 [...]]]></description>
			<content:encoded><![CDATA[<p>I find PHP to be a great solution for creating websites.</p>
<p>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 easy to build/use webservices in PHP5. OOP is fully supported and, above all, there are plenty of free Editors and IDE.</p>
<p>If you want to start working in PHP, I would strongly recommend you the <a title="PHP5, APACHE, MySQL server" href="http://www.wampserver.com" target="_blank">WAMP server</a>, which offer, for free, APACHE,  PHP5 and MySQL server to install on your home PC!</p>
<p>It is very easy to install and in some minutes you are free to write your applications and see them running on your PC. In the same package you will receive a phpmyadmin to administer your databases.</p>
<p>To write PHP code, you have then an incredible number of options&#8230; I am using <a title="PSPAD, code editor" href="http://www.pspad.com" target="_blank">PSPAD</a>, a light editor that let you develop in many languages.</p>
<p>If you are used to work in Eclipse, do not forget to download the <a title="Eclipse PHP" href="http://www.eclipse.org/downloads/" target="_blank">PHP environment for Eclipse</a>, I am not using it personally, but a colleague of mine is, and he&#8217;s enthusiast <img src='http://www.cyberactiva.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberactiva.com/2009/10/develop-in-php-without-spending-money/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop facebook applications in PHP, part 1</title>
		<link>http://www.cyberactiva.com/2009/10/develop_facebook_apps_php/</link>
		<comments>http://www.cyberactiva.com/2009/10/develop_facebook_apps_php/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 21:33:14 +0000</pubDate>
		<dc:creator>Claudio Barba</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[social network]]></category>

		<guid isPermaLink="false">http://www.cyberactiva.com/?p=39</guid>
		<description><![CDATA[<p>I will spend some posts to talk about applications on facebook, and what to do to create one.</p>
<p>For sure you know this great social network, but I&#8217;m not so sure you know that it is very easy to create and publish applications on it.</p>
<p>You can even use your favourite language to create the application, as [...]]]></description>
			<content:encoded><![CDATA[<p>I will spend some posts to talk about applications on facebook, and what to do to create one.</p>
<p>For sure you know this great social network, but I&#8217;m not so sure you know that it is very easy to create and publish applications on it.</p>
<p>You can even use your favourite language to create the application, as the whole application will work through internet.</p>
<p>I have chosen PHP, but you can work in DotNet or one of the many other languages  that can produce webpages.</p>
<p>Why did I choose PHP?</p>
<p>Mainly because it is free and because I like the fact that I can develop in the same platform used by Facebook itself.</p>
<p>Now, everybody can download for free the <a title="facebook php api" href="http://wiki.developers.facebook.com/index.php/PHP" target="_blank">Facebook PHP API</a>.</p>
<p>You will find also a sample application, in order to get started easily.</p>
<p>Before starting developing, you will need to register on the <a title="register as developer on facebook" href="https://www.facebook.com/developers/apps.php" target="_blank">developer application</a>, within Facebook. You will be given a KEY, to use in your code.</p>
<p>Using a mix of API and FBML, the facebook markup language, you will then be able to add easily friends lists and other FB features to your pages.</p>
<p>SQL lovers will soon discover that they can use FQL, the <a title="fql" href="http://wiki.developers.facebook.com/index.php/FQL" target="_blank">facebook query language</a>, to create queries qnd obtain data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberactiva.com/2009/10/develop_facebook_apps_php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP error on webservices: extra content at the end of the document</title>
		<link>http://www.cyberactiva.com/2009/10/extra-content-at-the-end-of-the-document/</link>
		<comments>http://www.cyberactiva.com/2009/10/extra-content-at-the-end-of-the-document/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 10:27:48 +0000</pubDate>
		<dc:creator>Claudio Barba</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WEBSERVICES]]></category>

		<guid isPermaLink="false">http://www.cyberactiva.com/?p=37</guid>
		<description><![CDATA[<p>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:</p>
<p>Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn&#8217;t load from &#8216;http://thisistheUrlOfTheWsdl?wsdl&#8217; : Extra content at the end of the document</p>
<p>After some investigations, I realised that this is probably a bug of PHP: [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to test some webservices using PHP 5.3.0 as client.<br />
Most of them were working properly, but One gave me the following error:</p>
<blockquote><p>Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn&#8217;t load from &#8216;http://thisistheUrlOfTheWsdl?wsdl&#8217; : Extra content at the end of the document</p></blockquote>
<p>After some investigations, I realised that this is probably a bug of PHP: I&#8217;ve found out that the webservice is working if I access it using PHP 5.2.10.</p>
<p>The solution I found is to <strong>create a local copy</strong> of the WSDL file (it&#8217;ll be something mywsdl.xml) and <strong>reference the local copy</strong> instead of the original wsdl url.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberactiva.com/2009/10/extra-content-at-the-end-of-the-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP session variables</title>
		<link>http://www.cyberactiva.com/2009/10/php-session-variables/</link>
		<comments>http://www.cyberactiva.com/2009/10/php-session-variables/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:32:42 +0000</pubDate>
		<dc:creator>Claudio Barba</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.cyberactiva.com/?p=31</guid>
		<description><![CDATA[<p>Managing session variables in PHP is really easy.
First thing to do is to initialise the variable. For instance</p>
<p>$_SESSION["myvariable"] = myvalue;</p>
<p>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:</p>
<p>session_start();</p>
<p>Actually, this will not re-initialise the session, but will create the session object with [...]]]></description>
			<content:encoded><![CDATA[<p>Managing session variables in PHP is really easy.<br />
First thing to do is to initialise the variable. For instance</p>
<blockquote><p>$_SESSION["myvariable"] = myvalue;</p></blockquote>
<p>To use it, in another page, you can then just use $_SESSION["myvariable"].<br />
Just remember to put at the top of the code this instruction:</p>
<blockquote><p>session_start();</p></blockquote>
<p>Actually, this will not re-initialise the session, but will create the session object with the current session variables.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberactiva.com/2009/10/php-session-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

