php-windows Digest 5 Sep 2004 03:34:22 -0000 Issue 2383

Topics (messages 24517 through 24519):

Re: Help required for developing word reports.
        24517 by: operationsengineer1.yahoo.com
        24518 by: CBharadwaj

Re: Converting a dos console batch file to aphp shell script
        24519 by: Jim MacDiarmid

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
does this article help?  just to get you thinking...  why do you *need* word?  are 
there any other reasonable alternatives?  could you format html so that it would print 
like word would print it?

CBharadwaj <[EMAIL PROTECTED]> wrote:Dear All,

I want to developing reports using PHP.
These reports i have to develop on MS WORD.

I have a database with multiple records

VAL 1 | VAL 2
-----------------
VAL3 | VAL 4
----------------
VAL 5 | VAL 6
How to print these multiple rows on word in this format.



Thanks in advance.
Bharadwaj.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

--- End Message ---
--- Begin Message ---
I can vey well generate reports in HTML formats. I want to generate only on MS WORD as 
it is a requirement of my client..
I have to do accordingly. I did not get your  Question " Does this article help ?".

Bye
Bharadwaj.
  ----- Original Message ----- 
  From: [EMAIL PROTECTED] 
  To: CBharadwaj ; Gryffyn, Trevor 
  Cc: [EMAIL PROTECTED] 
  Sent: Saturday, September 04, 2004 2:30 AM
  Subject: Re: [PHP-WIN] Help required for developing word reports.


  does this article help?  just to get you thinking...  why do you *need* word?  are 
there any other reasonable alternatives?  could you format html so that it would print 
like word would print it?

  CBharadwaj <[EMAIL PROTECTED]> wrote: 
    Dear All,

    I want to developing reports using PHP.
    These reports i have to develop on MS WORD.

    I have a database with multiple records

    VAL 1 | VAL 2
    -----------------
    VAL3 | VAL 4
    ----------------
    VAL 5 | VAL 6
    How to print these multiple rows on word in this format.



    Thanks in advance.
    Bharadwaj.

    -- 
    PHP Windows Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php




------------------------------------------------------------------------------
  Do you Yahoo!?
  New and Improved Yahoo! Mail - Send 10MB messages!

--- End Message ---
--- Begin Message ---
I tried using the PHP.exe in the \php\cli folder and it is displaying output
as I had expected it to.  

Jim

 
-----Original Message-----
From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 9:04 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Frank M. Kromann
Subject: RE: [PHP-WIN] Converting a dos console batch file to aphp shell
script

Good to know. But wouldn't "flush()" or something still have worked?

Maybe try isolating the issue, Jim.  Write a test script and slowly add
things to it until you get to the point where it's buffering too much.
Maybe it internally buffers whatever commands you're trying to run (you
using exec or something?) and doesn't hold it in the "output buffer" per se.
Maybe it's in a different buffer.  I don't know.

Mind posting some sample code for us to look at?

-TG

> -----Original Message-----
> From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 02, 2004 9:10 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Converting a dos console batch file to aphp 
> shell script
> 
> 
> There is another directive too:
> 
> ; Implicit flush tells PHP to tell the output layer to flush itself ; 
> automatically after every output block.  This is equivalent to calling 
> the ; PHP function flush() after each and every call to print() or 
> echo() and each ; and every HTML block.  Turning this option on has 
> serious performance ; implications and is generally recommended for 
> debugging purposes only.
> implicit_flush = Off
> 
> When you are using the CGI version this is off by default and the CLI 
> version sets this to on by default.
> 
> - Frank
> 
> 
> > Silly response, but did you try the "flush()" command?  
> > 
> > There's also a setting in the PHP.INI:
> > output_buffering = Off
> > 
> > Also check the Output Control Functions:
> > http://us4.php.net/manual/en/ref.outcontrol.php
> > 
> > Hope this helps!
> > 
> > -TG
> > 
> > > -----Original Message-----
> > > From: Jim MacDiarmid [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 02, 2004 11:31 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP-WIN] Converting a dos console batch file to a php 
> > > shell script
> > > 
> > > 
> > > 
> > > Hi everyone,
> > > 
> > > I've been searching for info to help me troubleshoot an issue I'm 
> > > having with displaying output to the console during script 
> > > processing, but I'm not having much luck. I'm hoping someone can 
> > > shed some light on this or point me in right direction.
> > > 
> > > I have a foreach construct that loops through an associative array 
> > > and calls a nested function. Inside the foreach loop I would like 
> > > to display
> the
> > > current array information that is being processed prior to passing 
> > > to the nested function call. The problem I'm running into is that 
> > > the output to the console window is delayed till after the forloop 
> > > as completed, as if it's being buffered then flushed at the end.
> > > 
> > > Any ideas how I can display information as processing occurs?
> > > 
> > > Thanks in advance,
> > > 
> > > Jim
> > > 
> > > --
> > > PHP Windows Mailing List (http://www.php.net/) To unsubscribe, 
> > > visit: http://www.php.net/unsub.php
> > > 
> > > 
> > 
> > --
> > PHP Windows Mailing List (http://www.php.net/) To unsubscribe, 
> > visit: http://www.php.net/unsub.php
> > 
> 
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: 
> http://www.php.net/unsub.php
> 
> 

--- End Message ---

Reply via email to