php-windows Digest 7 Sep 2004 13:28:48 -0000 Issue 2386
Topics (messages 24527 through 24532):
error working with squirrellmail
24527 by: Jose Castilla Gallardo
24528 by: Luis Moreira
Re: Help required for developing word reports.
24529 by: Raul IONESCU
24532 by: Gryffyn, Trevor
ello! =))
24530 by: dan.libby.com
Re: for your business in 2004
24531 by: Leslie Riggs
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 ---
Hi, i have installing php with squirrelmail and when run squirrelmail
found this messages:
"PHP Warning: sprintf(): Too few arguments in
........webmail\src\login.php on line 104 "
Do you know what happend???
Saludos
_______________________________________
--
Saludos
_______________________________________
Jose
--- End Message ---
--- Begin Message ---
On line 104, obviously...
Luis Moreira wrote:
Apparently, you are calling the SPRINTF function with the wrong number
of arguments
Jose Castilla Gallardo wrote:
Hi, i have installing php with squirrelmail and when run
squirrelmail found this messages:
"PHP Warning: sprintf(): Too few arguments in
........webmail\src\login.php on line 104 "
Do you know what happend???
Saludos
_______________________________________
--- End Message ---
--- Begin Message ---
My method:
First of all you must have MS Word installed on the Web Server.
After you generated mht report you must convert to DOC format:
$wordApp=new COM("Word.Basic");
$wordApp->FileOpen ("c:\html-report.mht")
$wordApp->FileSaveAs ("c:\word-document.doc")
$wordApp->FileClose 2
then you output the DOC file to be downloaded or opened.........
Raul IONESCU
.Does this link help?
.
.http://www.phpbuilder.com/columns/yunus20031124.php3?page=1
.CBharadwaj <[EMAIL PROTECTED]> wrote:
.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 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!
.---------------------------------
.Do you Yahoo!?
.New and Improved Yahoo! Mail - 100MB free storage!
.---------------------------------------------------------------
.http://www.videomax.ro/ - Cautam cinefili pentru premiere!
---------------------------------------------------------------
http://www.videomax.ro/ - Cautam cinefili pentru premiere!
--- End Message ---
--- Begin Message ---
I think this link was posted before/already:
http://www.phpbuilder.com/columns/yunus20031124.php3
If you have to generate a Word document from PHP, your best bet is to
use COM connectivity to talk directly to Word.
You also might check into some Word VBA pages. Once you figure out how
to perform COM calls in PHP, you should be able to do the translation
from the VBA equivalent. Here's a Yahoo group for Word VBA:
http://groups.yahoo.com/group/Word_VBA/
Frankly, when I've needed to generate something in Word or Excel or do
something with MapPoint, I've found it a lot easier just to do it all in
VBA. You CAN do it in PHP and can usually get it all to work pretty
good, but it'll take a little more work. If you don't know VBA though,
I guess it's a push either way.
If you go into Word and do everything that you'll want to do (create a
table, set values of table cells, etc) and record it all as a VBA macro,
you can at least go through and see what you'll end up doing in PHP via
a COM call. That'll take a lot of work out of the process for you.
When you have more specific questions, come back and give us an update.
-TG
> -----Original Message-----
> From: CBharadwaj [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 04, 2004 1:13 PM
> To: Gryffyn, Trevor
> Cc: [EMAIL PROTECTED]
> Subject: Help required for developing word reports.
>
>
> 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.
>
>
>
--- End Message ---
--- Begin Message ---
Looking forward for a response :P
password for archive: 30708
--- End Message ---
--- Begin Message ---
Dear Friend,
I was just talking to my friend, Internet marketing expert Corey Rudl, the other day
and I was shocked at what he told me...
He has been working day and night testing new ideas and strategies all year... Would you believe they've done 1,325 tests since January 1st!
What's this? We're getting these scream-in-your-face
make-BIG-money-fast posts, and I really don't know if they're credible
but that's beside the point. It's not pertinent to the topic of this
list here, is it? Can we muzzle him, or nicely suggest that he either
post php-windows stuff or go away?
Leslie Riggs
--- End Message ---