<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042124" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042124</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Amen to that.
Even though I</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234530</link>
    <description> &lt;p&gt;Amen to that.&lt;/p&gt;
&lt;p&gt;Even though I may not be coding with the latests technology or OO PHP I am still enjoying the learning experience. I am trying to concentrate on security, I am attempting to incorporate login attempt logs so each user can see if anyone has been trying to login with their account, which I believe will not only benefit the users but me the administrator as well. I am looking for the best way to change passwords and such too, maybe the password should just be sent to the registered e-mail in plain text, or should it be re-set? And if the re-set option is chosen then maybe it should only be allowed within a time limit and on the same IP address. For example a user clicks &quot;Reset Pass&quot; a reset email is then sent to the registered email address saying you have 1 hour to click this link, using this IP address. But I believe this could cause many problems. What do you all think? Know of any interesting articles related to this?&lt;/p&gt;
&lt;p&gt;Thanks all again,&lt;br /&gt;
Relentless.&lt;/p&gt;
 </description>
     <pubDate>Sun, 26 Oct 2008 15:01:08 +0000</pubDate>
 <dc:creator>IO.Relentless</dc:creator>
 <guid isPermaLink="false">comment 1234530 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Not a problem.  Good luck</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234522</link>
    <description> &lt;p&gt;Not a problem.  Good luck with your web application.  I find coding PHP sites from scratch quite enjoyable as well as a valuable learning experience.&lt;/p&gt;
 </description>
     <pubDate>Sun, 26 Oct 2008 03:03:48 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1234522 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Excellent, thanks again 
I</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234521</link>
    <description> &lt;p&gt;Excellent, thanks again &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I will have a look at a way to implement this, need to do some googeling &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Just finished the Article comment system &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Relentless.&lt;/p&gt;
 </description>
     <pubDate>Sun, 26 Oct 2008 00:31:05 +0000</pubDate>
 <dc:creator>IO.Relentless</dc:creator>
 <guid isPermaLink="false">comment 1234521 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Glad to help .
Well...you</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234520</link>
    <description> &lt;p&gt;Glad to help &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;.&lt;/p&gt;
&lt;p&gt;Well...you are going have to store more information about the page view if you are going to tell the difference between a unique hit and a repeat hit.&lt;/p&gt;
&lt;p&gt;One option is to map their IP addresses.  This is the easiest method to implement, but it has faults.  If a page gets attention on a large campus or company network, your statistics won&#039;t show it because it all comes from the same IP.&lt;/p&gt;
&lt;p&gt;The other option is to set a cookie on the user&#039;s computer.  This takes a bit more code, and it won&#039;t work if the visitor doesn&#039;t accept cookies, but most do these days, and I think that would be the better option.  All you would have to do is store a value in a cookie that you would check for to determine if it&#039;s a repeat visit or not.&lt;/p&gt;
 </description>
     <pubDate>Sun, 26 Oct 2008 00:23:11 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1234520 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Sorted thank you! 
The only</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234519</link>
    <description> &lt;p&gt;Sorted thank you! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The only problem now is, every time the page refresh it classes it as a new read :S&lt;/p&gt;
&lt;p&gt;Any thoughts on a way to implement a better system?&lt;/p&gt;
&lt;p&gt;Thank you all sooooooooooo much! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Relentless.&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Oct 2008 23:20:02 +0000</pubDate>
 <dc:creator>IO.Relentless</dc:creator>
 <guid isPermaLink="false">comment 1234519 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Looks like your problem is</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234518</link>
    <description> &lt;p&gt;Looks like your problem is that you are using a &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html&quot;&gt;reserved word&lt;/a&gt; in your query as a column name, in this case &quot;reads&quot;.  You can do that, but you need to use the backquotes (`) around that column name, so your query would look like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;UPDATE articles SET `reads` = &amp;#039;46&amp;#039; WHERE id = &amp;#039;3&amp;#039;&lt;/code&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Oct 2008 23:00:15 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1234518 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks, I have heard of the</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234517</link>
    <description> &lt;p&gt;Thanks, I have heard of the model view controller approach before. unfortunately, I don&#039;t have that much spare time on my hands at the moment, so diving head first into OO PHP is not my best option, I will continue building my site old school for now while learning about OO PHP, and we will see that happens &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I am having some problems with this bit of code!&lt;/p&gt;
&lt;p&gt;if($_SESSION[&#039;username&#039;] != $v_author) {&lt;br /&gt;
$update_reads = $v_reads + 1;&lt;br /&gt;
$rq = &quot;UPDATE articles SET reads=&#039;$update_reads&#039; WHERE id=&#039;$v_id&#039;&quot;;&lt;br /&gt;
$rr = mysql_query($rq, $conn) or die(&quot;Could not update reads, Error: &quot; . mysql_error());&lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;I get the following error:&lt;/p&gt;
&lt;p&gt;Could not update reads, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;reads=&#039;46&#039; WHERE id=&#039;3&#039;&#039; at line 1&lt;/p&gt;
&lt;p&gt;The values are correct, it just seems that mysql_query() does not like something xD any ideas?&lt;/p&gt;
&lt;p&gt;Thank you all again,&lt;br /&gt;
Relentless.&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Oct 2008 21:10:13 +0000</pubDate>
 <dc:creator>IO.Relentless</dc:creator>
 <guid isPermaLink="false">comment 1234517 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>OO programming in my opinion</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234516</link>
    <description> &lt;p&gt;OO programming in my opinion is way better and much more organized.  You may also want to look into the &lt;a href=&quot;http://en.wikipedia.org/wiki/Model-view-controller&quot;&gt;MVC&lt;/a&gt; approach.  I always follow both of these techniques for my PHP applications, and it makes them much more manageable.&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Oct 2008 19:42:21 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1234516 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Great, thank you for the tip</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234515</link>
    <description> &lt;p&gt;Great, thank you for the tip &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;At the moment I am looking at recoding the whole site! because I have been looking at OO PHP. What are your views on this? I have done OOP in C# so have most of the methodology down. Just need to time to learn the implementation.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Relentless.&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Oct 2008 16:24:50 +0000</pubDate>
 <dc:creator>IO.Relentless</dc:creator>
 <guid isPermaLink="false">comment 1234515 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Agreed with pr0gr4mm3r here,</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/outputing-image-database#comment-1234463</link>
    <description> &lt;p&gt;Agreed with pr0gr4mm3r here, most &#039;online&#039; indicators just show whether the user has viewed a page within the last 15 minutes.&lt;/p&gt;
 </description>
     <pubDate>Wed, 22 Oct 2008 23:41:37 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1234463 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
