Hey Chris / Richard,
I was wondering if the different line endings
(dos/unix) might play a
factor but I doubt it.
Chris:
Ok, that really helped, I was testing the test.txt
file on my Win2k machine and was testing the whole
script on a FreeBSD machine... so I took the small
test and upped it
On Mon, May 15, 2006 7:30 am, Ryan A wrote:
The thing is, I thought this was bundled with the
standard package of PHP, if yes, why would anybody
want to turn this off?
PCRE got added after POSIX Regex had been in awhile.
There was some resistance to having two Regexes in PHP.
I think the
Hey,
On Mon, May 15, 2006 7:30 am, Ryan A wrote:
The thing is, I thought this was bundled with the
standard package of PHP, if yes, why would anybody
want to turn this off?
PCRE got added after POSIX Regex had been in awhile.
There was some resistance to having two Regexes in
PHP.
Hi,
This is my script:
(ryan_debug_write_to_file is my debug function that
writes stuff into a txt file instead of using a
print(), its working without a problem)
--
$stdin = fopen('php://stdin', 'r');
while ($line = fgets($stdin))
{
$line=trim($line);
Ryan A wrote:
Hi,
This is my script:
(ryan_debug_write_to_file is my debug function that
writes stuff into a txt file instead of using a
print(), its working without a problem)
--
$stdin = fopen('php://stdin', 'r');
while ($line = fgets($stdin))
{
On Sun, May 14, 2006 7:51 pm, Ryan A wrote:
--
$stdin = fopen('php://stdin', 'r');
while ($line = fgets($stdin))
{
$line=trim($line);
ryan_debug_write_to_file('In while(),STDIN,
Start..'.$line.'---End ');
You *DO* see this bit in the log right?...
6 matches
Mail list logo