<?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>Devolio - Comments</title>
    <link>http://devolio.com/blog/</link>
    <description>Devolio - News, resources, tips and tricks for Web Developers and Freelancers.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    <pubDate>Fri, 16 May 2008 09:59:21 GMT</pubDate>

    <image>
        <url>http://devolio.com/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Devolio - Comments - Devolio - News, resources, tips and tricks for Web Developers and Freelancers.</title>
        <link>http://devolio.com/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Zerik: Automating MySQL Backups with Cron</title>
    <link>http://devolio.com/blog/archives/107-Automating-MySQL-Backups-with-Cron.html#c2243</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/107-Automating-MySQL-Backups-with-Cron.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=107</wfw:comment>

    

    <author>nospam@example.com (Zerik)</author>
    <content:encoded>
    it works great, just one thing, it doesnt make any gzip files although i set that parameter to true.&lt;br /&gt;
&lt;br /&gt;
do i need some library to have it working?&lt;br /&gt;
&lt;br /&gt;
thanks. 
    </content:encoded>

    <pubDate>Tue, 13 May 2008 10:59:03 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/107-guid.html#c2243</guid>
    
</item>
<item>
    <title>atomiku: 8 Practical PHP Regular Expressions</title>
    <link>http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html#c2232</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=34</wfw:comment>

    

    <author>nospam@example.com (atomiku)</author>
    <content:encoded>
    Excellent, this is very very handy.&lt;br /&gt;
&lt;br /&gt;
Thanks! 
    </content:encoded>

    <pubDate>Sat, 10 May 2008 19:27:19 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/34-guid.html#c2232</guid>
    
</item>
<item>
    <title>Sascha: How to install Apache, MySQL and PHP (LAMP) in Ubuntu 7.10</title>
    <link>http://devolio.com/blog/archives/221-How-to-install-Apache,-MySQL-and-PHP-LAMP-in-Ubuntu-7.10.html#c2220</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/221-How-to-install-Apache,-MySQL-and-PHP-LAMP-in-Ubuntu-7.10.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=221</wfw:comment>

    

    <author>nospam@example.com (Sascha)</author>
    <content:encoded>
    Great tutorial! Runs perfect! Thanks a lot... 
    </content:encoded>

    <pubDate>Thu, 08 May 2008 17:34:24 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/221-guid.html#c2220</guid>
    
</item>
<item>
    <title>Peter Li: 8 Practical PHP Regular Expressions</title>
    <link>http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html#c2201</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=34</wfw:comment>

    

    <author>nospam@example.com (Peter Li)</author>
    <content:encoded>
    I think there is a small bug in your email regexp:&lt;br /&gt;
&lt;br /&gt;
^[^0-9][a-zA-Z0-9_]+&lt;br /&gt;
&lt;br /&gt;
your regexp matches an email that does not start with a digit... this possibly correct, however it would allow any character including comma, plus, dollar etc.&lt;br /&gt;
You probably really wanted just alpha chars. So you probably want to use:&lt;br /&gt;
&lt;br /&gt;
^[^a-zA-Z][a-zA-Z0-9_]+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
hence your example would be:&lt;br /&gt;
&lt;br /&gt;
$string = &quot;first.last@domain.co.uk&quot;; &lt;br /&gt;
if (preg_match(&lt;br /&gt;
&#039;/^[^a-zA-Z][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[@][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{2,4}$/&#039;,&lt;br /&gt;
$string)) { &lt;br /&gt;
echo &quot;example 3 successful.&quot;;&lt;br /&gt;
} 
    </content:encoded>

    <pubDate>Mon, 05 May 2008 21:52:14 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/34-guid.html#c2201</guid>
    
</item>
<item>
    <title>James: Practical (and impractical) PHP Optimizations</title>
    <link>http://devolio.com/blog/archives/314-Practical-and-impractical-PHP-Optimizations.html#c2181</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/314-Practical-and-impractical-PHP-Optimizations.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=314</wfw:comment>

    

    <author>nospam@example.com (James)</author>
    <content:encoded>
    Great set of comparisons. 
    </content:encoded>

    <pubDate>Thu, 01 May 2008 12:38:36 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/314-guid.html#c2181</guid>
    
</item>
<item>
    <title>stormwild: How to install Apache, MySQL and PHP (LAMP) in Ubuntu 7.10</title>
    <link>http://devolio.com/blog/archives/221-How-to-install-Apache,-MySQL-and-PHP-LAMP-in-Ubuntu-7.10.html#c2180</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/221-How-to-install-Apache,-MySQL-and-PHP-LAMP-in-Ubuntu-7.10.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=221</wfw:comment>

    

    <author>nospam@example.com (stormwild)</author>
    <content:encoded>
    Hi Scoobie,&lt;br /&gt;
