drcslm Posted May 8, 2013 Share Posted May 8, 2013 arkadaşlar php ile word çıktısı almakta bir sıkıntım yok fakat sayfa kenarlıklarını ayarlayamıyorum bu konuda yardımcı olabilecek var mı? sabahtan bu yana bakmadığım yer kalmadı konu ile ilgili yardımcı olabilecek bir kaynak bulamadım. yardımcı olabilecek arkadaşlara şimdiden teşükker ederim Quote Link to comment Share on other sites More sharing options...
drcslm Posted May 8, 2013 Author Share Posted May 8, 2013 arkadaşlar sorumun cevabını güçte olsa yeni buldum lazım olacak arkadaşlar buradan alabilirler <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Kenarlık Deneme</title> <style> @page selim {size:595.3pt 841.9pt; margin:0.2cm 42.5pt 0.3cm 0.8cm;} div.selim {page:selim;} </style></head> <body > <? header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=1.doc"); ?><div class=selim> selim </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.