FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Simple PHP script - VMS problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Simple PHP script - VMS problem [message #175820 is a reply to message #175819] Thu, 27 October 2011 14:49 Go to previous messageGo to previous message
Pygmalion is currently offline  Pygmalion
Messages: 2
Registered: October 2011
Karma:
Junior Member
I just figure out that it might just as well be a read problem (reads
only first line or reads all lines as one):

while ($Line = fgets($fp, 999))
{
// split lines into identifier/counter
if (ereg("([^ ]*) = *([0-9]*)", $Line, $tmp))
{
$CArr["$tmp[1]"] = $tmp[2];
}
}
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: My first PHP Script...
Next Topic: ZIP file download
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 06:42:04 GMT 2024

Total time taken to generate the page: 0.05251 seconds