<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1077342317197913028</id><updated>2011-12-28T18:59:07.836+02:00</updated><category term='session headers'/><category term='session cache limiter'/><category term='turn on php errors'/><category term='not a function'/><category term='javascript'/><category term='month'/><category term='news'/><category term='headers'/><category term='concatenation'/><category term='substr_replace'/><category term='ini_set'/><category term='str'/><category term='regexp'/><category term='continue on next line'/><category term='export'/><category term='javascript error'/><category term='WinFileCache'/><category term='date'/><category term='query'/><category term='match'/><category term='asp error reporting'/><category term='form'/><category term='concatenate'/><category term='string'/><category term='submit'/><category term='queries'/><category term='mysql update'/><category term='download'/><category term='excel'/><category term='frames'/><category term='php page'/><category term='update from excel'/><category term='classic asp'/><category term='function'/><category term='script'/><category term='dwscripts'/><category term='top'/><category term='group'/><category term='interisting stories'/><category term='code'/><category term='headers already sent'/><category term='csv'/><category term='config file'/><category term='How to group by a datetime field in mysql'/><category term='newline'/><category term='fwrite'/><category term='update'/><category term='days'/><category term='asp'/><category term='scripting'/><category term='backslash'/><category term='mysql'/><category term='group by'/><category term='to_date'/><category term='number of days'/><category term='php'/><category term='programming'/><category term='top frame'/><category term='next line'/><category term='curdate'/><category term='fopen'/><category term='unterminated string constant'/><category term='force'/><category term='group by datetime'/><category term='php error reporting'/><category term='Dreamweaver'/><category term='scie/tech'/><category term='replace'/><category term='databases'/><category term='generate sql'/><category term='text'/><category term='substr'/><category term='form submit error'/><category term='sql'/><category term='php insert string'/><category term='html'/><category term='custom error page'/><category term='session'/><category term='search'/><category term='php string'/><category term='dev'/><category term='regular expressions'/><category term='datetime'/><category term='translators were not loaded'/><category term='frame'/><category term='date difference'/><category term='error'/><category term='php erros'/><category term='file_get_contents'/><category term='session cache'/><title type='text'>Blessed Tabvirwa</title><subtitle type='html'>welcome to my home in cyberspace, ....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-4261384478241916957</id><published>2011-11-30T08:23:00.002+02:00</published><updated>2011-11-30T08:30:38.160+02:00</updated><title type='text'>Force SSL/https using .htaccess and mod_rewrite</title><content type='html'>I recently had to update a client's website to force the use of https on their site initially they wanted it for just a subcetion of the website and then later on they decided they wanted it for the whole site. Fortunately i found this useful htaccess/mod_rewrite tip off the web fairly quickly.&lt;br /&gt;&lt;br /&gt;1. For a subsection of the website (assuming this is in its own folder) use the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;RewriteEngine On &lt;br /&gt;RewriteCond %{SERVER_PORT} 80 &lt;br /&gt;RewriteCond %{REQUEST_URI} somefolder &lt;br /&gt;RewriteRule ^(.*)$ https://www.domain.com/somefolder/$1 [R,L]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;be sure to place the htaccess file inside the respective subfolder&lt;br /&gt;&lt;br /&gt;2. For the whole website, use the following:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;RewriteEngine On &lt;br /&gt;RewriteCond %{SERVER_PORT} 80 &lt;br /&gt;RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;make sure to place the htaccess file in the website's root folder&lt;br /&gt;&lt;br /&gt;Hope this helps someone as it did me. :)&lt;br /&gt;&lt;br /&gt;Till next time, happy coding.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-4261384478241916957?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/4261384478241916957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2011/11/force-sslhttps-using-htaccess-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/4261384478241916957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/4261384478241916957'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2011/11/force-sslhttps-using-htaccess-and.html' title='Force SSL/https using .htaccess and mod_rewrite'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-4422034050339156634</id><published>2011-10-21T08:51:00.002+02:00</published><updated>2011-10-21T09:10:14.822+02:00</updated><title type='text'>Calling a php script from within java</title><content type='html'>Recently i worked on a project that required me to modify an existing java app inline with changes in the API through which the java system communicated with a service provider's business logic.&lt;br /&gt;&lt;br /&gt;After weeks of trying to get the Java to communicate with the new web service, and not wanting to change anything else inside the java program except the web service client bit, which i could get to work (due to issues i did not have time to further investigate :)). I therefore decided to write the client in PHP, using NuSoap, and then simply call the NuSoap client from within java which worked out much easier than i expected.&lt;br /&gt;&lt;br /&gt;All i needed from the client was the response XML, which would then be handled using preexisting java code so below is extracts from the java program.&lt;br /&gt;&lt;br /&gt;[CODE]&lt;br /&gt;  try&lt;br /&gt;  {&lt;br /&gt;     URL phpClient = new URL("my php url here");&lt;br /&gt;&lt;br /&gt;        &lt;br /&gt;    try{&lt;br /&gt;      &lt;br /&gt;          URLConnection yc = phpClient.openConnection();    &lt;br /&gt;&lt;br /&gt;          BufferedReader in = new BufferedReader(&lt;br /&gt;                                  new InputStreamReader(&lt;br /&gt;                                  yc.getInputStream()));&lt;br /&gt;                                                          &lt;br /&gt;          String inputLine;&lt;br /&gt;    Integer count = 1;&lt;br /&gt;          while ((inputLine = in.readLine()) != null) {&lt;br /&gt;            this.result += inputLine;            &lt;br /&gt;          }&lt;br /&gt;                        &lt;br /&gt;          in.close();&lt;br /&gt;          } catch(IOException e){&lt;br /&gt;           System.out.println(" web php/service error " + e.toString());&lt;br /&gt;          }&lt;br /&gt;  } catch(MalformedURLException nameOfTheException){&lt;br /&gt;         //&lt;br /&gt;  }&lt;br /&gt;[/CODE]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-4422034050339156634?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/4422034050339156634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2011/10/calling-php-script-from-within-java.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/4422034050339156634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/4422034050339156634'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2011/10/calling-php-script-from-within-java.html' title='Calling a php script from within java'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-2162882158297812361</id><published>2011-02-28T11:12:00.002+02:00</published><updated>2011-02-28T11:16:52.317+02:00</updated><title type='text'>Deleting Duplicate Rows in a MySQL Database</title><content type='html'>Assuming the following bad table design:&lt;br /&gt;CREATE TABLE bad_table2 (&lt;br /&gt;id INT NOT NULL UNIQUE AUTO_INCREMENT,&lt;br /&gt;name VARCHAR(20) NOT NULL&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;INSERT INTO bad_table2(id,name) VALUES&lt;br /&gt;(1,'Things Fall Apart'),&lt;br /&gt;(2,'Things Fall Apart'),&lt;br /&gt;(3,'The Famished Road'),&lt;br /&gt;(4,'Things Fall Apart'),&lt;br /&gt;(5,'The Famished Road'),&lt;br /&gt;(6,'Thirteen cents'),&lt;br /&gt;(7,'Thirteen cents');&lt;br /&gt;&lt;br /&gt;I can remove duplicates easily with the following line:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;alter ignore table bad_table2 add unique index `unique_index` (name);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And then remove the added index.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;alter table bad_table2 drop index `unique_index`;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Source: Comment by &lt;span style="font-weight:bold;"&gt;Paul Swarthout&lt;/span&gt; @ &lt;a href="http://www.databasejournal.com/features/mysql/article.php/2201621/Deleting-Duplicate-Rows-in-a-MySQL-Database.htm?comment=11853-5534"&gt;databasejournal.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-2162882158297812361?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/2162882158297812361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2011/02/deleting-duplicate-rows-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2162882158297812361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2162882158297812361'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2011/02/deleting-duplicate-rows-in-mysql.html' title='Deleting Duplicate Rows in a MySQL Database'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8913956861468589081</id><published>2011-02-07T13:10:00.004+02:00</published><updated>2011-02-07T13:29:38.274+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='config file'/><category scheme='http://www.blogger.com/atom/ns#' term='asp error reporting'/><category scheme='http://www.blogger.com/atom/ns#' term='classic asp'/><category scheme='http://www.blogger.com/atom/ns#' term='custom error page'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>Enable Classic ASP custom error pages</title><content type='html'>After days of searching the web and nagging my host i finally came across this piece of code from &lt;a href="http://goo.gl/rc6cy"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It was just what i needed to show classic ASP custom error pages using the config file&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;configuration&amp;gt; &amp;lt;system.webServer&amp;gt; &amp;lt;httpErrors&amp;gt; &amp;lt;remove statusCode="500" subStatusCode="100" /&amp;gt; &amp;lt;error statusCode="500" subStatusCode="100" prefixLanguageFilePath="" path="/error-500.asp" responseMode="ExecuteURL" /&amp;gt; &amp;lt;/httpErrors&amp;gt; &amp;lt;/system.webServer&amp;gt;&amp;lt;/configuration&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8913956861468589081?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8913956861468589081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2011/02/enable-classic-asp-custom-error-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8913956861468589081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8913956861468589081'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2011/02/enable-classic-asp-custom-error-pages.html' title='Enable Classic ASP custom error pages'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-2050593963571026654</id><published>2011-02-02T10:51:00.003+02:00</published><updated>2011-02-02T10:56:06.364+02:00</updated><title type='text'>Javascript: reversing a string</title><content type='html'>&lt;pre&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;function strrev(str)&lt;br /&gt;{ &lt;br /&gt;  if (!str) return ''; &lt;br /&gt;  var revstr=''; &lt;br /&gt;  for (i = str.length-1; i&gt;=0; i--)   &lt;br /&gt;      revstr+=str.charAt(i)&lt;br /&gt;  return revstr;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;alert(strrev("Hello World!"));&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OR alternatively you can use split("") to&lt;br /&gt;convert a string to an array, reverse() to&lt;br /&gt;reverse the array, and join("") to convert&lt;br /&gt;it back.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;function strrev(str) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;     return str.split("").reverse().join(""); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;alert(strrev("Hello World!")); &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-2050593963571026654?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/2050593963571026654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2011/02/javascript-reversing-string.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2050593963571026654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2050593963571026654'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2011/02/javascript-reversing-string.html' title='Javascript: reversing a string'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-1654562041806468596</id><published>2010-08-03T12:24:00.001+02:00</published><updated>2010-08-03T12:24:18.527+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='csv'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='fopen'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='fwrite'/><category scheme='http://www.blogger.com/atom/ns#' term='excel'/><category scheme='http://www.blogger.com/atom/ns#' term='export'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>PHP: Exporting a mySQL table to CSV</title><content type='html'>	$rsSearchResults = mysql_query($sql, $connDb) or die(mysql_error());&lt;br /&gt;	&lt;br /&gt;	$out = '';&lt;br /&gt;	$fields = mysql_list_fields('dbname','tablename',$connDb);&lt;br /&gt;	$columns = mysql_num_fields($fields);&lt;br /&gt;	&lt;br /&gt;	// Put the name of all fields&lt;br /&gt;	for ($i = 0; $i &lt; $columns; $i++) {&lt;br /&gt;	$l=mysql_field_name($fields, $i);&lt;br /&gt;	$out .= '"'.$l.'",';&lt;br /&gt;	}&lt;br /&gt;	$out .="\n";&lt;br /&gt;	&lt;br /&gt;	// Add all values in the table&lt;br /&gt;	while ($l = mysql_fetch_array($rsSearchResults)) {&lt;br /&gt;	for ($i = 0; $i &lt; $columns; $i++) {&lt;br /&gt;	$out .='"'.$l["$i"].'",';&lt;br /&gt;	}&lt;br /&gt;	$out .="\n";&lt;br /&gt;	}&lt;br /&gt;	// Output to browser with appropriate mime type, you choose ;)&lt;br /&gt;	$filedate = date('d-m-Y');&lt;br /&gt;	header("Content-type: text/x-csv");&lt;br /&gt;	//header("Content-type: text/csv");&lt;br /&gt;	//header("Content-type: application/csv");&lt;br /&gt;	header("Content-Disposition: attachment; filename=filename-$filedate.csv");&lt;br /&gt;	echo $out;&lt;br /&gt;	exit;&lt;br /&gt;&lt;br /&gt;If you wish to write the output to a file on the server instead then use file manipulation functions fopen() and fwrite()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-1654562041806468596?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/1654562041806468596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/08/php-exporting-mysql-table-to-csv.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/1654562041806468596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/1654562041806468596'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/08/php-exporting-mysql-table-to-csv.html' title='PHP: Exporting a mySQL table to CSV'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8971067053300263767</id><published>2010-07-07T17:53:00.005+02:00</published><updated>2011-08-17T11:49:29.629+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ini_set'/><category scheme='http://www.blogger.com/atom/ns#' term='php erros'/><category scheme='http://www.blogger.com/atom/ns#' term='turn on php errors'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='php error reporting'/><title type='text'>Turn on php error reporting using code</title><content type='html'>//To turn on PHP error reporting using code use the lines below&lt;br&gt;&lt;br /&gt;ini_set("display_errors","2"); &lt;br&gt;&lt;br /&gt;error_reporting(E_ALL);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8971067053300263767?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8971067053300263767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/07/turn-on-php-error-reporting-fusing-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8971067053300263767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8971067053300263767'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/07/turn-on-php-error-reporting-fusing-code.html' title='Turn on php error reporting using code'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8126775786307364346</id><published>2010-07-07T17:50:00.002+02:00</published><updated>2010-07-07T18:05:46.868+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='frame'/><category scheme='http://www.blogger.com/atom/ns#' term='top'/><category scheme='http://www.blogger.com/atom/ns#' term='top frame'/><category scheme='http://www.blogger.com/atom/ns#' term='frames'/><category scheme='http://www.blogger.com/atom/ns#' term='force'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>How to force your form to open in the top frame</title><content type='html'>The typical way to do that is to add the script:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[javascript tag]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;if (window != top) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;top.location.href = location.href;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[/javascript tag]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Put it as early in the head section as reasonable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8126775786307364346?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8126775786307364346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/07/how-to-force-your-form-to-open-in-top.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8126775786307364346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8126775786307364346'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/07/how-to-force-your-form-to-open-in-top.html' title='How to force your form to open in the top frame'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-163488849835514241</id><published>2010-06-21T10:52:00.002+02:00</published><updated>2010-07-07T18:06:15.737+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='substr'/><category scheme='http://www.blogger.com/atom/ns#' term='replace'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='substr_replace'/><category scheme='http://www.blogger.com/atom/ns#' term='php insert string'/><category scheme='http://www.blogger.com/atom/ns#' term='php string'/><title type='text'>PHP: How to insert a string into another string</title><content type='html'>&lt;span style="font-family: courier new;"&gt;&lt;br /&gt;$new_string=substr_replace($original_string, $insert_string, $at_position, 0);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-163488849835514241?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/163488849835514241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/06/php-how-to-insert-string-into-another.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/163488849835514241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/163488849835514241'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/06/php-how-to-insert-string-into-another.html' title='PHP: How to insert a string into another string'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-7148994356603478378</id><published>2010-06-08T13:12:00.001+02:00</published><updated>2010-06-08T13:12:46.082+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='update from excel'/><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='generate sql'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='excel'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql update'/><category scheme='http://www.blogger.com/atom/ns#' term='update'/><title type='text'>How to generate mysql update sql statement from an excel document</title><content type='html'>This assumes that you have a unique identifier in at least one of the columns. &lt;br /&gt;&lt;br /&gt;1) In you source excel document insert a column and in that column we want to concatenate an update string similar to the example below:&lt;br /&gt; ="update mysql_table_name set fieldname = '"&amp;A1&amp;"',fieldname2='"&amp;B1&amp;"' where id = "&amp;C1&amp;";" &lt;br /&gt;&lt;br /&gt;2) Copy this formula down to generate all the required update statements&lt;br /&gt;&lt;br /&gt;3) Create another column, copy the recently generated column of fomulas, right click in the new column, choose "paste special" and select the "values" option &lt;br /&gt;&lt;br /&gt;4) Copy the recently pasted values, i.e. the update sql statements into you mysql db query engine e.g. phpMyAdmin and run the queries. Your mysql table is now updated with the values from the excel sheet.&lt;br /&gt;&lt;br /&gt;Not the most elegant way of doing things i know, but it worked for me on several occasions :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-7148994356603478378?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/7148994356603478378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/06/how-to-generate-mysql-update-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/7148994356603478378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/7148994356603478378'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/06/how-to-generate-mysql-update-sql.html' title='How to generate mysql update sql statement from an excel document'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-6884310712847537070</id><published>2010-05-12T14:06:00.001+02:00</published><updated>2010-05-12T14:06:31.418+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='submit'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='function'/><category scheme='http://www.blogger.com/atom/ns#' term='form submit error'/><category scheme='http://www.blogger.com/atom/ns#' term='not a function'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript error'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><title type='text'>document.form.submit is not a function</title><content type='html'>This is because you have a function trying to call the form's submit() method, and at the same time you have a form element, (in most cases a  button), which is called submit(). This causes a conflict in javascript, because the submit method is already bound to that element (button).&lt;br /&gt;&lt;br /&gt;To solve the problem, simply change the name of the element(button). The submit() call in your javascript function should now work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-6884310712847537070?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/6884310712847537070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/05/documentformsubmit-is-not-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/6884310712847537070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/6884310712847537070'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/05/documentformsubmit-is-not-function.html' title='document.form.submit is not a function'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-6199392990110304059</id><published>2010-02-22T10:59:00.005+02:00</published><updated>2010-02-22T11:23:37.255+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='days'/><category scheme='http://www.blogger.com/atom/ns#' term='date difference'/><category scheme='http://www.blogger.com/atom/ns#' term='curdate'/><category scheme='http://www.blogger.com/atom/ns#' term='to_date'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='number of days'/><category scheme='http://www.blogger.com/atom/ns#' term='datetime'/><category scheme='http://www.blogger.com/atom/ns#' term='date'/><title type='text'>Get number of days from a given mysql date field</title><content type='html'>Using mysql's inbuilt TO_DAYS() and CURDATE() functions one can determine the number of days from a given mysql date field to date.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;SELECT date_field, CURDATE() AS Current_Date, (TO_DAYS( CURDATE() ) - TO_DAYS( date_field )) as difference  FROM table_name&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;SAMPLE OUTPUT OF THIS WOULD BE :&lt;br /&gt;&lt;p&gt;&lt;br /&gt;date_field                                 Current_Date                                        difference&lt;br /&gt;----------                                 ------------                                            ------------&lt;br /&gt;2010-02-11                             2010-02-22                                           11&lt;br /&gt;2010-02-10                            2010-02-22                                            12&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;/p&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-6199392990110304059?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/6199392990110304059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/02/get-number-of-days-from-given-mysql.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/6199392990110304059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/6199392990110304059'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/02/get-number-of-days-from-given-mysql.html' title='Get number of days from a given mysql date field'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8436601178983833137</id><published>2010-02-19T10:09:00.004+02:00</published><updated>2010-02-19T10:20:30.838+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='dwscripts'/><category scheme='http://www.blogger.com/atom/ns#' term='translators were not loaded'/><category scheme='http://www.blogger.com/atom/ns#' term='WinFileCache'/><category scheme='http://www.blogger.com/atom/ns#' term='Dreamweaver'/><title type='text'>Dreamweaver startup javascript errors</title><content type='html'>&lt;blockquote&gt;"The following JavaScript error(s) occurred: At line 56 of file "C:\Program Files\Macromedia\Dreamweaver 8\Configuration\Shared\Common\Scripts\dwscriptsExtData.js": ReferenceError: dwscripts is not defined."&lt;/blockquote&gt;  &lt;br /&gt;&lt;br /&gt;If you are experiencing a JavaScript errors related to "dwscripts" (see above) or if you are receiving a "translators were not loaded" error message when Dreamweaver 8 is starting up then you may try the following recommendations from the Adobe site:&lt;br /&gt;&lt;br /&gt;Remove the WinFileCache-7A9586CB.dat file from the Dreamweaver user configuration folder. If that doesn't solve it, then recreate the Dreamweaver user configuration folder. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Delete FileCache.dat files from the Dreamweaver user configuration folder.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Delete the WinFileCache-7A9586CB.dat, MacFileCache-BFE7CE2E.dat, or FileCache.dat file from the Dreamweaver user configuration folder. It is recommended to delete the FileCache.dat file if you are experiencing a JavaScript error related to "dwscripts" or if you are receiving a "translators were not loaded" error message. The string of characters after "FileCache-" may differ on your machine. The location of the FileCache.dat file depends your operating system and your version of Dreamweaver. Note that on Windows, the Application Data and AppData folders are hidden by default, so verify that your Windows Explorer folder options are set to View Hidden Folders.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Dreamweaver CS3 on Windows Vista:&lt;br /&gt;C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration&lt;br /&gt;&lt;br /&gt;Dreamweaver CS3 on Windows XP:&lt;br /&gt;C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver 9\Configuration&lt;br /&gt;&lt;br /&gt;Dreamweaver 8 on Windows XP:&lt;br /&gt;C:\Documents and Settings\[username]\Application Data\Macromedia\Dreamweaver 8\Configuration&lt;br /&gt;&lt;br /&gt;Dreamweaver 8 on Windows Vista:&lt;br /&gt;C:\Users\[username]\AppData\Roaming\Macromedia\Dreamweaver 8\Configuration&lt;br /&gt;&lt;br /&gt;Dreamweaver CS3 on Macintosh:&lt;br /&gt;Mac HD/Users/[user]/Library/Application Support/Adobe/Dreamweaver 9/&lt;br /&gt;&lt;br /&gt;Dreamweaver 8 on Macintosh:&lt;br /&gt;Mac HD/Users/[user]/Library/Application Support/Macromedia/Dreamweaver 8/ &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Source: &lt;a href="http://kb2.adobe.com/cps/191/tn_19105.html#dat" target="_blank"&gt;http://kb2.adobe.com/cps/191/tn_19105.html#dat&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8436601178983833137?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8436601178983833137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/02/dreamweaver-startup-javascript-errors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8436601178983833137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8436601178983833137'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/02/dreamweaver-startup-javascript-errors.html' title='Dreamweaver startup javascript errors'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-936978023454909562</id><published>2010-02-16T13:07:00.005+02:00</published><updated>2010-02-16T13:15:03.541+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='next line'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='unterminated string constant'/><category scheme='http://www.blogger.com/atom/ns#' term='backslash'/><category scheme='http://www.blogger.com/atom/ns#' term='text'/><category scheme='http://www.blogger.com/atom/ns#' term='newline'/><category scheme='http://www.blogger.com/atom/ns#' term='string'/><category scheme='http://www.blogger.com/atom/ns#' term='continue on next line'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenation'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenate'/><title type='text'>Javascript - how to continue text in next line</title><content type='html'>&lt;blockquote&gt;   &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;    &lt;br /&gt;        var sometText = 'abc\&lt;br /&gt;defghi';&lt;br /&gt;        alert(sometText);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;This will not result in a javascript error because each time javascript encounters the single backslash, "\" it knows the statement continues on the next line.&lt;br /&gt;&lt;br /&gt;Without the "\", Javascript will assume that the line has ended and give an "unterminated string constant" error.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-936978023454909562?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/936978023454909562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/02/javascript-how-to-continue-text-in-next.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/936978023454909562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/936978023454909562'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/02/javascript-how-to-continue-text-in-next.html' title='Javascript - how to continue text in next line'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-5218028972917205729</id><published>2010-01-26T13:06:00.003+02:00</published><updated>2010-01-26T13:10:16.241+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='headers'/><category scheme='http://www.blogger.com/atom/ns#' term='session headers'/><category scheme='http://www.blogger.com/atom/ns#' term='headers already sent'/><category scheme='http://www.blogger.com/atom/ns#' term='session'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='session cache'/><category scheme='http://www.blogger.com/atom/ns#' term='session cache limiter'/><title type='text'>"Cannot send session cache limiter - headers already sent"</title><content type='html'>For the files that were giving me this error, they were saved with the encoding set to UTF-8 and not ANSI. Once I saved the PHP files as ANSI they started working. &lt;br /&gt;&lt;br /&gt;I found this fix from &lt;a href="http://forum.codecall.net/php-forum/7793-cannot-send-session-cache-limiter-headers-already-sent.html" target="_blank"&gt;this forum&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps someone&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-5218028972917205729?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/5218028972917205729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2010/01/cannot-send-session-cache-limiter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/5218028972917205729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/5218028972917205729'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2010/01/cannot-send-session-cache-limiter.html' title='&quot;Cannot send session cache limiter - headers already sent&quot;'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8841897404084175654</id><published>2009-10-07T02:22:00.002+02:00</published><updated>2009-10-07T02:25:35.574+02:00</updated><title type='text'>Example: mysql update with inner join</title><content type='html'>&lt;blockquote&gt;UPDATE product &lt;br /&gt;INNER JOIN product_price &lt;br /&gt;ON product.productId = product_price.productId&lt;br /&gt;SET product_price.price = product_price.price * 1.5&lt;br /&gt;WHERE product.dateCreated &lt; '2009-10-23'&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE: This applies to MySQL version 4.0 or higher&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8841897404084175654?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8841897404084175654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/10/example-mysql-update-with-inner-join.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8841897404084175654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8841897404084175654'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/10/example-mysql-update-with-inner-join.html' title='Example: mysql update with inner join'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-1953764728633871814</id><published>2009-07-08T18:05:00.000+02:00</published><updated>2009-07-08T18:05:08.998+02:00</updated><title type='text'>Official Google Blog: Introducing the Google Chrome OS</title><content type='html'>&lt;a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html"&gt;Official Google Blog: Introducing the Google Chrome OS&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-1953764728633871814?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html' title='Official Google Blog: Introducing the Google Chrome OS'/><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/1953764728633871814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/07/official-google-blog-introducing-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/1953764728633871814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/1953764728633871814'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/07/official-google-blog-introducing-google.html' title='Official Google Blog: Introducing the Google Chrome OS'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-9091153199312799187</id><published>2009-07-07T12:00:00.001+02:00</published><updated>2009-07-07T12:00:28.900+02:00</updated><title type='text'>Terabytes Missing From The National Archives: Would the Cloud Be Safer? - ReadWriteEnterprise</title><content type='html'>&lt;a href="http://www.readwriteweb.com/enterprise/2009/07/terabytes-missing-from-the-national-archives.php"&gt;Terabytes Missing From The National Archives: Would the Cloud Be Safer? - ReadWriteEnterprise&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Shared via &lt;a href="http://addthis.com"&gt;AddThis&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-9091153199312799187?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/9091153199312799187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/07/terabytes-missing-from-national.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/9091153199312799187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/9091153199312799187'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/07/terabytes-missing-from-national.html' title='Terabytes Missing From The National Archives: Would the Cloud Be Safer? - ReadWriteEnterprise'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-5533242552064914247</id><published>2009-06-26T13:23:00.005+02:00</published><updated>2009-06-26T13:31:14.968+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='regexp'/><category scheme='http://www.blogger.com/atom/ns#' term='str'/><category scheme='http://www.blogger.com/atom/ns#' term='search'/><category scheme='http://www.blogger.com/atom/ns#' term='string'/><category scheme='http://www.blogger.com/atom/ns#' term='regular expressions'/><category scheme='http://www.blogger.com/atom/ns#' term='match'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Javascript: search for a string withing another string</title><content type='html'>//In this example i'm using regular expressions&lt;br /&gt;&lt;br /&gt;var myRegExp = /find me/;&lt;br /&gt;var string1 = "can you find me in this string?";&lt;br /&gt;var matchPosition = string1.search(myRegExp);&lt;br /&gt;&lt;br /&gt;if(matchPosition != -1){&lt;br /&gt;//match was found on position matchPosition&lt;br /&gt;}else{&lt;br /&gt;//not found in string&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-5533242552064914247?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/5533242552064914247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/06/javascript-search-for-string-withing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/5533242552064914247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/5533242552064914247'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/06/javascript-search-for-string-withing.html' title='Javascript: search for a string withing another string'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-3684770929721992550</id><published>2009-06-10T11:30:00.000+02:00</published><updated>2009-06-10T11:30:21.706+02:00</updated><title type='text'>Tech Meal: [GMAIL] - [PHP] - Send email using PHP with Gmail</title><content type='html'>&lt;a href="http://deepakssn.blogspot.com/2006/06/gmail-php-send-email-using-php-with.html"&gt;Tech Meal: [GMAIL] - [PHP] - Send email using PHP with Gmail&lt;/a&gt;: "php_openssl.d"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-3684770929721992550?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://deepakssn.blogspot.com/2006/06/gmail-php-send-email-using-php-with.html' title='Tech Meal: [GMAIL] - [PHP] - Send email using PHP with Gmail'/><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/3684770929721992550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/06/tech-meal-gmail-php-send-email-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/3684770929721992550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/3684770929721992550'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/06/tech-meal-gmail-php-send-email-using.html' title='Tech Meal: [GMAIL] - [PHP] - Send email using PHP with Gmail'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-2822179604503849438</id><published>2009-06-02T16:44:00.002+02:00</published><updated>2009-06-02T18:35:22.304+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='dev'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='file_get_contents'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='php page'/><title type='text'>How to print the contents of a php page into a variable</title><content type='html'>// To get the generated HTML&lt;br /&gt;$source = file_get_contents("http://domain.net/path/to/script.php");&lt;br /&gt;&lt;br /&gt;// To get everything including PHP source&lt;br /&gt;$source = file_get_contents("/path/to/script.php");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-2822179604503849438?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/2822179604503849438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/06/how-to-print-contents-of-php-page-into.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2822179604503849438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2822179604503849438'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/06/how-to-print-contents-of-php-page-into.html' title='How to print the contents of a php page into a variable'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-626943461081201142</id><published>2009-05-28T11:53:00.001+02:00</published><updated>2009-05-28T11:55:02.005+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='databases'/><category scheme='http://www.blogger.com/atom/ns#' term='dev'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><title type='text'>Incorrect usage of UNION and ORDER BY</title><content type='html'>A common problem when using the UNION command in MySQL is when you want to order the sets of data differently. If you do it incorrectly, you will see the error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;blockquote&gt;Incorrect usage of UNION and ORDER BY&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To solve the problem, wrap each individual SELECT statement in brackets as shown below:&lt;br /&gt;&lt;br /&gt;(&lt;span style="font-weight:bold;"&gt;SELECT &lt;/span&gt;* &lt;span style="font-weight:bold;"&gt;FROM &lt;/span&gt;&lt;span style="font-style:italic;"&gt;table1&lt;/span&gt;)&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;UNION&lt;/span&gt;&lt;br /&gt;(&lt;span style="font-weight:bold;"&gt;SELECT &lt;/span&gt;* &lt;span style="font-weight:bold;"&gt;FROM &lt;/span&gt;&lt;span style="font-style:italic;"&gt;table2&lt;/span&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-626943461081201142?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/626943461081201142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/05/incorrect-usage-of-union-and-order-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/626943461081201142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/626943461081201142'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/05/incorrect-usage-of-union-and-order-by.html' title='Incorrect usage of UNION and ORDER BY'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8343797140738053191</id><published>2009-05-25T18:52:00.005+02:00</published><updated>2009-05-25T18:58:03.422+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='group by'/><category scheme='http://www.blogger.com/atom/ns#' term='query'/><category scheme='http://www.blogger.com/atom/ns#' term='queries'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='month'/><category scheme='http://www.blogger.com/atom/ns#' term='group by datetime'/><category scheme='http://www.blogger.com/atom/ns#' term='datetime'/><category scheme='http://www.blogger.com/atom/ns#' term='How to group by a datetime field in mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='group'/><category scheme='http://www.blogger.com/atom/ns#' term='date'/><title type='text'>How to group by a datetime field in mysql</title><content type='html'>&lt;span style="font-weight:bold;"&gt;SELECT&lt;/span&gt; YEAR(&lt;span style="font-style:italic;"&gt;datefield&lt;/span&gt;) Y, MONTH(&lt;span style="font-style:italic;"&gt;datefield&lt;/span&gt;) M, DAY(datefield) D &lt;span style="font-style:bold;"&gt;FROM &lt;/span&gt;&lt;span style="font-style:italic;"&gt;yourtable&lt;/span&gt;&lt;br /&gt;GROUP BY DAY(&lt;span style="font-style:italic;"&gt;datefield&lt;/span&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8343797140738053191?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8343797140738053191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/05/how-to-group-by-datetime-field-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8343797140738053191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8343797140738053191'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/05/how-to-group-by-datetime-field-in-mysql.html' title='How to group by a datetime field in mysql'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-2481565890322066262</id><published>2009-05-19T12:38:00.002+02:00</published><updated>2009-05-19T12:40:30.766+02:00</updated><title type='text'>PHP: Calculate Number of days between dates</title><content type='html'>&lt;h4&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span&gt;&lt;span&gt;Now that timestamps have been reviewed to show you some easy way to take two days and return a total number of days. The example below will take an arbitrary date of April 4, 2008 and May 12, 2008 (the current date I wrote the article)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/h4&gt; &lt;pre class="php"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;$time_A&lt;/span&gt; = &lt;a href="http://www.php.net/strtotime"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;strtotime&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;"April 4, 2008"&lt;/span&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;)&lt;/span&gt;; &lt;span style="color: rgb(0, 0, 255);"&gt;$time_B&lt;/span&gt;=&lt;a href="http://www.php.net/strtotime"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;strtotime&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;(&lt;/span&gt;now&lt;span style="color: rgb(102, 204, 102);"&gt;)&lt;/span&gt;; &lt;span style="color: rgb(0, 0, 255);"&gt;$numdays&lt;/span&gt;=&lt;a href="http://www.php.net/intval"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;intval&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;$time_B&lt;/span&gt;-&lt;span style="color: rgb(0, 0, 255);"&gt;$time_A&lt;/span&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;)&lt;/span&gt;/&lt;span style="color: rgb(204, 102, 204);"&gt;86400&lt;/span&gt;&lt;span style="color: rgb(102, 204, 102);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(204, 102, 204);"&gt;+1&lt;/span&gt;;&lt;/pre&gt; &lt;p&gt;&lt;span&gt;&lt;span&gt;The number of seconds in a day is 86400 and the calculations usually shorts you a day so thats why we add a 1. This is do the fact the now() returns the current time which is not a complete day. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.bswebdev.com/2008/05/php-day-count-and-date-comparison/" targe="_blank"&gt;source: http://www.bswebdev.com/2008/05/php-day-count-and-date-comparison/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-2481565890322066262?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/2481565890322066262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/05/php-calculate-number-of-days-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2481565890322066262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2481565890322066262'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/05/php-calculate-number-of-days-between.html' title='PHP: Calculate Number of days between dates'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-1794122929991433124</id><published>2009-04-23T14:14:00.000+02:00</published><updated>2009-04-23T14:22:49.596+02:00</updated><title type='text'>Close window without the prompt message in IE7</title><content type='html'>If you tried to close a window using javascript &lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;window.close()&lt;/span&gt; method in IE7, and as you may noticed a message will prompt &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;"The Webpage you are viewing is trying to close the window. Do you want to close this window"&lt;/span&gt;. Because of the security enhancements in IE7, you can't close a window unless it is opened by a script. So the walkaround will be to let the browser thinks that this page is opened using a script then closing the window as outlined below.&lt;br /&gt;&lt;br /&gt;Create a javascript function which will be called to close the window&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;function CloseMe(){&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;window.open('','_self','');&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;window.close();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The code in bold is used to open a window in this case it's not defined into the current window. In this way, we let the browser thinks that the current window is opened using javascript, so when the &lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;window.close()&lt;/span&gt; is executed it will close it without the message being displayed.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can now close the popup window by calling the &lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;CloseMe()&lt;/span&gt; function at the point where you want to close your page.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-1794122929991433124?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/1794122929991433124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/04/close-window-without-prompt-message-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/1794122929991433124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/1794122929991433124'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/04/close-window-without-prompt-message-in.html' title='Close window without the prompt message in IE7'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-2994401881964977771</id><published>2009-04-08T19:05:00.000+02:00</published><updated>2009-04-08T19:08:43.646+02:00</updated><title type='text'>mysql 'not a valid result resource' errors</title><content type='html'>&lt;span class="Apple-style-span"   style="  -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family:verdana;font-size:13px;"&gt;Here's what's going on with 'not a valid result resource' errors. Take the following example:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-right: 20px; margin-bottom: 20px; margin-left: 20px; margin-top: 5px; "&gt;&lt;div class="smallfont" style="margin-bottom: 2px; font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; "&gt;PHP Code:&lt;/div&gt;&lt;div class="alt2" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: inset; border-right-style: inset; border-bottom-style: inset; border-left-style: inset; border-color: initial; width: 640px; height: 114px; overflow-x: auto; overflow-y: auto; background-color: rgb(244, 244, 244); color: rgb(0, 0, 0); "&gt;&lt;code style="white-space: nowrap; "&gt;&lt;div dir="ltr" style="text-align: left; "&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0); "&gt;&lt;span style="color: rgb(0, 0, 187); "&gt; $query &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0); "&gt;'SELECT * from table'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;;&lt;br /&gt;   &lt;br /&gt;   &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;$result &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;mysql_query&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;$query&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;);&lt;br /&gt;   &lt;br /&gt;   while(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;$row &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;mysql_fetch_array&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;$result&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;))&lt;br /&gt;   { echo &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187); "&gt;$row&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0); "&gt;'foo'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0); "&gt;]; }  &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;In the above, the mysql_query() function is sending the specific query to the database and returning a 'resource identifier', which is being set as the value of $result. These are not the results themselves -- if you echo $result at this point, you'll get 'Resource id #x'. The mysql_fetch_array() function in your while loop takes this resource identifier and creates an array of the actual db contents that you can use.&lt;br /&gt;&lt;br /&gt;If your mysql_query() function fails to get a resource id, it returns a boolean FALSE instead. FALSE, of course, isn't a resource identifier, so when you try to pass it to mysql_fetch_array(), it will cough up the 'not a valid result resource' error. So all of you are getting failures in your mysql_query() function.&lt;br /&gt;&lt;br /&gt;Using 'or die(mysql_error())' at the end of your mysql_query() call, will, instead of setting $result to FALSE, kill the script and, more importantly, return a more descriptive error message. &lt;br /&gt;&lt;br /&gt;Probably 80%+ of the time, a failed mysql_query() is caused by a syntax error in the query itself. Be especially mindful of any variables you're using in your query -- if they're not being set correctly, they can cause a syntax error. A failure to connect to the database can also cause mysql_query() to fail, so keep that in mind. Either way, the mysql_error() function will give you more information.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-2994401881964977771?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/2994401881964977771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/04/mysql-not-valid-result-resource-errors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2994401881964977771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/2994401881964977771'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/04/mysql-not-valid-result-resource-errors.html' title='mysql &apos;not a valid result resource&apos; errors'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8884056461527158061</id><published>2009-04-02T18:21:00.000+02:00</published><updated>2009-04-02T18:47:19.834+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='interisting stories'/><category scheme='http://www.blogger.com/atom/ns#' term='news'/><category scheme='http://www.blogger.com/atom/ns#' term='scie/tech'/><title type='text'>My popular readings of the week</title><content type='html'>&lt;p&gt;&lt;a href="http://www.eweek.com/c/a/Application-Development/Microsoft-Preps-Open-Source-Apps-Marketplace-139139/"&gt;Microsoft Preps Open-Source Apps Marketplace&lt;/a&gt;&lt;br /&gt;Microsoft is in the process of building out a marketplace for open-source applications that could work like an equivalent to an app store for applications, services and support for open-source technology that runs on the Windows platform. At MIX09, Microsoft released several components of the Microsoft Web Platform, an integrated set of tools, servers and frameworks that work seamlessly together and interoperate with popular open-source applications and products that are used in the community. Microsoft is looking at Windows Azure as a potential distribution platform for these applications. &lt;a href="http://www.eweek.com/c/a/Application-Development/Microsoft-Preps-Open-Source-Apps-Marketplace-139139/"&gt;read more ...&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cmswire.com/cms/web-development/microsoft-open-sources-net-mvc-framework-004236.php"&gt;Microsoft Open Sources .NET MVC Framework&lt;/a&gt;&lt;br /&gt;Further evidence of Microsoft's growing commitment towards interoperability and open source — the ASP.NET MVC source code has been released under the Microsoft Public License (MS-PL). &lt;a href="http://www.cmswire.com/cms/web-development/microsoft-open-sources-net-mvc-framework-004236.php"&gt;read more ...&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.computerworld.co.ke/articles/2009/03/31/highly-anticipated-open-source-releases-coming-09"&gt;Highly anticipated open-source releases coming in '09 &lt;/a&gt;&lt;br /&gt;When big companies release new software, they launch it with lots of hoopla: press tours, technical conferences, free T-shirts. Open-source projects, even the well-known ones, generally release their major new versions with a lot less fanfare. The FOSS (free and open-source software) community is often too busy coding and testing to bother with marketing, even when the new "point release" of the software is really remarkable. &lt;a href="http://www.computerworld.co.ke/articles/2009/03/31/highly-anticipated-open-source-releases-coming-09"&gt;read more ...&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;More Stories&lt;/strong&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://news.cnet.com/8301-1023_3-10209054-93.html"&gt;April Fools: Google's sentient computer takes over&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.live-pr.com/en/executives-consider-zend-certification-the-r1048267908.htm"&gt;Executives Consider Zend Certification the Main Criterion When Hiring PHP Developers, According to Sibers &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://denver.bizjournals.com/denver/stories/2009/03/16/smallb4.html"&gt;Recessionary times mean it’s time to rethink selling points&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ecommercetimes.com/story/66618.html"&gt;Recessionary Times Call for Recessionary Marketing&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="usg-AFQjCNHPQQM70zGd2sDlSAmAmO9l9NJOpQ " href="http://www.wakulla.com/Wakulla_News/Business_News/Entrepreneurship_is_Where_Growth_Comes_From!_(by_Dr._Jerry_Osteryoung)_200903317510/" target="_self"&gt;Entrepreneurship is Where Growth Comes From!&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a class="usg-AFQjCNHeHW2FDXcspsBXJDLf1zdR3b9Z2w " href="http://www.itproportal.com/portal/podcasts/article/2009/4/2/surfing-facebook-and-twitter-work-good-productivity-says-boffins/" target="_self"&gt;Facebook And Twitter Increase Workplace Productivity&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a class="usg-AFQjCNH3hE_fSbzm76KodsbrH4YSysVxgg " href="http://www.computerweekly.com/Articles/2009/04/01/235488/g20-activists-use-twitter-and-facebook-to-co-ordinate.htm" target="_self"&gt;G20 activists use Twitter and Facebook to co-ordinate potests&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8884056461527158061?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8884056461527158061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2009/04/my-popualr-readings-of-week.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8884056461527158061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8884056461527158061'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2009/04/my-popualr-readings-of-week.html' title='My popular readings of the week'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1077342317197913028.post-8362077641633657554</id><published>2008-06-04T13:59:00.000+02:00</published><updated>2009-04-02T18:46:47.030+02:00</updated><title type='text'>Welcome to my blog</title><content type='html'>&lt;dl class="clearfix" id="overview"&gt;&lt;dt&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Who am I, What am i, where have i come from, where am i headed&lt;/span&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Career Wise&lt;/span&gt;&lt;span style="TEXT-DECORATION: underline"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Currently i am:&lt;br /&gt;&lt;dl class="clearfix" id="overview"&gt;&lt;dd&gt;&lt;ul class="current"&gt;&lt;li&gt;&lt;span name="title"&gt;A Web Applications Analyst / Consultant&lt;/span&gt; &lt;span class="at"&gt;at&lt;/span&gt; &lt;span name="companyName"&gt;Innovative Solutions&lt;/span&gt;&lt;span class="edit"&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/dd&gt;&lt;dt&gt;Used to be &lt;a href="http://www.linkedin.com/myprofile?trk=hb_side_pro#positions"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/dt&gt;&lt;dd&gt;&lt;ul&gt;&lt;li&gt;web application developer/consultant as &lt;a href="http://www.blueqube.co.za/"&gt;BlueQube Intenet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;web developer at &lt;a href="http://www.webdev.co.zw/"&gt;webdev&lt;/a&gt;&lt;/li&gt;&lt;li&gt;the &lt;span name="title"&gt;Projects Support Officer&lt;/span&gt; &lt;span class="at"&gt;at&lt;/span&gt; &lt;a href="http://www.cyberpelxafrica.com/"&gt;&lt;span name="companyName"&gt;Cyberplex Africa&lt;/span&gt; &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span name="title"&gt;an Analyst / Developer&lt;/span&gt; &lt;span class="at"&gt;at&lt;/span&gt; &lt;a href="http://www.aerotel.co.zw/"&gt;&lt;span name="companyName"&gt;Aerotel&lt;/span&gt; &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span name="title"&gt;a Developer&lt;/span&gt; &lt;span class="at"&gt;at&lt;/span&gt; &lt;span name="companyName"&gt;Ziscosteel&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Ambition:&lt;/span&gt; &lt;div class="edit-link"&gt;&lt;a href="http://www.linkedin.com/myprofile?displayEditExpertise=&amp;amp;goback=%2Eprf" name="editExpertise"&gt;&lt;/a&gt;&lt;span name="comments"&gt;To become one of the leading web solutions provider in the SADC region&lt;/span&gt;&lt;/div&gt;&lt;div class="edit-content"&gt;&lt;div class="summary"&gt;&lt;/div&gt;&lt;div class="specialties"&gt;&lt;h3 style="FONT-WEIGHT: normal"&gt;&lt;strong&gt;Specialties:&lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;Prototyping (HTML, CSS, Javascipt), Web Development (PHP/mySQL, ASP/SQL SERVER, HTML, CSS, Javascript, AJAX), ERP Research &amp;amp; Development, IIS/Apache setup and admin, SQL SERVER / mySQL / MS Access development (VBA), Macromedia Dreamweaver / Fireworks, Joomla, webERP, Informix SQL/4GL development, Basic Unix &amp;amp; linux commands, MS Office, MS Project&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="additional"&gt;&lt;h3&gt;Interests:&lt;/h3&gt;&lt;p name="interests"&gt;chess, game / nature viewing, canoeing, computer gaming,&lt;/p&gt;&lt;p name="interests"&gt;&lt;strong&gt;Groups and Associations:&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;Computer Society of Zimbabwe&lt;br /&gt;PRINCE 2 (work in progress)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1077342317197913028-8362077641633657554?l=blestab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blestab.blogspot.com/feeds/8362077641633657554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blestab.blogspot.com/2008/06/welcome-to-my-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8362077641633657554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1077342317197913028/posts/default/8362077641633657554'/><link rel='alternate' type='text/html' href='http://blestab.blogspot.com/2008/06/welcome-to-my-blog.html' title='Welcome to my blog'/><author><name>Blessed</name><uri>http://www.blogger.com/profile/05108069768135876058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_LHxyYQljEzE/SfcgOdQs3rI/AAAAAAAAADk/0vsmJHfpehc/S220/ubless.jpg'/></author><thr:total>0</thr:total></entry></feed>
