[PHP] How to set paper size for PDF?

2002-10-31 Thread Drew Kime
I can set the page size with pdf_begin_page(), but if I set it to legal size I still have to change the printer setting to select the correct paper. Otherwise it just scales the page down to fit letter paper. Someone has insisted they've seen PDFs that automatically select the proper paper, bu

Re: [PHP] HTML Post

2002-10-30 Thread Drew Kime
aders retrieved from the POST operation are displayed on the page. Is this because of how I have my server configured? Or is there some run-tim way to tell the server to *not* generate headers, but simply send the specified text (including the headers) to the browser? Drew Kime -- PHP G

Re: [PHP] How to pass data without headers

2002-10-28 Thread Drew Kime
Chris Shiflett wrote: You can use the explode() function to separate the content part of the response, which is what you're interested in. Here's a similar example that only returns the content: http://shiflett.org/tutorials/php_post.txt Thanks, that's nearly what I need. But it seems there a

[PHP] How to pass data without headers

2002-10-28 Thread Drew Kime
I've used the example function in the 08 Jul 200 user note at http://www.php.net/manual/en/ref.sockets.php and have a problem with the headers. The '$buf' value includes the headers sent by 'search.php'. When I echo it, the server first sends the headers, then it echos the contents of '$buf' w