&lt;br /&gt;
Did a quick google search for the error and found a link to the Apache wiki:&lt;br /&gt;
&lt;br /&gt;
http://wiki.apache.org/httpd/CouldNotDetermineServerName&lt;br /&gt;
&lt;br /&gt;
I&#039;m still learning more about Apache so I&#039;m not sure if it will solve the problem you&#039;re having. &lt;br /&gt;
&lt;br /&gt;
There&#039;s also an Ubuntu forum post which discusses the same or similar problem.&lt;br /&gt;
&lt;br /&gt;
http://ubuntuforums.org/showthread.php?p=2874560&lt;br /&gt;
&lt;br /&gt;
Anyway, hope it helps.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
stormwild 
    </content:encoded>

    <pubDate>Thu, 01 May 2008 09:32:58 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/221-guid.html#c2180</guid>
    
</item>
<item>
    <title>google searcher: 8 Practical PHP Regular Expressions</title>
    <link>http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html#c2174</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=34</wfw:comment>

    

    <author>nospam@example.com (google searcher)</author>
    <content:encoded>
    /^[(/*)+.+(*/)]$/&lt;br /&gt;
Your pattern to match multiline php comments doesn&#039;t make any sense to me.&lt;br /&gt;
First of all you&#039;re using ^ and $ symbols in a POSIX like way, in PCRE (preg) ^ and $ mean the start and end of lines and to activate this meaning in your pattern you must use the &#039;m&#039; modifier after the delimiter (which you didn&#039;t), else they are taken literally.&lt;br /&gt;
Why would you need to verify the begg.of end of a line anyways at all when trying to match php multiline comments? I think this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
I think this is a better alternative:&lt;br /&gt;
~/\*.*?\*/~s   where &#039;~&#039; is the delimiter and &#039;s&#039; is the modifier to make &#039;.&#039; match newline characters as well. And &#039;\\&#039; is the escape character.&lt;br /&gt;
&lt;br /&gt;
if (preg_match(&#039;~/\*.*?\*/~s&#039;, &#039;/* commmmment&lt;br /&gt;
here is a valid php comment /**/&#039;)) {&lt;br /&gt;
echo &#039;now it is successful!&#039;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
See it here:&lt;br /&gt;
http://nancywalshee03.freehostia.com/regextester/regex_tester.php?seeSaved=6s7pah8k&lt;br /&gt;
&lt;br /&gt;
This page has great google rankings, maybe it will be more beneficial now. &lt;img src=&quot;http://devolio.com/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Tue, 29 Apr 2008 20:00:24 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/34-guid.html#c2174</guid>
    
</item>
<item>
    <title>Scoobie: How to install Apache, MySQL and PHP (LAMP) in Ubuntu 7.10</title>
    <link>http://devolio.com/blog/archives/221-How-to-install-Apache,-MySQL-and-PHP-LAMP-in-Ubuntu-7.10.html#c2167</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/221-How-to-install-Apache,-MySQL-and-PHP-LAMP-in-Ubuntu-7.10.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=221</wfw:comment>

    

    <author>nospam@example.com (Scoobie)</author>
    <content:encoded>
    Hey there,&lt;br /&gt;
Thanks for a great tutorial, easy to follow and explains things clearly. Apache is giving me a few problems though, when I restarted I got this:&lt;br /&gt;
apache2: Could not reliably determine the server&#039;s fully qualified domain name, using 127.0.1.1 for ServerName&lt;br /&gt;
&lt;br /&gt;
And now Apache wont start, any idea what broke?&lt;br /&gt;
Cheers&lt;br /&gt;
&lt;br /&gt;
Scoobie 
    </content:encoded>

    <pubDate>Sun, 27 Apr 2008 20:50:15 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/221-guid.html#c2167</guid>
    
</item>
<item>
    <title>mozey: How to install APC in Ubuntu 7.10</title>
    <link>http://devolio.com/blog/archives/228-How-to-install-APC-in-Ubuntu-7.10.html#c2154</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/228-How-to-install-APC-in-Ubuntu-7.10.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=228</wfw:comment>

    

    <author>nospam@example.com (mozey)</author>
    <content:encoded>
    DUDE, i just got it working, &lt;br /&gt;
&lt;br /&gt;
12 requests/second&lt;br /&gt;
to &lt;br /&gt;
54 requets/second &lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://devolio.com/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
my application tho is lots of php and no db. 
    </content:encoded>

    <pubDate>Thu, 24 Apr 2008 23:34:23 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/228-guid.html#c2154</guid>
    
</item>
<item>
    <title>Erik Söderblom: Installing Avant Window Navigator in Gutsy</title>
    <link>http://devolio.com/blog/archives/82-Installing-Avant-Window-Navigator-in-Gutsy.html#c2118</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/82-Installing-Avant-Window-Navigator-in-Gutsy.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=82</wfw:comment>

    

    <author>nospam@example.com (Erik Söderblom)</author>
    <content:encoded>
    Perfect.&lt;br /&gt;
Just what I needed.&lt;br /&gt;
&lt;br /&gt;
Thanks 
    </content:encoded>

    <pubDate>Fri, 18 Apr 2008 04:22:43 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/82-guid.html#c2118</guid>
    
</item>
<item>
    <title>Joey: Installing Avant Window Navigator in Gutsy</title>
    <link>http://devolio.com/blog/archives/82-Installing-Avant-Window-Navigator-in-Gutsy.html#c2116</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/82-Installing-Avant-Window-Navigator-in-Gutsy.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=82</wfw:comment>

    

    <author>nospam@example.com (Joey)</author>
    <content:encoded>
    Erik,&lt;br /&gt;
&lt;br /&gt;
The quick answer - You can add the following to your /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
deb http://ppa.launchpad.net/reacocard-awn/ubuntu/ gutsy main&lt;br /&gt;
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu/ gutsy main&lt;br /&gt;
&lt;br /&gt;
and run sudo apt-get update to enable the use of another repository.&lt;br /&gt;
&lt;br /&gt;
You can find a great wiki for AWN at http://wiki.awn-project.org/index.php?title=DistributionGuides . They&#039;ve outlined all of the information for installing on Gutsy, Hardy, and other distributions and setups. Hope that helps! 
    </content:encoded>

    <pubDate>Thu, 17 Apr 2008 23:49:12 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/82-guid.html#c2116</guid>
    
</item>
<item>
    <title>Erik Söderblom: Installing Avant Window Navigator in Gutsy</title>
    <link>http://devolio.com/blog/archives/82-Installing-Avant-Window-Navigator-in-Gutsy.html#c2114</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/82-Installing-Avant-Window-Navigator-in-Gutsy.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=82</wfw:comment>

    

    <author>nospam@example.com (Erik Söderblom)</author>
    <content:encoded>
    It apears that the repositories dosn&#039;t exist anymore ??? (tuxfamily.org ?)&lt;br /&gt;
&lt;br /&gt;
Can I use something else ?&lt;br /&gt;
&lt;br /&gt;
ES 
    </content:encoded>

    <pubDate>Thu, 17 Apr 2008 19:59:34 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/82-guid.html#c2114</guid>
    
</item>
<item>
    <title>Joey: Open Calais Tags</title>
    <link>http://devolio.com/blog/archives/377-Open-Calais-Tags.html#c2087</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/377-Open-Calais-Tags.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=377</wfw:comment>

    

    <author>nospam@example.com (Joey)</author>
    <content:encoded>
    Tom,&lt;br /&gt;
&lt;br /&gt;
I appreciate you taking the time to leave a reply.&lt;br /&gt;
&lt;br /&gt;
Having access to Calais with PHP gives me so many great ideas for uses with your service.&lt;br /&gt;
&lt;br /&gt;
This is the beginning of a great time on the web - the ability to automatically semantically tag and store meta data without having to dig in and do all of the dirty work by hand. This is really just the beginning.&lt;br /&gt;
&lt;br /&gt;
I took a look at the Powerhouse Museum, very interesting how they&#039;re using it.&lt;br /&gt;
&lt;br /&gt;
I&#039;d love to have a chance to talk with you more in depth about Open Calais and where you plan to take it. 
    </content:encoded>

    <pubDate>Fri, 11 Apr 2008 12:25:29 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/377-guid.html#c2087</guid>
    
</item>
<item>
    <title>Tom Tague: Open Calais Tags</title>
    <link>http://devolio.com/blog/archives/377-Open-Calais-Tags.html#c2084</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/377-Open-Calais-Tags.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=377</wfw:comment>

    

    <author>nospam@example.com (Tom Tague)</author>
    <content:encoded>
    Joey:&lt;br /&gt;
&lt;br /&gt;
Thanks for noticing this great tool that Dan has developed for Calais. For PHP&#039;ers this greatly simplifies accessing the Calais web service.&lt;br /&gt;
&lt;br /&gt;
You mentioned tagging archived content - I thought you might be interested in http://snipurl.com/244hz  [www_powerhousemuseum_com] &lt;br /&gt;
&lt;br /&gt;
The Powerhouse Museum in Syndney is using Calais to automatically tag their entire collection and provide end users of their online catalog with new search and navigation methods. Pretty Cool.&lt;br /&gt;
&lt;br /&gt;
Regards, 
    </content:encoded>

    <pubDate>Fri, 11 Apr 2008 10:06:25 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/377-guid.html#c2084</guid>
    
</item>
<item>
    <title>David P: Practical (and impractical) PHP Optimizations</title>
    <link>http://devolio.com/blog/archives/314-Practical-and-impractical-PHP-Optimizations.html#c2083</link>
            <category></category>
    
    <comments>http://devolio.com/blog/archives/314-Practical-and-impractical-PHP-Optimizations.html#comments</comments>
    <wfw:comment>http://devolio.com/blog/wfwcomment.php?cid=314</wfw:comment>

    

    <author>nospam@example.com (David P)</author>
    <content:encoded>
    SQL Injection prevention:&lt;br /&gt;
&lt;br /&gt;
$sql = &quot;SELECT &lt;strong&gt; FROM table WHERE id = &quot; . mysql_real_escape_string($var);&lt;br /&gt;
&lt;br /&gt;
$sql = sprintf(&quot;SELECT &lt;/strong&gt; FROM table WHERE id = %u&quot;, $var); 
    </content:encoded>

    <pubDate>Thu, 10 Apr 2008 13:53:46 -0400</pubDate>
    <guid isPermaLink="false">http://devolio.com/blog/archives/314-guid.html#c2083</guid>
    
</item>

</channel>
</rss>