Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Header() generating word document

General discussions related to php

Moderators: macek, egami, gesf

Header() generating word document

Postby jean » Mon Mar 11, 2013 7:09 am

Hi guys !!


i want to know how can i control a sheet height and width of word document using header("Content-Type: application/msword")?
jean
New php-forum User
New php-forum User
 
Posts: 4
Joined: Wed Mar 06, 2013 5:19 am

Re: Header() generating word document

Postby johnj » Tue Mar 12, 2013 9:00 pm

The header() in php is to send a raw http header. I am not sure how you can specify the sheet height and width here. For that, you want to try using a stylesheet.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to PHP General

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron