<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Anna Filina - PHP</title>
    <link>http://annafilina.com/blog/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.1.2 - http://www.s9y.org/</generator>
    <pubDate>Mon, 19 May 2008 02:49:58 GMT</pubDate>

    <image>
        <url>http://annafilina.com/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Anna Filina - PHP - </title>
        <link>http://annafilina.com/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>codeFest 2.1 Conclusion</title>
    <link>http://annafilina.com/blog/archives/34</link>
            <category>PHP</category>
    
    <comments>http://annafilina.com/blog/archives/34#comments</comments>
    <wfw:comment>http://annafilina.com/blog/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://annafilina.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Anna)</author>
    <content:encoded>
    &lt;!-- s9ymdb:9 --&gt;&lt;a href=&quot;http://codefest.ws&quot; &gt;&lt;img width=&#039;200&#039; height=&#039;28&#039; style=&quot;float: left; border: 0px; padding-top: 5px; padding-bottom: 10px; padding-right: 15px;&quot; src=&quot;http://annafilina.com/blog/uploads/codefest_logo.gif&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;The codeFest is now over. It went really well. We had about 20 developers yesterday. It was really productive for most people. Some learned a lot. The event was beneficial to the community.&lt;br /&gt;
&lt;br /&gt;
With Yann Larrivée and Louis-Philippe Huberdeau, I was able to make much progress on the PHP Quebec website (jobs section). The new version should be available in a couple of weeks.&lt;br /&gt;
&lt;br /&gt;
The next codeFest should be somewhere in September. For those who don&#039;t know, the codeFest is a weekend for contributing to Open Source or community projects. People gather with their laptops and spend the weekend coding. It beats working alone at home!&lt;br /&gt;
&lt;br /&gt;
For more information, visit the &lt;a href=&quot;http://codefest.ws&quot; &gt;codeFest website&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Sun, 18 May 2008 20:33:25 -0600</pubDate>
    <guid isPermaLink="false">http://annafilina.com/blog/archives/34</guid>
    
</item>
<item>
    <title>.htaccess on Leopard</title>
    <link>http://annafilina.com/blog/archives/33</link>
            <category>PHP</category>
    
    <comments>http://annafilina.com/blog/archives/33#comments</comments>
    <wfw:comment>http://annafilina.com/blog/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://annafilina.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Anna)</author>
    <content:encoded>
    &lt;!-- s9ymdb:10 --&gt;&lt;img width=&#039;149&#039; height=&#039;120&#039; style=&quot;float: left; border: 0px; padding-bottom: 5px; padding-right: 10px;&quot; src=&quot;http://annafilina.com/blog/uploads/leopard_logo.jpg&quot; alt=&quot;&quot; /&gt;After moving my databases and websites to a new Mac with Leopard, none of the websites were working. It was as if mod_rewrite was not working. First, I noticed that the .htaccess files were all ignored. I checked the Apache configuration file in MAMP, and everything seemed fine. After over an hour of going through blogs and forums, I finally get it: Leopard (it&#039;s my first day with it) has its own configuration file in a private folder. That file is not allowing htaccess files.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;
1. Open /private/etc/apache2/httpd.conf&lt;br /&gt;
2. Line 175 and 210: change AllowOverride none to AllowOverride All&lt;br /&gt;
3. Restart your server&lt;br /&gt;
4. Yay! 
    </content:encoded>

    <pubDate>Sun, 27 Apr 2008 19:17:09 -0600</pubDate>
    <guid isPermaLink="false">http://annafilina.com/blog/archives/33</guid>
    
