<?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>Комментарии: Создание миниатюр GD</title>
	<atom:link href="http://vredniy.ru/2010/02/thumbnails-ph-gd/feed/" rel="self" type="application/rss+xml" />
	<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/</link>
	<description>все о веб-программировании</description>
	<lastBuildDate>Sun, 05 Feb 2012 09:02:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Автор: shaman</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-41197</link>
		<dc:creator>shaman</dc:creator>
		<pubDate>Tue, 04 Oct 2011 12:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-41197</guid>
		<description>Ну конечно же
 $system = explode(&#039;.&#039;, $name);
Как будто в имени файла может быть только одна точка,
а если я загружаю файл с названием типа
45487874.bring.my.money.back.JPG
делим &quot;по точке&quot;
и расширение файла получаем *bring, гениально
Пересмотрите скрипт</description>
		<content:encoded><![CDATA[<p>Ну конечно же<br />
 $system = explode(&#8216;.&#8217;, $name);<br />
Как будто в имени файла может быть только одна точка,<br />
а если я загружаю файл с названием типа<br />
45487874.bring.my.money.back.JPG<br />
делим &#171;по точке&#187;<br />
и расширение файла получаем *bring, гениально<br />
Пересмотрите скрипт</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Алексей</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-38554</link>
		<dc:creator>Алексей</dc:creator>
		<pubDate>Thu, 22 Sep 2011 12:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-38554</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-2010&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Вредный:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 что-то у меня с глазами, но я, хоть убейте, не замечаю
&lt;/blockquote&gt;
3 строка:  не хватает ) кавычки закрывающей условие if</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-2010" rel="nofollow"><br />
<strong><em>Вредный:</em></strong><br />
</a><br />
 что-то у меня с глазами, но я, хоть убейте, не замечаю
</p></blockquote>
<p>3 строка:  не хватает ) кавычки закрывающей условие if</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Вредный</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-30167</link>
		<dc:creator>Вредный</dc:creator>
		<pubDate>Mon, 25 Jul 2011 10:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-30167</guid>
		<description>спасибо, вы правы, моя оплошность )</description>
		<content:encoded><![CDATA[<p>спасибо, вы правы, моя оплошность )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Coder2Two</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-30164</link>
		<dc:creator>Coder2Two</dc:creator>
		<pubDate>Mon, 25 Jul 2011 10:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-30164</guid>
		<description>if (preg_match(‘/jpg&#124;jpeg/’), $system[1])) {
 $src_img = imagecreatefromjpeg($name);
 }
if (preg_match(‘/jpg&#124;jpeg/’, $system[1])) 

&quot;лишняя&quot; скобка в коде.</description>
		<content:encoded><![CDATA[<p>if (preg_match(‘/jpg|jpeg/’), $system[1])) {<br />
 $src_img = imagecreatefromjpeg($name);<br />
 }<br />
if (preg_match(‘/jpg|jpeg/’, $system[1])) </p>
<p>&#171;лишняя&#187; скобка в коде.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Вредный</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-2010</link>
		<dc:creator>Вредный</dc:creator>
		<pubDate>Tue, 07 Sep 2010 18:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-2010</guid>
		<description>что-то у меня с глазами, но я, хоть убейте, не замечаю</description>
		<content:encoded><![CDATA[<p>что-то у меня с глазами, но я, хоть убейте, не замечаю</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Герыч</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-2009</link>
		<dc:creator>Герыч</dc:creator>
		<pubDate>Tue, 07 Sep 2010 18:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-2009</guid>
		<description>if (preg_match(&#039;/jpg&#124;jpeg/&#039;), $system[1])) {
      $src_img = imagecreatefromjpeg($name);
   }

Автор, посмотрите внимательно на код. В первом блоке в коде ошибка.</description>
		<content:encoded><![CDATA[<p>if (preg_match(&#8216;/jpg|jpeg/&#8217;), $system[1])) {<br />
      $src_img = imagecreatefromjpeg($name);<br />
   }</p>
<p>Автор, посмотрите внимательно на код. В первом блоке в коде ошибка.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Halkhog</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-271</link>
		<dc:creator>Halkhog</dc:creator>
		<pubDate>Mon, 22 Mar 2010 23:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-271</guid>
		<description>У меня возник вопрос: что за функция такая
directory(&#039;pics&#039;,  &#039;jpg,JPG,JPEG,jpeg,png,PNG&#039;);
и
ditchtn($pics, &#039;tn_&#039;);
Вопрос возник не просто так, сай выдает ошибку:
Call to undefined function directory() in</description>
		<content:encoded><![CDATA[<p>У меня возник вопрос: что за функция такая<br />
directory(&#8216;pics&#8217;,  &#8216;jpg,JPG,JPEG,jpeg,png,PNG&#8217;);<br />
и<br />
ditchtn($pics, &#8216;tn_&#8217;);<br />
Вопрос возник не просто так, сай выдает ошибку:<br />
Call to undefined function directory() in</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: webmoney за смс</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-141</link>
		<dc:creator>webmoney за смс</dc:creator>
		<pubDate>Mon, 08 Mar 2010 11:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-141</guid>
		<description>Спасибо автору блога за предоставленную информацию.</description>
		<content:encoded><![CDATA[<p>Спасибо автору блога за предоставленную информацию.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Лоликон</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-140</link>
		<dc:creator>Лоликон</dc:creator>
		<pubDate>Mon, 08 Mar 2010 02:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-140</guid>
		<description>Неплохой пост, очень интересно было посмотреть</description>
		<content:encoded><![CDATA[<p>Неплохой пост, очень интересно было посмотреть</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Виват</title>
		<link>http://vredniy.ru/2010/02/thumbnails-ph-gd/comment-page-1/#comment-139</link>
		<dc:creator>Виват</dc:creator>
		<pubDate>Sun, 07 Mar 2010 12:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=246#comment-139</guid>
		<description>Шикарно, возьму в дневник</description>
		<content:encoded><![CDATA[<p>Шикарно, возьму в дневник</p>
]]></content:encoded>
	</item>
</channel>
</rss>

