<?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 </title>
	<atom:link href="http://www.php-opensource.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-opensource.com</link>
	<description>A blog related to web development,php,mysql and open source tools</description>
	<lastBuildDate>Tue, 27 Jul 2010 07:53:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on PHP file coding by narayanvj</title>
		<link>http://www.php-opensource.com/2010/07/277/comment-page-1/#comment-15</link>
		<dc:creator>narayanvj</dc:creator>
		<pubDate>Tue, 27 Jul 2010 07:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=277#comment-15</guid>
		<description>Then you want to upload the file and open there immediately...

$uploads_dir = ‘/mysite/uploads’; // this path u can change
if(is_uploaded_file($_FILES[&#039;picture&#039;][&#039;tmp_name&#039;]))
{
$tmp_name = $_FILES[&quot;picture&quot;][&quot;tmp_name&quot;];
$name = $_FILES[&quot;picture&quot;][&quot;name&quot;];
$path = $uploads.”/”.$name;
move_uploaded_file($tmp_name, $path);
//here you can use hyperlink to open the file like below
echo &quot;&lt;br/&gt;Click to open the file : &lt;a href=&#039;$path&#039; rel=&quot;nofollow&quot;&gt;&lt;b&gt;$name&lt;/b&gt;&lt;/a&gt;&quot;;
}</description>
		<content:encoded><![CDATA[<p>Then you want to upload the file and open there immediately&#8230;</p>
<p>$uploads_dir = ‘/mysite/uploads’; // this path u can change<br />
if(is_uploaded_file($_FILES['picture']['tmp_name']))<br />
{<br />
$tmp_name = $_FILES["picture"]["tmp_name"];<br />
$name = $_FILES["picture"]["name"];<br />
$path = $uploads.”/”.$name;<br />
move_uploaded_file($tmp_name, $path);<br />
//here you can use hyperlink to open the file like below<br />
echo &#8220;<br />Click to open the file : <a href='$path' rel="nofollow"><b>$name</b></a>&#8220;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP file coding by Rameshwar Bethi</title>
		<link>http://www.php-opensource.com/2010/07/277/comment-page-1/#comment-14</link>
		<dc:creator>Rameshwar Bethi</dc:creator>
		<pubDate>Tue, 27 Jul 2010 07:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=277#comment-14</guid>
		<description>thanks for ur suggestion but i want the answer without storing in the database.</description>
		<content:encoded><![CDATA[<p>thanks for ur suggestion but i want the answer without storing in the database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP file coding by narayanvj</title>
		<link>http://www.php-opensource.com/2010/07/277/comment-page-1/#comment-13</link>
		<dc:creator>narayanvj</dc:creator>
		<pubDate>Tue, 27 Jul 2010 07:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=277#comment-13</guid>
		<description>If you uploaded a file and stored in a folder, You could save that path, in database table.
You might have used - move_uploaded_file() to store in folder.
what ever the path you used in &#039;move_uploaded_file&#039; , that can be stored in database table.
ex:
Assume that your INPUT FILE name is &#039;picture&#039;.

$uploads_dir = &#039;/mysite/uploads&#039;;
if (is_uploaded_file($_FILES[&#039;picture&#039;][&#039;tmp_name&#039;])) 
{
    $tmp_name = $_FILES[&quot;picture&quot;][&quot;tmp_name&quot;];
    $name = $_FILES[&quot;pictures&quot;][&quot;name&quot;];
    $path = $uploads.&quot;/&quot;.$name;
    move_uploaded_file($tmp_name, $path);
    // this $path can be stored in database table, to open the file further
}</description>
		<content:encoded><![CDATA[<p>If you uploaded a file and stored in a folder, You could save that path, in database table.<br />
You might have used &#8211; move_uploaded_file() to store in folder.<br />
what ever the path you used in &#8216;move_uploaded_file&#8217; , that can be stored in database table.<br />
ex:<br />
Assume that your INPUT FILE name is &#8216;picture&#8217;.</p>
<p>$uploads_dir = &#8216;/mysite/uploads&#8217;;<br />
if (is_uploaded_file($_FILES['picture']['tmp_name']))<br />
{<br />
    $tmp_name = $_FILES["picture"]["tmp_name"];<br />
    $name = $_FILES["pictures"]["name"];<br />
    $path = $uploads.&#8221;/&#8221;.$name;<br />
    move_uploaded_file($tmp_name, $path);<br />
    // this $path can be stored in database table, to open the file further<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pagination in PHP by Ram</title>
		<link>http://www.php-opensource.com/2010/07/pagination-in-php/comment-page-1/#comment-11</link>
		<dc:creator>Ram</dc:creator>
		<pubDate>Sat, 24 Jul 2010 10:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=269#comment-11</guid>
		<description>Thats really amazing. Thanks for the tutorial.</description>
		<content:encoded><![CDATA[<p>Thats really amazing. Thanks for the tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rounded Corners in Internet Explorer Using JQuery by narayanvj</title>
		<link>http://www.php-opensource.com/2010/07/rounded-corners-in-internet-explorer-using-jquery/comment-page-1/#comment-9</link>
		<dc:creator>narayanvj</dc:creator>
		<pubDate>Fri, 16 Jul 2010 16:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=205#comment-9</guid>
		<description>thank you Ram,this solution helped me a lot. Looking for such good articles from you.</description>
		<content:encoded><![CDATA[<p>thank you Ram,this solution helped me a lot. Looking for such good articles from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drag &amp; Drop with PHP &amp; jQuery by Ram</title>
		<link>http://www.php-opensource.com/2010/07/drag-drop-with-php-jquery/comment-page-1/#comment-8</link>
		<dc:creator>Ram</dc:creator>
		<pubDate>Sun, 11 Jul 2010 15:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=204#comment-8</guid>
		<description>Hey Saikamal,
Thank you for providing this!
I’m looking to use this in part of a photo list reordering admin area for a client.
Cheers!</description>
		<content:encoded><![CDATA[<p>Hey Saikamal,<br />
Thank you for providing this!<br />
I’m looking to use this in part of a photo list reordering admin area for a client.<br />
Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Plugins For A Better Photo Gallery And Slideshow by saikamal</title>
		<link>http://www.php-opensource.com/2010/07/183/comment-page-1/#comment-7</link>
		<dc:creator>saikamal</dc:creator>
		<pubDate>Wed, 07 Jul 2010 11:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=183#comment-7</guid>
		<description>Hi narayan,

Thank you! 

Your article helped a lot.

Keep posting good articles like this.</description>
		<content:encoded><![CDATA[<p>Hi narayan,</p>
<p>Thank you! </p>
<p>Your article helped a lot.</p>
<p>Keep posting good articles like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on mysql query by prasad</title>
		<link>http://www.php-opensource.com/2010/07/211/comment-page-1/#comment-6</link>
		<dc:creator>prasad</dc:creator>
		<pubDate>Wed, 07 Jul 2010 11:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=211#comment-6</guid>
		<description>Hello hairsh,

Here is the query can works for u.

select mra.userid,mca.categoryname from mdl_role_assignments mra,mdl_context mc,mdl_course_category mcc 
where mra.contextid=mc.id and mc.instanceid=mcc.id</description>
		<content:encoded><![CDATA[<p>Hello hairsh,</p>
<p>Here is the query can works for u.</p>
<p>select mra.userid,mca.categoryname from mdl_role_assignments mra,mdl_context mc,mdl_course_category mcc<br />
where mra.contextid=mc.id and mc.instanceid=mcc.id</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Email validation by sravanthi</title>
		<link>http://www.php-opensource.com/2009/09/learn-new/comment-page-1/#comment-5</link>
		<dc:creator>sravanthi</dc:creator>
		<pubDate>Thu, 29 Oct 2009 05:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=23#comment-5</guid>
		<description>this code is really helped for me 
thank u</description>
		<content:encoded><![CDATA[<p>this code is really helped for me<br />
thank u</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Search Engine by vikram</title>
		<link>http://www.php-opensource.com/2009/09/google-search-engine/comment-page-1/#comment-4</link>
		<dc:creator>vikram</dc:creator>
		<pubDate>Wed, 28 Oct 2009 11:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-opensource.com/?p=56#comment-4</guid>
		<description>thank u for gaining me the information about google search engine</description>
		<content:encoded><![CDATA[<p>thank u for gaining me the information about google search engine</p>
]]></content:encoded>
	</item>
</channel>
</rss>

