html2excel conversion problem



Hello PHP Masters,

Sorry to bother you but after googling into googles groups during hours
you are my last chance to find a clue to my problem. Since english is
not my natural language do not hesitate to let me know if my question
is not clear.

So Here is my problem:
I wrote a file that converts a html table into an excel file. In this
table there is a picture.
The source code is just below. if you load it with IE or FF a dialog
box appears in order to save/open the created excel file :

<?php
header("Content-Type: application/vnd.ms-excel; name='excel'");
header("Content-Disposition: attachment; filename=exceldisplay.xls");
print "
<html>
<head>
</head>
<body>
<table>
<tr>
<td>
<img
src='http://www.phpteam.wdmedia-hebergement.net/templates/phpteam/images/phpteam_high.gif'>

</td>
</tr>
</body>
</html>
";
?>


My problem is that if in the futur the user want to open the saved
excel file he won't be able to see the pictures if his computer is not
connected to the internet network.
In fact it seems that the generated excel file still use the http
adress source
('http://www.phpteam.wdmedia-hebergement.net/templates/phpteam/images/phpteam_high.gif')
of the picture to display it.
So do you know if there is any clue to create an excel file from html
code that "keep in memory the pictures" in order to display the
pictures in any kind of situations.

Any help would be very very very appreciate.

And do not hesitate to ask if you want me to clarify my question.

Fred

.



Relevant Pages

  • Re: Mail merge pictures - missing links
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... Do I need a field in my excel file relating to the pictures? ...
    (microsoft.public.word.mailmerge.fields)
  • Re: thread was being aborted
    ... but the HTML returned to the ... >>I have some code that creates and writes to an excel file. ... >>response.endto avoid HTML in the Excel document, I get an exception: ... >> Dim dr As DataRow, aryAs Object, i As Integer ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Asp.Net : html to excel problem
    ... Hi Henrik! ... The Excel Report is saved perfectly. ... code to generate the second html table and output it on the screen. ... > ...lines are streamed to that excel file. ...
    (microsoft.public.dotnet.general)
  • Re: dataset to exel issue
    ... single space even if they appear in the source. ... > html and then opening the html file using the Excel ... > single space in the excel file. ... > space between the word Respondent and 1. ...
    (microsoft.public.excel.programming)
  • RE: Auto Edit HTML Page
    ... I can tag the HTML elements with ID'd. ... > web page on the website to using an Excel file. ... > they want to download it unless they install a Plug In. ... >>I have a macro that updates data on a sheet. ...
    (microsoft.public.excel.programming)