Senior & Expert PHP Developers Discussion Forum by Nyros Technologies

HIRE PHP Expert Developers Programmers Coders From India
PHP .Net Ruby on Rails Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

Creating an HTML file with images to view in Excel!

 
Post new topic   Reply to topic    Senior & Expert PHP Developers Discussion Forum by Nyros Technologies Index -> Content Management Systems
View previous topic :: View next topic  
Author Message
aims



Joined: 04 Feb 2010
Posts: 1
Location: Bournemouth

PostPosted: Thu Feb 04, 2010 3:08 pm    Post subject: Creating an HTML file with images to view in Excel! Reply with quote

Hi, Im hoping someone can help me with this as I can't find a "simple" solution to this anywhere. We create reports based on content managed data that create tab separated data for the user to view in Excel. The problem was that then the client wanted a logo and formatting on that data in Excel. So we have generated the data as HTML tables instead, but then still save the HTML as Excel anyway using headers.

header("Content-Type: application/vnd.ms-excel");
header("Content-disposition: attachment; filename=$filename");

This works fine with all the formatting, and the img tag logo displays fine in Excel on a PC. But on a Mac you get a missing image box and an error message. I presume this is some kind of security thing, stopping the Excel from calling an online image? So I have started researching a way around this and can't find anything! Everyone just says to call the image online to insert an image into Excel, which is obviously what I am doing. There seems to be no one else reporting this Mac problem. The only solutions I have found involve a re-write using purchased software. Does anyone have any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert PHP Developers Discussion Forum by Nyros Technologies Index -> Content Management Systems
Page 1 of 1

 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts how to delete plugins in openinviter
2 aababu 233 Wed Sep 01, 2010 7:27 am
aartylamba View latest post
No new posts ERROR IN PAYPAL PRO
0 tapati 20 Tue Aug 31, 2010 12:35 pm
tapati View latest post
No new posts file_exists always return false
0 orenk 114 Mon Aug 16, 2010 9:49 pm
orenk View latest post
No new posts problem with include fuction
0 bluearrow 117 Mon Aug 16, 2010 1:02 pm
bluearrow View latest post
No new posts Javascript not working in smarty .tpl files
1 samir 107 Mon Aug 16, 2010 5:42 am
venkatadapa View latest post
No new posts Add slashes automatically to all post params
0 samir 111 Mon Aug 16, 2010 5:18 am
samir View latest post
No new posts SMTP server settings when send mails through phpmailer class
0 venkatadapa 96 Mon Aug 16, 2010 4:49 am
venkatadapa View latest post
No new posts Parse the xml string content and display in browser using JS
0 venkatadapa 114 Mon Aug 09, 2010 1:22 pm
venkatadapa View latest post
No new posts Parse the xml file content and display in browser using JS
0 venkatadapa 119 Mon Aug 09, 2010 1:18 pm
venkatadapa View latest post
No new posts hipay
1 hassene003 142 Mon Aug 09, 2010 12:35 pm
aababu View latest post





Hire an expert PHP developer / coder / programmer or development team from India now!!

Other Forums : Ruby on Rails   ::   .Net   |   Free unlimited HTML CSS Joomla Wordpress Drupal templates download

Nyros Technologies   |   Developers Blog   |   Kakinada City Portal   |   About PHP Experts   |   More