<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reading/Parsing Excel Spreadsheet using PHP</title>
	<atom:link href="http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/</link>
	<description>all about my work</description>
	<lastBuildDate>Sat, 12 May 2012 17:51:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: gowtham</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-128043</link>
		<dc:creator>gowtham</dc:creator>
		<pubDate>Mon, 30 Apr 2012 06:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-128043</guid>
		<description>hello sir,
      i used the coding to read from excel sheet but for date i am getting the formatted value not the date can u give some idea how to get the actual date

 true, // return web page
        CURLOPT_HEADER =&gt; false, // don&#039;t return headers
        CURLOPT_FOLLOWLOCATION =&gt; true, // follow redirects
        CURLOPT_ENCODING =&gt; &quot;&quot;, // handle all encodings
        CURLOPT_USERAGENT =&gt; &quot;spider&quot;, // who am i
        CURLOPT_AUTOREFERER =&gt; true, // set referer on redirect
        CURLOPT_CONNECTTIMEOUT =&gt; 120, // timeout on connect
        CURLOPT_TIMEOUT =&gt; 120, // timeout on response
        CURLOPT_MAXREDIRS =&gt; 10, // stop after 10 redirects
        CURLOPT_PROXY =&gt; &#039;192.168.2.66:3128&#039;, // proxy info
        CURLOPT_PROXYPORT =&gt; 3128, // proxy port
        CURLOPT_PROXYUSERPWD =&gt; &quot;santhanam:SN90*k&amp;yu?&quot;, // proxy user name and password
        CURLOPT_USERAGENT =&gt; $_SERVER[&#039;HTTP_USER_AGENT&#039;]
    );
    $rootUri = &#039;http://www.springsgov.com/&#039;;

    $appendUri = isset($_GET[&#039;url&#039;]) ? ( (isset($_GET[&#039;download&#039;])) ?  $_GET[&#039;url&#039;] : base64_decode($_GET[&#039;url&#039;])) : &#039;Page.aspx?NavID=453&#039;;

    $target_url = $rootUri . $appendUri;

    if (isset($_GET[&#039;download&#039;])) {
        _importXls($target_url, $options);
        exit();
    }

    $ch = curl_init($target_url);
    curl_setopt_array($ch, $options);

    $content = curl_exec($ch);
    curl_close($ch);

    //echo $content;
    $html = new simple_html_dom();
    $html-&gt;load($content);

    foreach ($html-&gt;find(&quot;table td[bgcolor=#DDDDDD] a.LEVEL2_On&quot;) as $values) {
        $title = $values-&gt;innertext;
        print &#039;&lt;a&gt;href) . &#039;&quot;&gt;&#039; . $values-&gt;innertext . &#039;&lt;/a&gt;&#039;;
        print &#039;&#039;;
    }
    foreach ($html-&gt;find(&quot;table td[bgcolor=#DDDDDD] a.LEVEL2&quot;) as $values) {
        print &#039;&lt;a&gt;href) . &#039;&quot;&gt;&#039; . $values-&gt;innertext . &#039;&lt;/a&gt;&#039;;
        print &#039;&#039;;
    }

    if (!empty($_GET[&#039;url&#039;])) {
        ?&gt;
                
            &lt;?php
            echo &#039;&#039;.$title.&#039;&#039;;
            foreach ($html-&gt;find(&quot;a#content&quot;) as $values) {
                foreach ($values-&gt;parent()-&gt;find(&#039;p a&#039;) as $link) {
                    print &#039;&lt;a&gt;href,$rootUri) . &#039;&amp;download=1&quot;&gt;&#039; . $link-&gt;innertext . &#039;&lt;/a&gt;&#039;;

                }
            }
            ?&gt;   &#039;192.168.2.66:3128&#039;, // proxy info
        CURLOPT_PROXYPORT =&gt; 3128, // proxy port
        CURLOPT_PROXYUSERPWD =&gt; &quot;santhanam:SN90*k&amp;yu?&quot;, // proxy user name and password        
        );

        $ch = curl_init($url);
        curl_setopt_array($ch, $downloadOptions);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

        $data = curl_exec($ch);

        curl_close($ch);

        file_put_contents($path, $data); 

        chmod($path, 0755);
        // ExcelFile($filename, $encoding);
       $xlsData = new Spreadsheet_Excel_Reader();
     // $xlsData = new Spreadsheet_Excel_Reader(&quot;&quot;,false);


        // Set output Encoding.
        $xlsData-&gt;setOutputEncoding(&#039;CP1251&#039;);
      
       $xlsData-&gt;read($path);
        $first = true;
        $baddrCount = 1;
        $maddrCount = 1;
        echo &#039;&#039;;
        for ($i = 1; $i sheets[0][&#039;numRows&#039;]; $i++) {
                if ($i &lt;= 3) {
                    continue;
                }
                
                echo &#039;&#039;;
                for ($j = 1; $j sheets[0][&#039;numCols&#039;]; $j++) {
                    if ($first) {
                        if (preg_match(&quot;/^lic/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                            $fieldColumns[$j] = &#039;License&#039;;
                        } elseif (preg_match(&quot;/^b/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j])) &amp;&amp; preg_match(&quot;/addr/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                            $fieldColumns[$j] = &#039;BAddr&#039;.$baddrCount;
                            $baddrCount++;
                        } elseif (preg_match(&quot;/^m/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j])) &amp;&amp; preg_match(&quot;/addr/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                            $fieldColumns[$j] = &#039;MAddr&#039;.$maddrCount;
                            $maddrCount++;
                        } elseif (preg_match(&quot;/^dba/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                            $fieldColumns[$j] = &#039;DBA&#039;;
                        } elseif (preg_match(&quot;/nature/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                            $fieldColumns[$j] = &#039;B_Nature&#039;;
                        } elseif (preg_match(&quot;/phone/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                            $fieldColumns[$j] = &#039;Phone&#039;;
                        } elseif (preg_match(&quot;/begin/&quot;, strtolower($xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j]))) {
                  
                            $fieldColumns[$j] = &#039;Begin_Date&#039;;                            
                        }
                      $first = ($j == $xlsData-&gt;sheets[0][&#039;numCols&#039;]) ? FALSE : TRUE;
                    } else {
                        $fieldDatas[$j] = $xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j];
                        if ($j == $xlsData-&gt;sheets[0][&#039;numCols&#039;]) {
                            // Insert into DB
                            echo&#039;&#039;;
                           echo $query = &quot;INSERT INTO scrap SET 
                                        `File_Num`           = &#039;&quot;.$fieldDatas[array_search(&#039;License&#039;, $fieldColumns)].&quot;&#039;,
                                        `Business_Address`   = &#039;&quot;.$fieldDatas[array_search(&#039;BAddr1&#039;, $fieldColumns)].&quot;&#039;,
                                        `Business_Address_2` = &#039;&quot;.$fieldDatas[array_search(&#039;BAddr2&#039;, $fieldColumns)].&quot;&#039;,
                                        `Contact_Address`    = &#039;&quot;.$fieldDatas[array_search(&#039;MAddr1&#039;, $fieldColumns)].&quot;&#039;,
                                        `Contact_Address_2`  = &#039;&quot;.$fieldDatas[array_search(&#039;MAddr2&#039;, $fieldColumns)].&quot;&#039;,
                                        `Business_Phone`     = &#039;&quot;.$fieldDatas[array_search(&#039;Phone&#039;, $fieldColumns)].&quot;&#039;,
                                        `File_Date`          = &#039;&quot;.cellval($fieldDatas[array_search(&#039;Begin_Date&#039;, $fieldColumns)],&#039;m/d/Y&#039;).&quot;&#039;&quot;;
                                                                    echo&#039;&#039;;                         
                          //  mysql_query($query);
                          // $fieldDatas[array_search(&#039;DBA&#039;, $fieldColumns)];
                           //$fieldDatas[array_search(&#039;B_Nature&#039;, $fieldColumns)];
                        }
                    }
                        //echo &quot;&quot;.$xlsData-&gt;sheets[0][&#039;cells&#039;][$i][$j].&quot;&quot;;
                }
                echo &quot;&quot;;
        }        
        echo &#039;&#039;;        
        
    }
    function cellval($cell, $datemode){


    
    if ($cell.ctype == $xlrd.XL_CELL_DATE)
    $datetuple = $xlrd.xldate_as_tuple($cell.value, $datemode);
     if ($datetuple[3] ==&#039;0,0,0&#039;)
     {
           return datetime.date($datetuple[0], $datetuple[1], $datetuple[2]);
      return datetime.date($datetuple[0], $datetuple[1], $datetuple[2], $datetuple[3], $datetuple[4],$datetuple[5]) ;
      }
      if ($cell.ctype == $xlrd.XL_CELL_EMPTY)
      return None;
       if ($cell.ctype == $xlrd.XL_CELL_BOOLEAN)
        return $cell.value == 1;
         return $cell;
    }
?&gt;</description>
		<content:encoded><![CDATA[<p>hello sir,<br />
      i used the coding to read from excel sheet but for date i am getting the formatted value not the date can u give some idea how to get the actual date</p>
<p> true, // return web page<br />
        CURLOPT_HEADER =&gt; false, // don&#8217;t return headers<br />
        CURLOPT_FOLLOWLOCATION =&gt; true, // follow redirects<br />
        CURLOPT_ENCODING =&gt; &#8220;&#8221;, // handle all encodings<br />
        CURLOPT_USERAGENT =&gt; &#8220;spider&#8221;, // who am i<br />
        CURLOPT_AUTOREFERER =&gt; true, // set referer on redirect<br />
        CURLOPT_CONNECTTIMEOUT =&gt; 120, // timeout on connect<br />
        CURLOPT_TIMEOUT =&gt; 120, // timeout on response<br />
        CURLOPT_MAXREDIRS =&gt; 10, // stop after 10 redirects<br />
        CURLOPT_PROXY =&gt; &#8217;192.168.2.66:3128&#8242;, // proxy info<br />
        CURLOPT_PROXYPORT =&gt; 3128, // proxy port<br />
        CURLOPT_PROXYUSERPWD =&gt; &#8220;santhanam:SN90*k&amp;yu?&#8221;, // proxy user name and password<br />
        CURLOPT_USERAGENT =&gt; $_SERVER['HTTP_USER_AGENT']<br />
    );<br />
    $rootUri = &#8216;http://www.springsgov.com/&#8217;;</p>
<p>    $appendUri = isset($_GET['url']) ? ( (isset($_GET['download'])) ?  $_GET['url'] : base64_decode($_GET['url'])) : &#8216;Page.aspx?NavID=453&#8242;;</p>
<p>    $target_url = $rootUri . $appendUri;</p>
<p>    if (isset($_GET['download'])) {<br />
        _importXls($target_url, $options);<br />
        exit();<br />
    }</p>
<p>    $ch = curl_init($target_url);<br />
    curl_setopt_array($ch, $options);</p>
<p>    $content = curl_exec($ch);<br />
    curl_close($ch);</p>
<p>    //echo $content;<br />
    $html = new simple_html_dom();<br />
    $html-&gt;load($content);</p>
<p>    foreach ($html-&gt;find(&#8220;table td[bgcolor=#DDDDDD] a.LEVEL2_On&#8221;) as $values) {<br />
        $title = $values-&gt;innertext;<br />
        print &#8216;<a>href) . &#8216;&#8221;&gt;&#8217; . $values-&gt;innertext . &#8216;</a>&#8216;;<br />
        print &#8221;;<br />
    }<br />
    foreach ($html-&gt;find(&#8220;table td[bgcolor=#DDDDDD] a.LEVEL2&#8243;) as $values) {<br />
        print &#8216;<a>href) . &#8216;&#8221;&gt;&#8217; . $values-&gt;innertext . &#8216;</a>&#8216;;<br />
        print &#8221;;<br />
    }</p>
<p>    if (!empty($_GET['url'])) {<br />
        ?&gt;</p>
<p>            &lt;?php<br />
            echo &#039;&#8217;.$title.&#8221;;<br />
            foreach ($html-&gt;find(&#8220;a#content&#8221;) as $values) {<br />
                foreach ($values-&gt;parent()-&gt;find(&#8216;p a&#8217;) as $link) {<br />
                    print &#8216;<a>href,$rootUri) . &#8216;&amp;download=1&#8243;&gt;&#8217; . $link-&gt;innertext . &#8216;</a>&#8216;;</p>
<p>                }<br />
            }<br />
            ?&gt;   &#8217;192.168.2.66:3128&#8242;, // proxy info<br />
        CURLOPT_PROXYPORT =&gt; 3128, // proxy port<br />
        CURLOPT_PROXYUSERPWD =&gt; &#8220;santhanam:SN90*k&amp;yu?&#8221;, // proxy user name and password<br />
        );</p>
<p>        $ch = curl_init($url);<br />
        curl_setopt_array($ch, $downloadOptions);<br />
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);</p>
<p>        $data = curl_exec($ch);</p>
<p>        curl_close($ch);</p>
<p>        file_put_contents($path, $data); </p>
<p>        chmod($path, 0755);<br />
        // ExcelFile($filename, $encoding);<br />
       $xlsData = new Spreadsheet_Excel_Reader();<br />
     // $xlsData = new Spreadsheet_Excel_Reader(&#8220;&#8221;,false);</p>
<p>        // Set output Encoding.<br />
        $xlsData-&gt;setOutputEncoding(&#8216;CP1251&#8242;);</p>
<p>       $xlsData-&gt;read($path);<br />
        $first = true;<br />
        $baddrCount = 1;<br />
        $maddrCount = 1;<br />
        echo &#8221;;<br />
        for ($i = 1; $i sheets[0]['numRows']; $i++) {<br />
                if ($i &lt;= 3) {<br />
                    continue;<br />
                }</p>
<p>                echo &#039;&#8217;;<br />
                for ($j = 1; $j sheets[0]['numCols']; $j++) {<br />
                    if ($first) {<br />
                        if (preg_match(&#8220;/^lic/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {<br />
                            $fieldColumns[$j] = &#8216;License&#8217;;<br />
                        } elseif (preg_match(&#8220;/^b/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j])) &amp;&amp; preg_match(&#8220;/addr/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {<br />
                            $fieldColumns[$j] = &#8216;BAddr&#8217;.$baddrCount;<br />
                            $baddrCount++;<br />
                        } elseif (preg_match(&#8220;/^m/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j])) &amp;&amp; preg_match(&#8220;/addr/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {<br />
                            $fieldColumns[$j] = &#8216;MAddr&#8217;.$maddrCount;<br />
                            $maddrCount++;<br />
                        } elseif (preg_match(&#8220;/^dba/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {<br />
                            $fieldColumns[$j] = &#8216;DBA&#8217;;<br />
                        } elseif (preg_match(&#8220;/nature/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {<br />
                            $fieldColumns[$j] = &#8216;B_Nature&#8217;;<br />
                        } elseif (preg_match(&#8220;/phone/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {<br />
                            $fieldColumns[$j] = &#8216;Phone&#8217;;<br />
                        } elseif (preg_match(&#8220;/begin/&#8221;, strtolower($xlsData-&gt;sheets[0]['cells'][$i][$j]))) {</p>
<p>                            $fieldColumns[$j] = &#8216;Begin_Date&#8217;;<br />
                        }<br />
                      $first = ($j == $xlsData-&gt;sheets[0]['numCols']) ? FALSE : TRUE;<br />
                    } else {<br />
                        $fieldDatas[$j] = $xlsData-&gt;sheets[0]['cells'][$i][$j];<br />
                        if ($j == $xlsData-&gt;sheets[0]['numCols']) {<br />
                            // Insert into DB<br />
                            echo&#8221;;<br />
                           echo $query = &#8220;INSERT INTO scrap SET<br />
                                        `File_Num`           = &#8216;&#8221;.$fieldDatas[array_search('License', $fieldColumns)].&#8221;&#8216;,<br />
                                        `Business_Address`   = &#8216;&#8221;.$fieldDatas[array_search('BAddr1', $fieldColumns)].&#8221;&#8216;,<br />
                                        `Business_Address_2` = &#8216;&#8221;.$fieldDatas[array_search('BAddr2', $fieldColumns)].&#8221;&#8216;,<br />
                                        `Contact_Address`    = &#8216;&#8221;.$fieldDatas[array_search('MAddr1', $fieldColumns)].&#8221;&#8216;,<br />
                                        `Contact_Address_2`  = &#8216;&#8221;.$fieldDatas[array_search('MAddr2', $fieldColumns)].&#8221;&#8216;,<br />
                                        `Business_Phone`     = &#8216;&#8221;.$fieldDatas[array_search('Phone', $fieldColumns)].&#8221;&#8216;,<br />
                                        `File_Date`          = &#8216;&#8221;.cellval($fieldDatas[array_search('Begin_Date', $fieldColumns)],&#8217;m/d/Y&#8217;).&#8221;&#8216;&#8221;;<br />
                                                                    echo&#8221;;<br />
                          //  mysql_query($query);<br />
                          // $fieldDatas[array_search('DBA', $fieldColumns)];<br />
                           //$fieldDatas[array_search('B_Nature', $fieldColumns)];<br />
                        }<br />
                    }<br />
                        //echo &#8220;&#8221;.$xlsData-&gt;sheets[0]['cells'][$i][$j].&#8221;";<br />
                }<br />
                echo &#8220;&#8221;;<br />
        }<br />
        echo &#8221;;        </p>
<p>    }<br />
    function cellval($cell, $datemode){</p>
<p>    if ($cell.ctype == $xlrd.XL_CELL_DATE)<br />
    $datetuple = $xlrd.xldate_as_tuple($cell.value, $datemode);<br />
     if ($datetuple[3] ==&#8217;0,0,0&#8242;)<br />
     {<br />
           return datetime.date($datetuple[0], $datetuple[1], $datetuple[2]);<br />
      return datetime.date($datetuple[0], $datetuple[1], $datetuple[2], $datetuple[3], $datetuple[4],$datetuple[5]) ;<br />
      }<br />
      if ($cell.ctype == $xlrd.XL_CELL_EMPTY)<br />
      return None;<br />
       if ($cell.ctype == $xlrd.XL_CELL_BOOLEAN)<br />
        return $cell.value == 1;<br />
         return $cell;<br />
    }<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Programatically Import Downloadable Product from Excel Spreadsheet &#171; jMP Maniac</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-101092</link>
		<dc:creator>Programatically Import Downloadable Product from Excel Spreadsheet &#171; jMP Maniac</dc:creator>
		<pubDate>Tue, 10 Jan 2012 10:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-101092</guid>
		<description>[...] used the following Excel Parser, to read the data from the [...]</description>
		<content:encoded><![CDATA[<p>[...] used the following Excel Parser, to read the data from the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andris</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-79112</link>
		<dc:creator>Andris</dc:creator>
		<pubDate>Fri, 07 Oct 2011 08:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-79112</guid>
		<description>Can I read the file. xls spreadsheet was given a password ??
Please Help me..
&#039;^^</description>
		<content:encoded><![CDATA[<p>Can I read the file. xls spreadsheet was given a password ??<br />
Please Help me..<br />
&#8216;^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex D</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-79066</link>
		<dc:creator>Alex D</dc:creator>
		<pubDate>Fri, 07 Oct 2011 01:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-79066</guid>
		<description>for the memory problems,try this.
ini_set(&#039;memory_limit&#039;, &#039;-1&#039;);</description>
		<content:encoded><![CDATA[<p>for the memory problems,try this.<br />
ini_set(&#8216;memory_limit&#8217;, &#8216;-1&#8242;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shyam</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-74553</link>
		<dc:creator>shyam</dc:creator>
		<pubDate>Tue, 23 Aug 2011 14:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-74553</guid>
		<description>i am also having the same issue: Fatal error: Allowed memory size of 94371840 bytes exhausted.

someone please suggest me if we need to install some special package or something.

Please help or email me at =&gt; shyamji.gupta@netsmartz.net</description>
		<content:encoded><![CDATA[<p>i am also having the same issue: Fatal error: Allowed memory size of 94371840 bytes exhausted.</p>
<p>someone please suggest me if we need to install some special package or something.</p>
<p>Please help or email me at =&gt; <a href="mailto:shyamji.gupta@netsmartz.net">shyamji.gupta@netsmartz.net</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-71273</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Sat, 23 Jul 2011 12:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-71273</guid>
		<description>could you tell me any way to convert xls files into the csv format... 
i want to read an xls file and have heard that reading a csv file is simpler....</description>
		<content:encoded><![CDATA[<p>could you tell me any way to convert xls files into the csv format&#8230;<br />
i want to read an xls file and have heard that reading a csv file is simpler&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-71271</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Sat, 23 Jul 2011 12:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-71271</guid>
		<description>is there a way to convert xls files to csv via php? 
i&#039;d like to read an excel file and i&#039;ve heard that reading csv files via php is far more simpler</description>
		<content:encoded><![CDATA[<p>is there a way to convert xls files to csv via php?<br />
i&#8217;d like to read an excel file and i&#8217;ve heard that reading csv files via php is far more simpler</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aman Nagra</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-70868</link>
		<dc:creator>Aman Nagra</dc:creator>
		<pubDate>Wed, 20 Jul 2011 07:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-70868</guid>
		<description>Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\countrylife\excelsheet_reader\reader.php on line 124

getting this error when i downloaded reader.php, am using php5</description>
		<content:encoded><![CDATA[<p>Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\countrylife\excelsheet_reader\reader.php on line 124</p>
<p>getting this error when i downloaded reader.php, am using php5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Congdon</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-70420</link>
		<dc:creator>John Congdon</dc:creator>
		<pubDate>Fri, 15 Jul 2011 15:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-70420</guid>
		<description>I hope this helps someone.  I created a patch for Excel/reader.php that fixed the date fields in my situation.  Learn more here:

http://www.johncongdon.com/php-excelreader-php-date-format-error/

Please make a backup of your version before attempting to use this patch, I don&#039;t want to be responsible for bad things happening... :)</description>
		<content:encoded><![CDATA[<p>I hope this helps someone.  I created a patch for Excel/reader.php that fixed the date fields in my situation.  Learn more here:</p>
<p><a href="http://www.johncongdon.com/php-excelreader-php-date-format-error/" rel="nofollow">http://www.johncongdon.com/php-excelreader-php-date-format-error/</a></p>
<p>Please make a backup of your version before attempting to use this patch, I don&#8217;t want to be responsible for bad things happening&#8230; <img src='http://amiworks.co.in/talk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mujahid</title>
		<link>http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/comment-page-2/#comment-69283</link>
		<dc:creator>Mujahid</dc:creator>
		<pubDate>Sun, 03 Jul 2011 09:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/#comment-69283</guid>
		<description>I have a few columns which have optional values and hence can be empty, how can i check that while inserting, it is giving the error 
&quot;Notice: Undefined offset: 2..&quot; 2 would be the column number where that particular cell is empty. plz its a little urgent</description>
		<content:encoded><![CDATA[<p>I have a few columns which have optional values and hence can be empty, how can i check that while inserting, it is giving the error<br />
&#8220;Notice: Undefined offset: 2..&#8221; 2 would be the column number where that particular cell is empty. plz its a little urgent</p>
]]></content:encoded>
	</item>
</channel>
</rss>

