<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1018685" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1018685</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/included-contents-global#comment-1110262</link>
    <description> &lt;p&gt;I am doing this because I am having trouble doing it the database way andsince i am going away next week would like something up there that would work, but works properly.&lt;/p&gt;
&lt;p&gt;The php manual is very good but is like a dictionary, trying to find a word you dont know how to spell.&lt;/p&gt;
 </description>
     <pubDate>Tue, 11 Jun 2002 05:04:34 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1110262 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/included-contents-global#comment-1110240</link>
    <description> &lt;p&gt;other than reading the file and counting the lines, as you pointed out above, i dont think you can do this.  you cant get the sizeof an array that doesnt exist.&lt;/p&gt;
&lt;p&gt;why do you need to do this?&lt;/p&gt;
 </description>
     <pubDate>Mon, 10 Jun 2002 14:10:06 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1110240 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/included-contents-global#comment-1110233</link>
    <description> &lt;p&gt;I found something that will work with a bit of tweaking&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$data_file &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;list.inc.php\&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$the_list&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = file(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$data_file&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$list_total&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = sizeof(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$the_list&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;and the echo $list_total works but counts every line in the file, not the actual arrays lines. it works if i put the first and last lines on the same line as the first and last element.&lt;/p&gt;
&lt;p&gt;Is there a better way, more true method?&lt;/p&gt;
 </description>
     <pubDate>Mon, 10 Jun 2002 05:58:13 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1110233 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/included-contents-global#comment-1110232</link>
    <description> &lt;p&gt;I know the filesize (200kb) but in that file is one big array, I need to disply the sizeof() results on another page without including that page if I can help it.&lt;/p&gt;
&lt;p&gt;Thanks anyway&lt;/p&gt;
 </description>
     <pubDate>Mon, 10 Jun 2002 05:05:44 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1110232 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/included-contents-global#comment-1110213</link>
    <description> &lt;p&gt;not sure exactly what you&#039;re asking.  you can get the filesize of a file like so:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$size &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;filesize&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/path/to/the/file&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 09 Jun 2002 14:06:03 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1110213 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
