Ok, now I got it.
I already knew that the newline is coded differently in Unix/Win/Mac. But I
did not know, that in PHP on Win32 "\n" is 0D 0A when outputed, but 0A
otherwise. Confusing...
Hannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Hi!
$astrData = file($astrCounterFile[$i]);
echo "|\n|";
echo "|" . $astrData[0] . "|";
echo "|" . $astrData[1] . "|";
//$astrData[1] = "\n";
//echo "|" . $astrData[1] . "|";
echo "|" . $astrData[2] . "|";
for($k = 0; strcmp($astrData[$k] , "\n") && ($k < 50); $k++)
// for($k = 0; ($astrData[$
>What about using classes instead of outer functions? Classes provide
>rather nice (nestable) scoping.
You're right! If I had written it from scratch classes would be the best
way!
Although, I'm a newbie and I haven't read the PHP object oriented capter yet
;-).
Hannes
--
PHP General Mailing
elias wrote:
> good question...I might need an answer when you get one.
Why?
Ok, I have a perl-counter script which is included to shtml-pages with SSI.
Now I want to add some PHP pages to my site. So I need a PHP-function that
does the same as the perl-script does. In the script I have a lot of
4 matches
Mail list logo