</item>
<item>
    <title>2008 PHP Quebec Conference</title>
    <link>http://annafilina.com/blog/archives/30</link>
            <category>PHP</category>
    
    <comments>http://annafilina.com/blog/archives/30#comments</comments>
    <wfw:comment>http://annafilina.com/blog/wfwcomment.php?cid=30</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://annafilina.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=30</wfw:commentRss>
    

    <author>nospam@example.com (Anna)</author>
    <content:encoded>
    The 2008 edition of the conference is almost over (we have yet to go to the sugar shack). The event was a total success. For the first time, all tickets we sold out. We had wonderful sponsors that allowed us to do more than before (elePHPants, job fair, cocktail...) We had very &lt;a href=&quot;http://conf.phpquebec.com/en/conferencier&quot;&gt;good speakers&lt;/a&gt; and &lt;a href=&quot;http://conf.phpquebec.com/en/session&quot; &gt;quality presentations&lt;/a&gt;. I talked to many visitors and they were all very happy with the event. It is always a pleasure for me to organize this event and I will surely start planning next year&#039;s edition soon. Thanks to all the volunteers who helped us to keep the conference smooth. 
    </content:encoded>

    <pubDate>Sat, 15 Mar 2008 09:48:08 -0600</pubDate>
    <guid isPermaLink="false">http://annafilina.com/blog/archives/30</guid>
    
</item>
<item>
    <title>Sending headers</title>
    <link>http://annafilina.com/blog/archives/22</link>
            <category>PHP</category>
    
    <comments>http://annafilina.com/blog/archives/22#comments</comments>
    <wfw:comment>http://annafilina.com/blog/wfwcomment.php?cid=22</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://annafilina.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=22</wfw:commentRss>
    

    <author>nospam@example.com (Anna)</author>
    <content:encoded>
    There are many reasons to send headers in the middle of you PHP script. Sometimes you want to redirect the user based on some computed information or display different content types (mime-type). Have you ever had a problem with PHP complaining about &quot;output already sent&quot;?&lt;br /&gt;
&lt;br /&gt;
To solve this problem, there is a workaround with ob_start/ob_flush. As pointed out in a past comment, you can put ob_start in the beginning of the script and ob_flush at the end, thus preventing any output before the script finishes executing.&lt;br /&gt;
&lt;br /&gt;
A more neat solution (in my opinion) is to review your output approach. You should not send any output before you are absolutely sure about it (why would you sent kilobytes of HTML if you&#039;re going to redirect anyway?). My approach is to store output in a variable or a class and then send it when ready. I also try to limit html generation until after I processed my GET/POST requests. 
    </content:encoded>

    <pubDate>Thu, 07 Feb 2008 10:30:48 -0700</pubDate>
    <guid isPermaLink="false">http://annafilina.com/blog/archives/22</guid>
    
</item>
<item>
    <title>2008 PHP Quebec Conference: Call for Speakers</title>
    <link>http://annafilina.com/blog/archives/13</link>
            <category>PHP</category>
    
    <comments>http://annafilina.com/blog/archives/13#comments</comments>
    <wfw:comment>http://annafilina.com/blog/wfwcomment.php?cid=13</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://annafilina.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    

    <author>nospam@example.com (Anna)</author>
    <content:encoded>
    &lt;img src=&quot;/blog_img/conf2008/logo.gif&quot; align=&quot;left&quot; alt=&quot;2008 PHP Quebec Conference&quot; /&gt;PHP Quebec is pleased to announce the sixth edition of the PHP Quebec Conference. The Conference will take place in Montreal, Canada between March 12 and 14th, 2008. We are looking for speakers willing to share their expertise with Canadian and United States PHP professionals.&lt;br /&gt;
&lt;br /&gt;
The Conference features the PHPLab, where speakers and visitors will try to find solutions to actual business problems. The two days of technical talks will be dedicated to advanced software development techniques with PHP5 and PHP6, XML, web services, databases, etc.&lt;br /&gt;
&lt;br /&gt;
Organizers will prioritize new and original topics in English or French.&lt;br /&gt;
For more information, visit the website: &lt;a href=&quot;http://conf.phpquebec.com&quot; &gt;http://conf.phpquebec.com&lt;/a&gt; 
    </content:encoded>

    <pubDate>Sun, 16 Sep 2007 14:34:01 -0600</pubDate>
    <guid isPermaLink="false">http://annafilina.com/blog/archives/13</guid>
    
</item>

</channel>
</rss>