<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments for PHPSense.com</title> <atom:link href="http://phpsense.com/comments/feed/" rel="self" type="application/rss+xml" /><link>http://phpsense.com</link> <description>PHP Tutorials and PHP Scripts</description> <lastBuildDate>Mon, 14 Nov 2011 15:04:35 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Comment on PHP Pagination Class by jatinder</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1304</link> <dc:creator>jatinder</dc:creator> <pubDate>Mon, 14 Nov 2011 15:04:35 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1304</guid> <description>You don&#039;t need to use session to store data. You can replace POST with GET variables and then simply pass long these variables as parameters using the pagination class.</description> <content:encoded><![CDATA[<p>You don&#8217;t need to use session to store data. You can replace POST with GET variables and then simply pass long these variables as parameters using the pagination class.</p> ]]></content:encoded> </item> <item><title>Comment on PHP Pagination Class by Nirav</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1295</link> <dc:creator>Nirav</dc:creator> <pubDate>Tue, 25 Oct 2011 09:26:52 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1295</guid> <description>The script serves well for a static query. But what if I build my query using post variables from a search/filter form ? The first page will be displayed correctly but the subsequent pages would return 0 rows since the POST variables no longer exist. To solve this, I did use session but then to do a new search, every time I will have to destroy the previous session. Any inputs on this please ...?</description> <content:encoded><![CDATA[<p>The script serves well for a static query. But what if I build my query using post variables from a search/filter form ? The first page will be displayed correctly but the subsequent pages would return 0 rows since the POST variables no longer exist. To solve this, I did use session but then to do a new search, every time I will have to destroy the previous session. Any inputs on this please &#8230;?</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by Mattw350</title><link>http://phpsense.com/2006/php-login-script/#comment-1258</link> <dc:creator>Mattw350</dc:creator> <pubDate>Sun, 11 Sep 2011 00:36:06 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1258</guid> <description>Wonderful Job Mr Jatinder, ...just wondering if i could get the updated version of the script, cause I’d love to have members viewing their separate members-profile.php, rather than all registered members viewing the same member’s profile. Thanks. Awaiting your response.</description> <content:encoded><![CDATA[<p>Wonderful Job Mr Jatinder, &#8230;just wondering if i could get the updated version of the script, cause I’d love to have members viewing their separate members-profile.php, rather than all registered members viewing the same member’s profile. Thanks. Awaiting your response.</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by Mattw350</title><link>http://phpsense.com/2006/php-login-script/#comment-1257</link> <dc:creator>Mattw350</dc:creator> <pubDate>Sun, 11 Sep 2011 00:31:51 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1257</guid> <description>Thanks, it work perfectly, no more “headers already sent” sessoin error !Hey Michael Gochenour, i initially had similar problem trying to get MySQL work with it. This was what i did:On the mysql.sql file, change the line immediately after PRIMARY KEY :) TYPE=MyISAM;Change That to:) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1Then got o your Server, click on &quot;SQL&quot;, then Paste the entire code below, and click &quot;
&quot;GO&quot;#
# Table structure for table &#039;members&#039;
#CREATE TABLE `members` (
`member_id` int(11) unsigned NOT NULL auto_increment,
`firstname` varchar(100) default NULL,
`lastname` varchar(100) default NULL,
`login` varchar(100) NOT NULL default &#039;&#039;,
`passwd` varchar(32) NOT NULL default &#039;&#039;,
PRIMARY KEY  (`member_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;#
# Dumping data for table &#039;members&#039;
#INSERT INTO `members` (`member_id`, `firstname`, `lastname`, `login`, `passwd`) VALUES(&quot;1&quot;, &quot;Jatinder&quot;, &quot;Thind&quot;, &quot;phpsense&quot;, &quot;ba018360fc26e0cc2e929b8e071f052d&quot;);</description> <content:encoded><![CDATA[<p>Thanks, it work perfectly, no more “headers already sent” sessoin error !</p><p>Hey Michael Gochenour, i initially had similar problem trying to get MySQL work with it. This was what i did:</p><p>On the mysql.sql file, change the line immediately after PRIMARY KEY :</p><p>) TYPE=MyISAM;</p><p>Change That to:</p><p>) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1</p><p>Then got o your Server, click on &#8220;SQL&#8221;, then Paste the entire code below, and click &#8221;<br
/> &#8220;GO&#8221;</p><p>#<br
/> # Table structure for table &#8216;members&#8217;<br
/> #</p><p>CREATE TABLE `members` (<br
/> `member_id` int(11) unsigned NOT NULL auto_increment,<br
/> `firstname` varchar(100) default NULL,<br
/> `lastname` varchar(100) default NULL,<br
/> `login` varchar(100) NOT NULL default &#8221;,<br
/> `passwd` varchar(32) NOT NULL default &#8221;,<br
/> PRIMARY KEY  (`member_id`)<br
/> ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;</p><p>#<br
/> # Dumping data for table &#8216;members&#8217;<br
/> #</p><p>INSERT INTO `members` (`member_id`, `firstname`, `lastname`, `login`, `passwd`) VALUES(&#8220;1&#8243;, &#8220;Jatinder&#8221;, &#8220;Thind&#8221;, &#8220;phpsense&#8221;, &#8220;ba018360fc26e0cc2e929b8e071f052d&#8221;);</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by jatinder</title><link>http://phpsense.com/2006/php-login-script/#comment-1255</link> <dc:creator>jatinder</dc:creator> <pubDate>Fri, 09 Sep 2011 03:49:27 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1255</guid> <description>Michael, can post a screenshot or copy past the errors you are getting.</description> <content:encoded><![CDATA[<p>Michael, can post a screenshot or copy past the errors you are getting.</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by jatinder</title><link>http://phpsense.com/2006/php-login-script/#comment-1254</link> <dc:creator>jatinder</dc:creator> <pubDate>Fri, 09 Sep 2011 03:47:51 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1254</guid> <description>Matt, take a look at http://phpsense.com/2006/php-sessions-errors/ to know more about &quot;headers already sent&quot; sessoin error.</description> <content:encoded><![CDATA[<p>Matt, take a look at <a
href="http://phpsense.com/2006/php-sessions-errors/" rel="nofollow">http://phpsense.com/2006/php-sessions-errors/</a> to know more about &#8220;headers already sent&#8221; sessoin error.</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by Michael Gochenour</title><link>http://phpsense.com/2006/php-login-script/#comment-1253</link> <dc:creator>Michael Gochenour</dc:creator> <pubDate>Mon, 05 Sep 2011 22:35:01 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1253</guid> <description>I have installed the script, and have the login script, and the register script set up, and working. But when I try to run the SQL in the database, I get a sintex error. Not knowing anything about how to set up a database, I&#039;m lost as to how to fix it.Is it because its an older file, and I&#039;m using a new version of the MySQL program.</description> <content:encoded><![CDATA[<p>I have installed the script, and have the login script, and the register script set up, and working. But when I try to run the SQL in the database, I get a sintex error. Not knowing anything about how to set up a database, I&#8217;m lost as to how to fix it.</p><p>Is it because its an older file, and I&#8217;m using a new version of the MySQL program.</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by Matt</title><link>http://phpsense.com/2006/php-login-script/#comment-1252</link> <dc:creator>Matt</dc:creator> <pubDate>Mon, 05 Sep 2011 05:20:50 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1252</guid> <description>Mr Jatinder has been of a great help to me,  I was lucky to have come across his script, it makes everything about login, registration , creating of MSQL database easier, and i would recommend his work for php newbies. Thanks a Million times!
You deserve more than this, I wish there was a &quot;Donate&quot; button on this thread.
Just wondering if i could get the updated version of the script, cause I&#039;d love to have members viewing their separate members-profile.php, rather than all registered members viewing the same member&#039;s profile. Thanks. Awaiting your response.</description> <content:encoded><![CDATA[<p>Mr Jatinder has been of a great help to me,  I was lucky to have come across his script, it makes everything about login, registration , creating of MSQL database easier, and i would recommend his work for php newbies. Thanks a Million times!<br
/> You deserve more than this, I wish there was a &#8220;Donate&#8221; button on this thread.<br
/> Just wondering if i could get the updated version of the script, cause I&#8217;d love to have members viewing their separate members-profile.php, rather than all registered members viewing the same member&#8217;s profile. Thanks. Awaiting your response.</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by Mattw350</title><link>http://phpsense.com/2006/php-login-script/#comment-1251</link> <dc:creator>Mattw350</dc:creator> <pubDate>Sat, 03 Sep 2011 20:47:13 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1251</guid> <description>Nice work, I used the entire script on XAMPP ofline Cpanel, and it worked Perfectly. But when I tried using it in my Hostgator Cpanel, I had a session_start Warning error, which was constantly displayed on the front of my webpage (register-form.php):
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/matt/public_html/register-form.php:8) in /home/matt/public_html/register-form.php on line 98I would please like 2 know the case of this, and I&#039;d also like to know if there&#039;s a way I could redirect the error handler&#039;s messages away from the register-form.php using header(&quot;Location: errorpage.html&quot;);? Thanks !</description> <content:encoded><![CDATA[<p>Nice work, I used the entire script on XAMPP ofline Cpanel, and it worked Perfectly. But when I tried using it in my Hostgator Cpanel, I had a session_start Warning error, which was constantly displayed on the front of my webpage (register-form.php):<br
/> Warning: session_start() [function.session-start]: Cannot send session cookie &#8211; headers already sent by (output started at /home/matt/public_html/register-form.php:8) in /home/matt/public_html/register-form.php on line 98</p><p>I would please like 2 know the case of this, and I&#8217;d also like to know if there&#8217;s a way I could redirect the error handler&#8217;s messages away from the register-form.php using header(&#8220;Location: errorpage.html&#8221;);</p><p>? Thanks !</p> ]]></content:encoded> </item> <item><title>Comment on PHP Pagination Class by jatinder</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1250</link> <dc:creator>jatinder</dc:creator> <pubDate>Fri, 02 Sep 2011 16:02:59 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1250</guid> <description>Try the below code:&lt;code&gt;&lt;ul id=&quot;pagination-flickr&quot;&gt;&lt;br&gt;
&lt;li class=&quot;previous-off&quot;&gt;&lt;?php echo $pager-&gt;renderPrev();?&gt;&lt;/li&gt;&lt;br&gt;
&lt;?php echo $pager-&gt;renderNav(&#039;&lt;li&gt;&#039;, &#039;&lt;/li&gt;&#039;); ?&gt;&lt;br&gt;
&lt;li class=&quot;next&quot;&gt;&lt;?php echo $pager-&gt;renderNext();?&gt;&lt;/li&gt;&lt;br&gt;
&lt;/ul&gt;&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Try the below code:</p><p><code>&lt;ul id=&quot;pagination-flickr&quot;&gt;<br
/> &lt;li class=&quot;previous-off&quot;&gt;&lt;?php echo $pager-&gt;renderPrev();?&gt;&lt;/li&gt;<br
/> &lt;?php echo $pager-&gt;renderNav('&lt;li&gt;', '&lt;/li&gt;'); ?&gt;<br
/> &lt;li class=&quot;next&quot;&gt;&lt;?php echo $pager-&gt;renderNext();?&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;</code></p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by jatinder</title><link>http://phpsense.com/2006/php-login-script/#comment-1249</link> <dc:creator>jatinder</dc:creator> <pubDate>Fri, 02 Sep 2011 15:54:14 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1249</guid> <description>Are you sure you are storing a md5 hash of the password in the database and not plain text? Other than that I can&#039;t think of any reason for the login script to break.</description> <content:encoded><![CDATA[<p>Are you sure you are storing a md5 hash of the password in the database and not plain text? Other than that I can&#8217;t think of any reason for the login script to break.</p> ]]></content:encoded> </item> <item><title>Comment on PHP MySQL Login Script by Alawson</title><link>http://phpsense.com/2006/php-login-script/#comment-1244</link> <dc:creator>Alawson</dc:creator> <pubDate>Thu, 01 Sep 2011 16:27:12 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=5#comment-1244</guid> <description>Not sure if this is still alive or not but I try it and it doesn&#039;t work.  Database authenticates, connects to the table but it says invalid username and password when in fact it is not the incorrect username or password.  Just wondering what I could do for troubleshooting?  Thanks.</description> <content:encoded><![CDATA[<p>Not sure if this is still alive or not but I try it and it doesn&#8217;t work.  Database authenticates, connects to the table but it says invalid username and password when in fact it is not the incorrect username or password.  Just wondering what I could do for troubleshooting?  Thanks.</p> ]]></content:encoded> </item> <item><title>Comment on PHP Pagination Class by Dan Kelly</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1181</link> <dc:creator>Dan Kelly</dc:creator> <pubDate>Tue, 23 Aug 2011 20:46:29 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1181</guid> <description>Thanks for the info.. I am still not 100% sure how to do this..I am trying to get the pagination  like this tutorials specifies
http://woork.blogspot.com/2008/03/perfect-pagination-style-using-css.htmlCould you please take a look and let me know when to add the code for theBy the way Thanks so much for this tutorial.. I am gonna use this on all my sites that need pagination..Thanks, Dan</description> <content:encoded><![CDATA[<p>Thanks for the info.. I am still not 100% sure how to do this..</p><p>I am trying to get the pagination  like this tutorials specifies<br
/> <a
href="http://woork.blogspot.com/2008/03/perfect-pagination-style-using-css.html" rel="nofollow">http://woork.blogspot.com/2008/03/perfect-pagination-style-using-css.html</a></p><p>Could you please take a look and let me know when to add the code for the</p><p>By the way Thanks so much for this tutorial.. I am gonna use this on all my sites that need pagination..</p><p>Thanks, Dan</p> ]]></content:encoded> </item> <item><title>Comment on PHP Pagination Class by jatinder</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1171</link> <dc:creator>jatinder</dc:creator> <pubDate>Thu, 18 Aug 2011 05:22:32 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1171</guid> <description>Dan, the &lt;strong&gt;renderNav&lt;/strong&gt; function from the pagination class takes two optional parameters: prefix and suffix. You can pass any HTML tags through these parameters. These prefix and suffix are then wrapped around each of the page links.You can, for example, call:
&lt;code&gt;$pager-&gt;renderNav(&#039;&lt;li&gt;&#039;, &#039;&lt;/li&gt;&#039;);&lt;/code&gt;You can then apply CSS to customize the pagination links.Also take look at the source code of the &lt;strong&gt;renderFullNav&lt;/strong&gt; function. It is very simply and you will understand how this function displays all the different parts of the navigation.</description> <content:encoded><![CDATA[<p>Dan, the <strong>renderNav</strong> function from the pagination class takes two optional parameters: prefix and suffix. You can pass any HTML tags through these parameters. These prefix and suffix are then wrapped around each of the page links.</p><p>You can, for example, call:<br
/> <code>$pager-&gt;renderNav('&lt;li&gt;', '&lt;/li&gt;');</code></p><p>You can then apply CSS to customize the pagination links.</p><p>Also take look at the source code of the <strong>renderFullNav</strong> function. It is very simply and you will understand how this function displays all the different parts of the navigation.</p> ]]></content:encoded> </item> <item><title>Comment on PHP Pagination Class by Dan Kelly</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1170</link> <dc:creator>Dan Kelly</dc:creator> <pubDate>Wed, 17 Aug 2011 16:16:45 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1170</guid> <description>Is there a way to change the Pagination links to images instead? Well, maybe just customize the links..</description> <content:encoded><![CDATA[<p>Is there a way to change the Pagination links to images instead? Well, maybe just customize the links..</p> ]]></content:encoded> </item> <item><title>Comment on Prevent Duplicate Form Submission by jatinder</title><link>http://phpsense.com/2006/prevent-duplicate-form-submission/#comment-1162</link> <dc:creator>jatinder</dc:creator> <pubDate>Thu, 11 Aug 2011 16:45:31 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=7#comment-1162</guid> <description>Dan, that would be a simple matter of storing an integer (counter) in the session and incrementing it each time the form is submitted. When the counter reaches a certain value (3 in your case), we unset the FORM_SECRET from the $_SESSION array.Hopefully you can work it out from there. If not, let me know and I will see if I can update the tutorial to explain this.</description> <content:encoded><![CDATA[<p>Dan, that would be a simple matter of storing an integer (counter) in the session and incrementing it each time the form is submitted. When the counter reaches a certain value (3 in your case), we unset the FORM_SECRET from the $_SESSION array.</p><p>Hopefully you can work it out from there. If not, let me know and I will see if I can update the tutorial to explain this.</p> ]]></content:encoded> </item> <item><title>Comment on Prevent Duplicate Form Submission by Dan</title><link>http://phpsense.com/2006/prevent-duplicate-form-submission/#comment-1161</link> <dc:creator>Dan</dc:creator> <pubDate>Thu, 11 Aug 2011 13:38:01 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=7#comment-1161</guid> <description>Thanks so much for the script.Just wondering how it could be modified to allow the form to be submitted, say 3 times, and after that to throw the error?</description> <content:encoded><![CDATA[<p>Thanks so much for the script.</p><p>Just wondering how it could be modified to allow the form to be submitted, say 3 times, and after that to throw the error?</p> ]]></content:encoded> </item> <item><title>Comment on PHP Pagination Class by JanT</title><link>http://phpsense.com/2007/php-pagination-script/#comment-1159</link> <dc:creator>JanT</dc:creator> <pubDate>Mon, 08 Aug 2011 11:50:34 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=13#comment-1159</guid> <description>thank you very much, i own couple of books about php&amp;mysql and looked for this script in each of them, none contains number of pagination links option, basically most valued feature here...</description> <content:encoded><![CDATA[<p>thank you very much, i own couple of books about php&amp;mysql and looked for this script in each of them, none contains number of pagination links option, basically most valued feature here&#8230;</p> ]]></content:encoded> </item> <item><title>Comment on Sending emails in PHP &amp; email injection attacks by jatinder</title><link>http://phpsense.com/2006/php-email-injection-attacks/#comment-1156</link> <dc:creator>jatinder</dc:creator> <pubDate>Tue, 02 Aug 2011 11:39:05 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=12#comment-1156</guid> <description>This article was written way back in 2006 and moreover this article isn&#039;t about email injections in PHPMailer but a simple explanation of of email injection attacks in PHP in general.</description> <content:encoded><![CDATA[<p>This article was written way back in 2006 and moreover this article isn&#8217;t about email injections in PHPMailer but a simple explanation of of email injection attacks in PHP in general.</p> ]]></content:encoded> </item> <item><title>Comment on Sending emails in PHP &amp; email injection attacks by ANdre</title><link>http://phpsense.com/2006/php-email-injection-attacks/#comment-1154</link> <dc:creator>ANdre</dc:creator> <pubDate>Sat, 30 Jul 2011 01:30:11 +0000</pubDate> <guid
isPermaLink="false">http://67.23.245.79/~phpsense/?p=12#comment-1154</guid> <description>phpmailer recent version is 5.2 (july 2011) as of now.
It DEFINATELY not susceptible to injection attack.
Look at the source.</description> <content:encoded><![CDATA[<p>phpmailer recent version is 5.2 (july 2011) as of now.<br
/> It DEFINATELY not susceptible to injection attack.<br
/> Look at the source.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/13 queries in 0.007 seconds using disk: basic
Object Caching 447/477 objects using disk: basic
Content Delivery Network via phpsense.darshwebsolution.netdna-cdn.com

Served from: phpsense.com @ 2012-02-23 00:42:58 -->
