Header() generating word document

General discussions related to php

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 4
Joined: Wed Mar 06, 2013 5:19 am

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")?

php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

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.

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 4 guests