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 #175822 is a reply to message #175820] Thu, 27 October 2011 17:10 Go to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Pygmalion wrote:
> 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];
> }
> }

be aware that VMS text files are ...'interesting' with respect to
end-of-line characters.

http://www.process.com/techsupport/multinet/794/10.html

This may be an issue..you need to dig deeper.
[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 03:42:30 GMT 2024

Total time taken to generate the page: 0.03988 seconds