<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/blog_international/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://php10.de/blog_international/feeds/atom.xml" rel="self" title="php10.de International Blog" type="application/atom+xml" />
    <link href="http://www.php10.de/blog_international/"                        rel="alternate"    title="php10.de International Blog" type="text/html" />
    <link href="http://www.php10.de/blog_international/rss.php?version=2.0"     rel="alternate"    title="php10.de International Blog" type="application/rss+xml" />
    <title type="html">php10.de International Blog</title>
    <subtitle type="html">Christian Fraunholz Internet, Intranet and iPhone development</subtitle>
    <icon>http://www.php10.de/blog_international/templates/default/img/s9y_banner_small.png</icon>
    <id>http://www.php10.de/blog_international/</id>
    <updated>2011-07-11T09:08:47Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.php10.de/blog_international/archives/4-Coding-Rules.html" rel="alternate" title="Coding Rules" />
        <author>
            <name>Christian K. Fraunholz</name>
                    </author>
    
        <published>2011-02-25T11:28:35Z</published>
        <updated>2011-07-11T09:08:47Z</updated>
        <wfw:comment>http://www.php10.de/blog_international/wfwcomment.php?cid=4</wfw:comment>
    
        <slash:comments>10</slash:comments>
        <wfw:commentRss>http://www.php10.de/blog_international/rss.php?version=atom1.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    
    
        <id>http://www.php10.de/blog_international/archives/4-guid.html</id>
        <title type="html">Coding Rules</title>
        <content type="xhtml" xml:base="http://www.php10.de/blog_international/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p><br />
These are my coding rules:</p> <br />
<ol> <br />
<li>line indent 4 spaces, no tabs (relevant for SVN commits)</li> <br />
<li>UTF-8 everywhere</li> <br />
<li>prevent parameter manipulation via HTTP POST or GET</li> <br />
<li>prevent SQL-Injection: before storing a value into the database: use &#160;(int) typcasting for integer values and my_sql() function for all other values</li> <br />
<li>prevent Cross-Site-Scripting: before outputting a variable to HTML, use the html() function</li> <br />
</ol> <code><br />
function my_sql($var) {<br />
&#160;&#160;return mysql_real_escape_string($var);<br />
}<br />
function html($var) {<br />
&#160;&#160;return htmlspecialchars($var, ENT_QUOTES, 'UTF_8');<br />
} </code> <br />
<p> </p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.php10.de/blog_international/archives/3-Petition-to-the-European-Parliament.html" rel="alternate" title="Petition to the European Parliament" />
        <author>
            <name>Christian K. Fraunholz</name>
                    </author>
    
        <published>2011-02-19T22:55:12Z</published>
        <updated>2011-02-19T22:55:12Z</updated>
        <wfw:comment>http://www.php10.de/blog_international/wfwcomment.php?cid=3</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://www.php10.de/blog_international/rss.php?version=atom1.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    
    
        <id>http://www.php10.de/blog_international/archives/3-guid.html</id>
        <title type="html">Petition to the European Parliament</title>
        <content type="xhtml" xml:base="http://www.php10.de/blog_international/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                my petition for gardeners - if farmers get subsidiaries, gardeners should get subsidiaries, too - has just been forwarded from the European Parliament to the European Committee 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.php10.de/blog_international/archives/2-iThrow-at-Twitter.html" rel="alternate" title="iThrow at Twitter" />
        <author>
            <name>Christian K. Fraunholz</name>
                    </author>
    
        <published>2010-03-21T21:00:22Z</published>
        <updated>2010-03-21T21:07:22Z</updated>
        <wfw:comment>http://www.php10.de/blog_international/wfwcomment.php?cid=2</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.php10.de/blog_international/rss.php?version=atom1.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    
    
        <id>http://www.php10.de/blog_international/archives/2-guid.html</id>
        <title type="html">iThrow at Twitter</title>
        <content type="xhtml" xml:base="http://www.php10.de/blog_international/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Somewhere sometimes someone throws his iPhone into the air. You can find the highest iPhone throws made with the Accelerated Browser now at <a href="https://twitter.com/iThrowmiPhone">https://twitter.com/iThrowmiPhone</a> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.php10.de/blog_international/archives/1-The-Big-Red-Button.html" rel="alternate" title="The Big Red Button" />
        <author>
            <name>Christian K. Fraunholz</name>
                    </author>
    
        <published>2010-01-01T12:28:16Z</published>
        <updated>2010-01-12T08:39:13Z</updated>
        <wfw:comment>http://www.php10.de/blog_international/wfwcomment.php?cid=1</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.php10.de/blog_international/rss.php?version=atom1.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    
    
        <id>http://www.php10.de/blog_international/archives/1-guid.html</id>
        <title type="html">The Big Red Button</title>
        <content type="xhtml" xml:base="http://www.php10.de/blog_international/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>As you may know, building a simple web application that displays the<br />
content of a database table and a form to edit it, requires typing the<br />
field names over and over again. Once you write them as a simple<br />
comma-separated list, then they come via HTTP POST method packed in<br />
$_POST['foobar']. For context change you have to write code to escape<br />
and protect against SQL-Injection or Cross Site Scripting attacks. Most<br />
of the time you must consider the type of each field even though you<br />
defined it already in the database. After all you must type every field<br />
name about 25 times in different formats for a basic application. The<br />
<strong>Big Red Button Source Code Generator,</strong> being developed by Christian<br />
Fraunholz, is designed to help you with this annoying task.</p> <br />
<p><a title="Der Große Rote Knopf Quellcode Generator Feature Liste" href="/red_button/features.php">Description &amp; Feature List<br /></a></p> <br />
<p> <a title="Der Große Rote Knopf Quellcode Generator" href="/red_button/">The Big Red Button Source Code Generator</a></p>  
            </div>
        </content>
        
    </entry>

</feed>
