<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Wallpaper Script Forum Topic: odd problem!!!!!!!!!!!</title>
<link>http://wallpaperscript.com/forum/</link>
<description>Wallpaper Script FORUM</description>
<language>en</language>
<pubDate>Fri, 10 Feb 2012 10:14:00 +0000</pubDate>

<item>
<title>williamhill77 on "odd problem!!!!!!!!!!!"</title>
<link>http://wallpaperscript.com/forum/topic/odd-problem#post-2586</link>
<pubDate>Tue, 09 Mar 2010 07:46:35 +0000</pubDate>
<dc:creator>williamhill77</dc:creator>
<guid isPermaLink="false">2586@http://wallpaperscript.com/forum/</guid>
<description>&#60;p&#62;i want to add an image on this side but it just isnt working for me. someone told me to use  this  given link.. but i'm not able to use it in a proper manner without directions..can some one read the following link and help me with it.&#60;br /&#62;
&#38;lt;br&#60;a href=&#34;http://www.articlesbase.com/supplements-and-vitamins-articles/colon-cleanse-the-single-most-dangerous-threat-to-your-colon-1754106.html&#34;&#62;Colon Cleanse&#60;/a&#62; &#60;a href=&#34;http://ezinearticles.com/?Acai-Berry---How-I-Lost-30-Pounds-in-Under-30-Days-Using-The-Acai-Berry&#38;#38;id=1998407&#34;&#62;Acai&#60;/a&#62; &#60;a href=&#34;http://www.articlesbase.com/supplements-and-vitamins-articles/colon-cleanse-the-single-most-dangerous-threat-to-your-colon-1754106.html&#34;&#62;Colon Cleanse&#60;/a&#62; &#60;a href=&#34;http://www.buzzle.com/articles/teeth-whitening-3easy-steps-to-apply-use-and-get-cool-benefits-from-a-diy-teeth-whitening-system.html&#34;&#62;Teeth Whitening&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>mohammad_a on "odd problem!!!!!!!!!!!"</title>
<link>http://wallpaperscript.com/forum/topic/odd-problem#post-2576</link>
<pubDate>Fri, 05 Mar 2010 09:24:43 +0000</pubDate>
<dc:creator>mohammad_a</dc:creator>
<guid isPermaLink="false">2576@http://wallpaperscript.com/forum/</guid>
<description>&#60;p&#62;and same code is in line 934&#60;br /&#62;
foreach ($mainResolutions as $k=&#38;gt;$v)&#60;br /&#62;
		{&#60;br /&#62;
			$width = $v[&#34;width&#34;];&#60;br /&#62;
			$height = $v[&#34;height&#34;];&#60;br /&#62;
			if ($arr_fileData[0]&#38;lt;$width) continue;&#60;br /&#62;
			if (abs($ratio - number_format($width/$height,2))&#38;gt;0) continue;&#60;br /&#62;
			$thumbnailPath = WALLPAPERS_PATH.$file_prefix.URL_TOKEN_SEPARATOR.$width.&#34;x&#34;.$height.&#34;.jpg&#34;;&#60;br /&#62;
			@unlink($thumbnailPath);&#60;br /&#62;
			if (GENERATE_IMAGES_UPLOAD==1)&#60;br /&#62;
			{&#60;br /&#62;
				$forceResize = false;&#60;br /&#62;
				if (abs($ratio - number_format($width/$height,2))&#38;gt;0) $forceResize = true;&#60;/p&#62;
&#60;p&#62;				$resizer = new Thumbnail($fullsizePath);&#60;br /&#62;
				if(isset($resizer-&#38;gt;invalid))&#60;br /&#62;
				{&#60;br /&#62;
					$siteError-&#38;gt;add($LANG-&#38;gt;l('Error upload resize for %s',  array('p1' =&#38;gt; $sourceFile)),&#34;error&#34;);&#60;br /&#62;
					return false;&#60;br /&#62;
					//redirect();&#60;br /&#62;
				}&#60;/p&#62;
&#60;p&#62;				$resizerOut = $resizer-&#38;gt;resize($width, $height, $width, $height, &#34;#FFFFFF&#34;, $forceResize);&#60;br /&#62;
				if ($resizerOut!==false)&#60;br /&#62;
					$resizer-&#38;gt;save($thumbnailPath);&#60;br /&#62;
				else&#60;br /&#62;
				{&#60;br /&#62;
					$siteError-&#38;gt;add($LANG-&#38;gt;l('Error resize process for %s',  array('p1' =&#38;gt; $sourceFile)),&#34;error&#34;);&#60;br /&#62;
					return false;&#60;br /&#62;
				}&#60;br /&#62;
				unset($resizer);&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;			$sql = &#34;INSERT INTO &#60;code&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.&#60;/code&#62;&#60;/pre&#62;
&#60;/code&#62; SET &#60;code&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;e&#60;/code&#62;&#60;/pre&#62;
&#60;/code&#62;='&#34;.$photoId.&#34;',&#60;br /&#62;
				&#60;code&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;s&#60;/code&#62;&#60;/pre&#62;
&#60;/code&#62;='&#34;.$v[&#34;id&#34;].&#34;'&#34;;&#60;br /&#62;
			$DB-&#38;gt;query($sql);&#60;br /&#62;
			if ($v['category']==&#34;Wide&#34;) $is_wide = 1;&#60;br /&#62;
			if ($v['category']==&#34;HD&#34;) $is_hd = 1;&#60;/p&#62;
&#60;p&#62;		}
&#60;/p&#62;</description>
</item>
<item>
<title>mohammad_a on "odd problem!!!!!!!!!!!"</title>
<link>http://wallpaperscript.com/forum/topic/odd-problem#post-2574</link>
<pubDate>Fri, 05 Mar 2010 08:22:45 +0000</pubDate>
<dc:creator>mohammad_a</dc:creator>
<guid isPermaLink="false">2574@http://wallpaperscript.com/forum/</guid>
<description>&#60;p&#62;and even when i want to delete an image this code shown&#60;/p&#62;
&#60;p&#62;Warning: Invalid argument supplied for foreach() in /home/public_html/mysite.com/includes/ws.php on line 1360&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/mysite.com/includes/ws.php:1360) in /home/public_html/mysite.com/includes/php_functions.php on line 50&#60;/p&#62;
&#60;p&#62;i used &#34;//&#34; before this code in php_functions.php on line 50&#60;br /&#62;
and problem solved&#60;br /&#62;
is this a true way?&#60;/p&#62;
&#60;p&#62;this code is on line 1360&#60;br /&#62;
foreach ($mainResolutions as $k=&#38;gt;$v)&#60;br /&#62;
{&#60;br /&#62;
$width = $v[&#34;width&#34;];&#60;br /&#62;
$height = $v[&#34;height&#34;];&#60;br /&#62;
$thumbnailPath = WALLPAPERS_PATH.$file_prefix.URL_TOKEN_SEPARATOR.$width.&#34;x&#34;.$height.&#34;.jpg&#34;;&#60;br /&#62;
@unlink($thumbnailPath);&#60;br /&#62;
		}
&#60;/p&#62;</description>
</item>
<item>
<title>mohammad_a on "odd problem!!!!!!!!!!!"</title>
<link>http://wallpaperscript.com/forum/topic/odd-problem#post-2573</link>
<pubDate>Fri, 05 Mar 2010 08:18:53 +0000</pubDate>
<dc:creator>mohammad_a</dc:creator>
<guid isPermaLink="false">2573@http://wallpaperscript.com/forum/</guid>
<description>&#60;p&#62;when i want to upload an image from my wallpaperscrip&#60;br /&#62;
this code shown&#60;br /&#62;
Warning: Invalid argument supplied for foreach() in /home/public_html/mysite.com/includes/ws.php  on line 934&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/mysite.com/includes/ws.php:934) in /home/chatcom/public_html/mysite.com/includes/php_functions.php on line 50&#60;/p&#62;
&#60;p&#62;what should i do?
&#60;/p&#62;</description>
</item>

</channel>
</rss>

