<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000637" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000637</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002748</link>
    <description> &lt;p&gt;Thanks!&lt;br /&gt;
Should have thought of that!&lt;/p&gt;
&lt;p&gt;How would I open it though? or would it open &amp;quot;prepared&amp;quot;?&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 May 1999 01:58:00 +0000</pubDate>
 <dc:creator>Dass</dc:creator>
 <guid isPermaLink="false">comment 1002748 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002744</link>
    <description> &lt;p&gt;The main problem is how will I collect all the values and keys inside the %associative arrays when im calling up the .txt and getting all the data?&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 May 1999 00:55:00 +0000</pubDate>
 <dc:creator>Dass</dc:creator>
 <guid isPermaLink="false">comment 1002744 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002747</link>
    <description> &lt;p&gt;My dirty trick for this problem is to use Perl to generate Perl source code that defines the associative array. You print that code in a file and you can simply require it to get the info.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
Malte Ubl - Germany&lt;br /&gt;
&lt;a href=&quot;http://goKewl.com/&quot; title=&quot;http://goKewl.com/&quot;&gt;http://goKewl.com/&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 May 1999 00:34:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1002747 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002746</link>
    <description> &lt;p&gt;I am using associative arrays because, I want the stats program to get how many people use a browser, and how many people came from the same http_refer&lt;/p&gt;
&lt;p&gt;for example.&lt;/p&gt;
&lt;p&gt;browsers, if the certain type of browser the visitor is not using isnt in the %associative array, than that KEY will be placed in it with a VALUE of 1. If a visitor comes using IE4, and IE4 is already in the array, than &lt;/p&gt;
&lt;p&gt;than 1 will be added to the value for IE4.&lt;/p&gt;
&lt;p&gt;Understand or no?&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 1999 19:05:00 +0000</pubDate>
 <dc:creator>Dass</dc:creator>
 <guid isPermaLink="false">comment 1002746 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002743</link>
    <description> &lt;p&gt;I think you should store everything in 5 files, once for each.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;strong&gt;Webmaster Resources - &lt;a href=&quot;directory.indexfinger.com&quot; class=&quot;bb-url&quot;&gt;directory.indexfinger.com&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Index Finger - &lt;a href=&quot;http://www.indexfinger.com&quot; class=&quot;bb-url&quot;&gt;indexfinger.com&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 1999 17:43:00 +0000</pubDate>
 <dc:creator>Joseph Bannon</dc:creator>
 <guid isPermaLink="false">comment 1002743 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002745</link>
    <description> &lt;p&gt;dass, let me ask a simple question: why do you want to use associative arrays at all???&lt;br /&gt;
if you store information like this:&lt;br /&gt;
file 1 = counting hits. as I interpreted your variable names, you will just need to get one number for totalhist, one for the each site the user came from.....&lt;br /&gt;
file 2= used browsers&lt;/p&gt;
&lt;p&gt;you&#039;ll have no problem anymore, do you?&lt;/p&gt;
&lt;p&gt;if this doesn&#039;t help or I misunderstood something, please tell me what kind of data you&#039;ll need for your statistics and we sure can help you more... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;cu&lt;br /&gt;
patrick&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 1999 17:12:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1002745 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002742</link>
    <description> &lt;p&gt;OK. So far there is not too much code, but I have begun creating a Site Statistics program.&lt;/p&gt;
&lt;p&gt;As for the split stuff.&lt;br /&gt;
$totalhits------Total # of hits&lt;/p&gt;
&lt;p&gt;$totaluniquehits-Totl # of Unique&lt;/p&gt;
&lt;p&gt;@uniquehits-contains an array of visitors REMOTE_HOST&lt;/p&gt;
&lt;p&gt;%browsers-an associative array of types of browsers as the keys, with values of how many people have used that browser&lt;/p&gt;
&lt;p&gt;%referdom -An associative array of where visitors came form, and how many visitors came from there as the value.&lt;/p&gt;
&lt;p&gt;Now, can all of this info be stored/used in the CGI program? or how else can I do this?&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 1999 01:11:00 +0000</pubDate>
 <dc:creator>Dass</dc:creator>
 <guid isPermaLink="false">comment 1002742 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002741</link>
    <description> &lt;p&gt;I think we should have an option to turn the smiles off.&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 1999 00:50:00 +0000</pubDate>
 <dc:creator>Joseph Bannon</dc:creator>
 <guid isPermaLink="false">comment 1002741 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/helping-split-helping-split#comment-1002740</link>
    <description> &lt;p&gt;Try this:&lt;/p&gt;
&lt;p&gt;open(FILE,&amp;quot;file.txt&amp;quot;);&lt;br /&gt;
@filedata = &amp;lt;FILE&amp;gt;;&lt;br /&gt;
close(FILE);&lt;/p&gt;
&lt;p&gt;($totalhits,$totaluniquehits,$uniquehits,$browsers,$referdom)=split(/:/,@filedata[0]);&lt;/p&gt;
&lt;p&gt;Without seeing the rest of the code, I can&#039;t really tell what you are trying to do.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;strong&gt;Webmaster Resources - &lt;a href=&quot;directory.indexfinger.com&quot; class=&quot;bb-url&quot;&gt;directory.indexfinger.com&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Index Finger - &lt;a href=&quot;http://www.indexfinger.com&quot; class=&quot;bb-url&quot;&gt;indexfinger.com&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 1999 00:49:00 +0000</pubDate>
 <dc:creator>Joseph Bannon</dc:creator>
 <guid isPermaLink="false">comment 1002740 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
