On Wednesday 06 August 2003 11:11, John Nichel wrote:
4.3.2
Try disabling output buffer in php.ini.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
This is really scaring me as file redirection is one of the basic things in
linux.. anyways
I have a php script that outputs to stdout using echo.. when I run it using
php parser.php
I can see the output no problem. However, when I attempted to redirect to a
file using
php
try using fopen();
http://www.php.net/manual/en/function.fopen.php
- Original Message -
From: Joshua Moore-Oliva [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 3:37 PM
Subject: [PHP] Command line php output redirection.
This is really scaring me as file
Hello,
This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 23:48,
lines prefixed by '' were originally written by you.
php parser.php temp
temp only contains
Content-type: text/html
X-Powered-By: PHP/4.3.2
Maybe try using the -q parameter? what do you get then?
-q
That worked, thanks.
On June 25, 2003 07:16 pm, David Nicholson wrote:
Hello,
This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 23:48,
lines prefixed by '' were originally written by you.
php parser.php temp
temp only contains
Content-type: text/html
How do I capture standard input?
?php
$name = STDIN;
echo ( Hello . STDIN . \n );
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e
echo ( Hello . $name . \n );
John Nichel wrote:
How do I capture standard input?
?php
$name = STDIN;
echo ( Hello . STDIN . \n );
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
STDIN is a file reference. Use the standard file functions (fread, for
example) on it.
John Nichel wrote:
How do I capture standard input?
?php
$name = STDIN;
echo ( Hello . STDIN . \n );
?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to
if I do a...
$name = fread ( STDIN, sizeof ( STDIN ) );
I only get back the first character entered. How do I accept exactly
what is entered?
Leif K-Brooks wrote:
STDIN is a file reference. Use the standard file functions (fread,
for example) on it.
John Nichel wrote:
How do I capture
I did that orginally, but it waits for me to enter 255 characters before
closing the freadno matter how many times I hit enter.
Benny Pedersen wrote:
On Wednesday 02 April 2003 03:17, John Nichel wrote:
if I do a...
$name = fread ( STDIN, sizeof ( STDIN ) );
$name = fread ( STDIN, 255 );
Duh.
fgets, not fread
echo ( What is your name?\n );
$name = fgets ( STDIN );
echo ( Hello, . $name );
John Nichel wrote:
I did that orginally, but it waits for me to enter 255 characters before
closing the freadno matter how many times I hit enter.
Benny Pedersen wrote:
On
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Command line php
I did that orginally, but it waits for me to enter 255 characters before
closing the freadno matter how many times I hit enter.
Benny Pedersen wrote:
On Wednesday 02 April 2003 03:17, John Nichel wrote:
if I do a...
$name
101 - 112 of 112 matches
Mail list logo