Re: Strange situation when saving a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please remove your 'this message is for the sole use of the person...'
thing or simply use a different account to ask questions..

On 8/29/06, Miguel Guirao <miguel.guirao@xxxxxxxxxxxxxxx> wrote:


Hi all,

I'm using ob_start() in order to save the content of a web page into a
variable string and then save it into a file in the file system. Every thing
is done OK. The only workaround I'm doing is adding a .doc file extension
when saving the file, in order to open the file in Word.

So you are adding a .doc extension so word can render the html file as
a wor doccument?


Once the file has been created and saved as I doc file (not a doc format!),
I e-mail it!

When the client gets the e-mail, he/she should open the file either by
saving the file to the local system or openning the file directly from the
e-mail attachment. Either way, I got a blank page in Word. If I open the
document directly from the web server, without having it sent by e-mail, it
opens correctly in Word. The only problem is when the file is been
emailed!!!

what you want to do is send the file you saved to a file as an
attatchment, if you are already doing so the problem is with how you
are composing the email that is sent to the client.

You are dealing with many issues, where the problem exists depends on
a lot of issues.

[snip]
Este mensaje es exclusivamente para el uso de la persona o entidad a quien esta dirigido;
[/snip]

again, do avoid using accounts that use this

Curt.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux