<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by jg71</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Tue, 23 Jun 2026 14:31:27 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>issue cookie to the browser</title>
            <link>http://forum.lowyat.net/topic/1181513</link>
            <description>attacker can issue cookie with fixed session id to the browser by using these 3 ways:&lt;br /&gt;&lt;br /&gt;A. using a client-side script that sets a cookie on the browser; &lt;br /&gt;&lt;br /&gt;    like: &lt;br /&gt;    &lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;    http&amp;#58;//online.worldbank.com/&amp;#60;script&amp;#62;document.cookie=&amp;#34;sessionid=1234&amp;#34;;&amp;#60;/script&amp;#62;.idc &lt;br /&gt;    &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;    i just confuse, if the link didn&amp;#39;t accept any user input from &amp;#036;_GET   &lt;br /&gt;    method( e.g: &lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;http&amp;#58;//online.worldbank.com?user_input=&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;),&lt;br /&gt;    the above &amp;#60;script&amp;gt; can take effect or not?&lt;br /&gt;&lt;br /&gt;B. using the HTML &amp;lt;META&amp;gt; tag with Set-Cookie attribute; &lt;br /&gt;    &lt;br /&gt;    like: &lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;    http&amp;#58;//online.worldbank.com/&amp;#60;meta%20http-equiv=Set-Cookie%20c &lt;br /&gt;ontent=&amp;#34;sessionid=1234;%20Expires=Friday,%201-Jan-2010%2000&amp;#58;0 &lt;br /&gt;0&amp;#58;00%20GMT&amp;#34;&amp;#62;.idc &lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;    similarly, if &lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;http&amp;#58;//online.worldbank.com/&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt; didn&amp;#39;t have any variable to accept user input like case A, then this meta tag &lt;br /&gt;    injection can success or not?&lt;br /&gt;&lt;br /&gt;C. using the Set-Cookie HTTP response header. &lt;br /&gt;&lt;br /&gt;    how to prevent it?&lt;br /&gt;&lt;br /&gt;Edit&lt;br /&gt;************&lt;br /&gt;i try to append &amp;#60;script&amp;gt;document.cookie=&amp;quot;sessionid=1234&amp;quot;;&amp;lt;/script&amp;gt; at the back of my site link that not intend to accept any &amp;#036;_GET input, then my page&amp;#39;s images just gone, i try to upload the backup file but still the same, can&amp;#39;t link back my images... &lt;!--emo&amp;:cry:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/cry.gif' border='0' style='vertical-align:middle' alt='cry.gif' /&gt;&lt;!--endemo--&gt;  help me please&amp;#33;</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Fri, 02 Oct 2009 17:04:09 +0800</pubDate>
        </item>
        <item>
            <title>urlencode()</title>
            <link>http://forum.lowyat.net/topic/1180613</link>
            <description>i came across urlencode() this function online...and know that it&amp;#39;s used to encode URL...&lt;br /&gt;&lt;br /&gt;can i know what&amp;#39;s the purpose of doing so? for security purpose, so that people can&amp;#39;t see what we actually pass through the URL?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Thu, 01 Oct 2009 20:40:58 +0800</pubDate>
        </item>
        <item>
            <title>store temporary data without session</title>
            <link>http://forum.lowyat.net/topic/1179650</link>
            <description>my site will force the user to enable their browser cookie if they want to login to their account...&lt;br /&gt;&lt;br /&gt;but, user still able to browse some other pages without login...for these pages, i need to store some temporary data, but i don&amp;#39;t want to use session, then how? (the session will only be created after user login their account)</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Wed, 30 Sep 2009 20:44:37 +0800</pubDate>
        </item>
        <item>
            <title>session security</title>
            <link>http://forum.lowyat.net/topic/1170369</link>
            <description>i have read about session security from a few tutorials...and found this&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;By default, the unique identifier that the server gives the browser is named PHPSESSID. This variable is stored on the client in either a URL, or a cookie. PHP first tries to set a cookie. If a browser does not accept cookies, PHP will append PHPSESSID to all URLs. &lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;currently, in dealing with session, i&amp;#39;m only use session_start() in my website without any other code, so if according to the above explanation, my session id is saved in cookie? how can i confirm it? i try to disable the cookie in my browser, but didn&amp;#39;t see that any session id appended in the URL...can anyone please explain this for me?&lt;br /&gt;&lt;br /&gt;thx&amp;#33;</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Tue, 22 Sep 2009 00:24:48 +0800</pubDate>
        </item>
        <item>
            <title>question about http header</title>
            <link>http://forum.lowyat.net/topic/1164429</link>
            <description>can anyone guide me to understand what http header is? this is what i found online&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;HTTP Headers form the core of an HTTP request, and are very important in an HTTP response. They define various characteristics of the data that is requested or the data that has been provided. The headers are separated from the request or response body by a blank line. HTTP headers can be near-arbitrary strings, but only some are commonly understood.&lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;but, still not understand...&lt;br /&gt;&lt;br /&gt;this is generated automatically? and how can we see it?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Tue, 15 Sep 2009 16:17:51 +0800</pubDate>
        </item>
        <item>
            <title>email injection attack</title>
            <link>http://forum.lowyat.net/topic/1163508</link>
            <description>i have read some tutorials about email injection attack...and found some points...&lt;br /&gt;can anyone please confirm these points for me...?&lt;br /&gt;&lt;br /&gt;1. it&amp;#39;s perform through site provided form that send email, but not the email that the application send internally through hard code?&lt;br /&gt;&lt;br /&gt;2. to prevent it, just to validate the form email address field entered by user, to make sure it contains no newlines (&amp;#092;n) and carriage returns (&amp;#092;r)?&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;if &amp;#40; ereg&amp;#40; &amp;#34;&amp;#91;&amp;#092;r&amp;#092;n&amp;#93;&amp;#34;, &amp;#036;name &amp;#41; || ereg&amp;#40; &amp;#34;&amp;#91;&amp;#092;r&amp;#092;n&amp;#93;&amp;#34;, &amp;#036;email &amp;#41; &amp;#41; {&lt;br /&gt;&lt;br /&gt;	&amp;#91;... direct user to an error page and quit ...&amp;#93;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&amp;#036;name is user name, &amp;#036;email is user email address entered by user in the form...</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Mon, 14 Sep 2009 19:42:49 +0800</pubDate>
        </item>
        <item>
            <title>opinion for xss attack</title>
            <link>http://forum.lowyat.net/topic/1157027</link>
            <description>before this, i read about xss attack from a security tutorial, there is only a simple description about this attack...&lt;br /&gt;&lt;br /&gt;so, i thought it&amp;#39;s just easy to prevent it with htmlentities()...&lt;br /&gt;&lt;br /&gt;but, i just came across a complicated description of this xss attack again from another site...&lt;br /&gt;&lt;br /&gt;so, i just wonder is it enough to use only htmlentities() to deal with this xss attack?&lt;br /&gt;&lt;br /&gt;hope experts and the experienced one here can give me some suggestions and opinions, thx&amp;#33;</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Tue, 08 Sep 2009 22:28:54 +0800</pubDate>
        </item>
        <item>
            <title>phpinfo()</title>
            <link>http://forum.lowyat.net/topic/1150069</link>
            <description>when i execute &amp;lt;?php phpinfo() ?&amp;gt; and check my phpinfo()...&lt;br /&gt;&lt;br /&gt;i found there are two columns for each directive, which are local value and master value...&lt;br /&gt;&lt;br /&gt;can i know what&amp;#39;s the different between both?&lt;br /&gt;if i set those directives in my .htaccess, both of the columns must get the value i set or only the local value column will get the effect?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Wed, 02 Sep 2009 14:19:35 +0800</pubDate>
        </item>
        <item>
            <title>saving data with mysql_real_escape_string()</title>
            <link>http://forum.lowyat.net/topic/1144023</link>
            <description>let&amp;#39;s say, my user input a variable &amp;#036;_POST[&amp;#39;&amp;#036;user_name&amp;#39;], when i want to insert it into my database, i&amp;#39;ll apply mysql_real_escape_string() on it, then save into database...&lt;br /&gt;&lt;br /&gt;later, i need to retrieve the same data from database...then want to save it into another table in my database, i would like to know i need to apply mysql_real_escape_string() again on it or not?&lt;br /&gt;&lt;br /&gt;thx&amp;#33;</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Thu, 27 Aug 2009 12:43:40 +0800</pubDate>
        </item>
        <item>
            <title>compare mysql_real_escape_string() value</title>
            <link>http://forum.lowyat.net/topic/1143224</link>
            <description>when i use mysql_real_escape_string() on a variable like&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#036;_SESSION&amp;#91;&amp;#39;add_name&amp;#39;&amp;#93; = mysql_real_escape_string&amp;#40;&amp;#036;_POST&amp;#91;&amp;#39;register_name&amp;#39;&amp;#93;&amp;#41;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;if &amp;#036;_SESSION[&amp;#39;add_name&amp;#39;] actual value is &amp;quot;back&amp;#092;slash&amp;quot;...&lt;br /&gt;&lt;br /&gt;when i apply mysql_real_escape_string() on it, then &amp;#036;_SESSION[&amp;#39;add_name&amp;#39;] will become &amp;quot;back&amp;#092;&amp;#092;slash&amp;quot;...&lt;br /&gt;&lt;br /&gt;so if i want to compare &amp;#036;_SESSION[&amp;#39;add_name&amp;#39;] with its actual value, which is &amp;quot;back&amp;#092;slash&amp;quot; then i&amp;#39;ll get NOT SAME, right? &lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;if&amp;#40;&amp;#036;_SESSION&amp;#91;&amp;#39;add_name&amp;#39;&amp;#93;==&amp;#34;back&amp;#092;slash&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; echo &amp;#34;it&amp;#39;s same variable&amp;#34;;&lt;br /&gt;else&lt;br /&gt; &amp;nbsp; echo &amp;#34;there are different&amp;#34;; // this will be output&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;how can i solve this problem as both actually is the same value...?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Wed, 26 Aug 2009 16:51:50 +0800</pubDate>
        </item>
        <item>
            <title>htmlentities() used in email sent</title>
            <link>http://forum.lowyat.net/topic/1142372</link>
            <description>hi, i use htmlentities() in an email sent to user for the confirmation of registration...&lt;br /&gt;&lt;br /&gt;for the user name and user email input by an user, i apply htmlentities() like&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#036;myuser = htmlentities&amp;#40;&amp;#036;user&amp;#41;;&lt;br /&gt;&amp;#036;useremail = htmlentities&amp;#40;&amp;#036;uemail&amp;#41;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;then this two variables are used to display in an email sent to the user, like&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#036;msg=&amp;#34;&amp;#60;table&amp;#62;&amp;#60;tr&amp;#62;&amp;#60;td&amp;#62;&amp;#34;;&lt;br /&gt;&amp;#036;msg.=&amp;#34;Dear &amp;#036;myuser,&amp;#34;;&lt;br /&gt;&amp;#036;msg.=&amp;#34;bla bla bla&amp;#34;;&lt;br /&gt;&amp;#58;&lt;br /&gt;&amp;#58;&lt;br /&gt;&amp;#036;msg.=&amp;#34;&amp;#60;a href=&amp;#39;http&amp;#58;//www.mysite.com/register.php?sentemail=&amp;#036;useremail&amp;amp;key=&amp;#036;ukey&amp;#39;&amp;#62;activate link &amp;#60;/a&amp;#62;&amp;#34;;&lt;br /&gt;&amp;#58;&lt;br /&gt;&amp;#58;&lt;br /&gt;&amp;#036;msg.=&amp;#34;please copy and paste the following link to your browser.&amp;#60;br&amp;#62;&amp;#60;br&amp;#62;&amp;#34;;&lt;br /&gt;&amp;#036;msg.=&amp;#34;http&amp;#58;//www.mysite.com/register.php?sentemail=&amp;#036;useremail&amp;amp;key=&amp;#036;ukey&amp;#34;;&lt;br /&gt;&amp;#58;&lt;br /&gt;&amp;#58;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;so, any problem i use htmlentities() in the variable display and the activate link? i tested it and found it works normally, but if really got xss attack in that two variables, what will going on to my email? will create any error?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Tue, 25 Aug 2009 22:14:38 +0800</pubDate>
        </item>
        <item>
            <title>virus and php file</title>
            <link>http://forum.lowyat.net/topic/1141677</link>
            <description>hi, my pc is infected virus recently, so i would like to know whether my php source file will be infected too, how should i do, please?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Tue, 25 Aug 2009 10:34:23 +0800</pubDate>
        </item>
        <item>
            <title>question about this code</title>
            <link>http://forum.lowyat.net/topic/1141226</link>
            <description>for the following code&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#036;SQLquery = &amp;#39;START TRANSACTION&amp;#39;;&lt;br /&gt;&amp;#036;result = mysql_query&amp;#40;&amp;#036;SQLquery&amp;#41;;&lt;br /&gt;&amp;#036;SQLquery = &amp;#39;UPDATE table SET column=1 WHERE type=2&amp;#39;;&lt;br /&gt;&amp;#036;result = mysql_query&amp;#40;&amp;#036;SQLquery&amp;#41;;&lt;br /&gt;if &amp;#40;&amp;#33;&amp;#036;result&amp;#41; {&lt;br /&gt;   &amp;#036;SQLquery = &amp;#39;ROLLBACK&amp;#39;;&lt;br /&gt;  &amp;#036;result = mysql_query&amp;#40;&amp;#036;SQLquery&amp;#41;;&lt;br /&gt;} else {&lt;br /&gt;   &amp;#036;SQLquery = &amp;#39;COMMIT&amp;#39;;&lt;br /&gt;   &amp;#036;result = mysql_query&amp;#40;&amp;#036;SQLquery&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;is that the &lt;span style='color:blue'&gt;&amp;#39;START TRANSACTION&amp;#39;&lt;/span&gt; will make the autocommit  to off?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Mon, 24 Aug 2009 22:07:14 +0800</pubDate>
        </item>
        <item>
            <title>hosting disk space and databases</title>
            <link>http://forum.lowyat.net/topic/1135365</link>
            <description>hi, i&amp;#39;m a newbie in web hosting...&lt;br /&gt;&lt;br /&gt;recently, i checked on some web hosting package and found some stated their package that has XXGB and unlimited databases...&lt;br /&gt;&lt;br /&gt;what it meant by unlimited databases here? &lt;br /&gt;can create as much databases as we want? but how about the space? unlimited too?&lt;br /&gt;or the database has unlimited storage? &lt;br /&gt;is this unlimited database related with the disk space? i meant let&amp;#39;s say it has 50MB disk space and unlimited databases, is that the database storage can exceed 50MB?</description>
            <author>jg71</author>
            <category>Content Creators, Blogmasters &amp;amp; Webmasters</category>
            <pubDate>Wed, 19 Aug 2009 11:09:08 +0800</pubDate>
        </item>
        <item>
            <title>error handler</title>
            <link>http://forum.lowyat.net/topic/1131466</link>
            <description>for a php website, the error handler normally is needed for code that involve database access...&lt;br /&gt;i would like to know in what case else the error handler is needed too?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Sat, 15 Aug 2009 20:48:59 +0800</pubDate>
        </item>
        <item>
            <title>simple website</title>
            <link>http://forum.lowyat.net/topic/1128966</link>
            <description>i would like to know for a very simple website that&amp;#39;s plainly display information and pictures, without using any php, asp...script, will it be hacked and in what way?</description>
            <author>jg71</author>
            <category>Content Creators, Blogmasters &amp;amp; Webmasters</category>
            <pubDate>Thu, 13 Aug 2009 16:00:42 +0800</pubDate>
        </item>
        <item>
            <title>&amp;#036;_GET and isset()</title>
            <link>http://forum.lowyat.net/topic/1124322</link>
            <description>in the following code, is the mysql_real_escape_string() needed? or can just ignore it?&lt;br /&gt;&lt;br /&gt;if(isset(mysql_real_escape_string(&amp;#036;_GET[&amp;#39;getdata&amp;#39;]))){&lt;br /&gt;&lt;br /&gt;}</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Sun, 09 Aug 2009 18:09:20 +0800</pubDate>
        </item>
        <item>
            <title>single quote in the variable</title>
            <link>http://forum.lowyat.net/topic/1123615</link>
            <description>i&amp;#39;m always use &amp;#036;_SESSION and &amp;#036;_GET variable in my php website, so the proper variable is like this&lt;br /&gt;&lt;br /&gt;&amp;#036;_SESSION[&lt;span style='color:red'&gt;&amp;#39;userName&amp;#39;&lt;/span&gt;]&lt;br /&gt;&amp;#036;_GET[&amp;#39;getdata&amp;#39;]&lt;br /&gt;&lt;br /&gt;which single quote is needed to enclose the variable name, but for the case when they are used in sql query, the single quote must be ignored like below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mysql_query(&amp;quot;SELECT * FROM mytable WHERE user_name=&amp;#39;&amp;#036;_SESSION[&lt;span style='color:red'&gt;userName&lt;/span&gt;]&amp;#39;&amp;quot;)&lt;br /&gt;&lt;br /&gt;i would like to know is this a correct way to do it? or i need to assign the session variable to another variable, like &lt;br /&gt;&lt;br /&gt;assignedvar = &amp;#036;_SESSION[&amp;#39;userName&amp;#39;];&lt;br /&gt;&lt;br /&gt;mysql_query(&amp;quot;SELECT * FROM mytable WHERE user_name=&amp;#39;assignedvar&amp;#39;&amp;quot;);</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Sat, 08 Aug 2009 21:17:15 +0800</pubDate>
        </item>
        <item>
            <title>problem with htmlentities()</title>
            <link>http://forum.lowyat.net/topic/1114671</link>
            <description>to prevent XSS attack, i use htmlentities() to display user input...&lt;br /&gt;&lt;br /&gt;but, i found there is a problem here...&lt;br /&gt;&lt;br /&gt;let say, i have a textarea to get user input, and the user key in:&lt;br /&gt;&lt;br /&gt;my test 1,&lt;br /&gt;my test again 2...&lt;br /&gt;then test 3&lt;br /&gt;&lt;br /&gt;whenever i want to redisplay this input, i&amp;#39;ll use htmlentities()...but, this is what i get:&lt;br /&gt;&lt;br /&gt;my test 1,&amp;lt;br /&amp;gt;&lt;br /&gt;my test again 2...&amp;lt;br /&amp;gt;&lt;br /&gt;then test 3&lt;br /&gt;&lt;br /&gt;so, how can i solve this problem? don&amp;#39;t let the &amp;lt;br /&amp;gt; being output...</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Fri, 31 Jul 2009 15:25:47 +0800</pubDate>
        </item>
        <item>
            <title>mysql_real_escape_string()</title>
            <link>http://forum.lowyat.net/topic/1113820</link>
            <description>my code work fine, until i add mysql_real_escape_string() for my user inputs and get all the warning like this:&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user &amp;#39;apache&amp;#39;@&amp;#39;localhost&amp;#39; (using password: NO) in /home/mysite/domains/mysite.com/public_html/phpm/mypage.php on line 157&lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;line 157 is the line that i add mysql_real_escape_string() for my user input...&lt;br /&gt;&lt;br /&gt;so, what error i have made here?</description>
            <author>jg71</author>
            <category>Codemasters</category>
            <pubDate>Thu, 30 Jul 2009 18:20:32 +0800</pubDate>
        </item>
    </channel>
</rss>
