.
Alejandro MS
-Mensagem original-
De: Jim Giner [mailto:jim.gi...@albanyhandball.com]
Enviada em: quinta-feira, 5 de janeiro de 2012 17:13
Para: Alejandro Michelin Salomon
Assunto: Re: [PHP] Printing
I don't know what you mean. How do I create a pdf with php? Do I have to
have my host
My first attempt to print something to a printer.
I actually just went ahead and tried this from my website:
$hdl = printer_open();
printer_write($hdl,This is my printed page);
printer_write($hdl,This is line 1);
printer_write($hdl,This is line 2);
printer_write($hdl,This is line 3);
On Thu, Jan 5, 2012 at 8:35 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
My first attempt to print something to a printer.
I actually just went ahead and tried this from my website:
$hdl = printer_open();
printer_write($hdl,This is my printed page);
printer_write($hdl,This is line 1);
Add extension=php_printer.dll in php.ini?
Will adding that line install the extension?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Jan 5, 2012 at 9:05 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
Add extension=php_printer.dll in php.ini?
Will adding that line install the extension?
It will enable the extension. Install = compile + enable. It will
not work if you don't have the DLL.
--
Nilesh Govindarajan
To: Jim Giner jim.gi...@albanyhandball.com
Cc: php-general@lists.php.net
Sent: Thursday, January 05, 2012 10:42 AM
Subject: Re: [PHP] Printing
On Thu, Jan 5, 2012 at 9:05 PM, Jim Giner jim.gi...@albanyhandball.com
wrote:
Add extension=php_printer.dll in php.ini?
Will adding that line
didn't tell me anything other than it had to be enabled.
- Original Message - From: Nilesh Govindarajan
cont...@nileshgr.com
To: Jim Giner jim.gi...@albanyhandball.com
Cc: php-general@lists.php.net
Sent: Thursday, January 05, 2012 10:42 AM
Subject: Re: [PHP] Printing
On Thu, Jan 5, 2012
I can't tell you much on this, because I don't use windows. You have
to get the source at http://pecl.php.net/printer and compile it. I
don't know the procedure, etc.
--
Nilesh Govindarajan
http://nileshgr.com
That was a short trip. Clicked on the link for documentation and it takes
me
, 2012 10:55 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Printing
I can't tell you much on this, because I don't use windows. You have
to get the source at http://pecl.php.net/printer and compile it. I
don't know the procedure, etc.
--
Nilesh Govindarajan
http://nileshgr.com
Hi!
I have an app that needs to be created, and it is all running on linux.
I am sure I shoulnd't really write it using PHP, but it's kinda what I
know, and am familiar with... so I am thinking about doing with PHP.
Anyway, for simplicity sake, i am creating a pdf through php (no
problems there)
On Wed, 29 Dec 2010 10:36:30 -0500
Steve Staples sstap...@mnsi.net wrote:
Hi!
I have an app that needs to be created, and it is all running on
linux. I am sure I shoulnd't really write it using PHP, but it's
kinda what I know, and am familiar with... so I am thinking about
doing with PHP.
On Wed, Dec 29, 2010 at 10:36:30AM -0500, Steve Staples wrote:
Hi!
I have an app that needs to be created, and it is all running on linux.
I am sure I shoulnd't really write it using PHP, but it's kinda what I
know, and am familiar with... so I am thinking about doing with PHP.
Anyway,
On Wed, 2010-12-29 at 11:49 -0500, Paul M Foster wrote:
On Wed, Dec 29, 2010 at 10:36:30AM -0500, Steve Staples wrote:
Hi!
I have an app that needs to be created, and it is all running on linux.
I am sure I shoulnd't really write it using PHP, but it's kinda what I
know, and am
On 29 December 2010 17:24, Steve Staples sstap...@mnsi.net wrote:
I can create the PDF's no problem, it is just how to send the created
pdf to the printer to print (it is a label printer, printing 3x5 labels)
What type of printer? Some printers require their own language and
won't have any sort
On Wed, 2010-12-29 at 17:36 +, Richard Quadling wrote:
On 29 December 2010 17:24, Steve Staples sstap...@mnsi.net wrote:
I can create the PDF's no problem, it is just how to send the created
pdf to the printer to print (it is a label printer, printing 3x5 labels)
What type of printer?
On Wed, Dec 29, 2010 at 3:13 PM, Steve Staples sstap...@mnsi.net wrote:
On Wed, 2010-12-29 at 17:36 +, Richard Quadling wrote:
On 29 December 2010 17:24, Steve Staples sstap...@mnsi.net wrote:
I can create the PDF's no problem, it is just how to send the created
pdf to the printer to
On Wed, Dec 29, 2010 at 12:24:14PM -0500, Steve Staples wrote:
On Wed, 2010-12-29 at 11:49 -0500, Paul M Foster wrote:
On Wed, Dec 29, 2010 at 10:36:30AM -0500, Steve Staples wrote:
Hi!
I have an app that needs to be created, and it is all running on linux.
I am sure I shoulnd't
Ok, here is an interesting one...
I am building an application, that basically listens for input on 2 ip
addresses (not a problem there)... then it does a bunch of stuff, puts
info to a terminal window (again, i dont think this will be an issue)...
but then once the user says yep... print i need
On Fri, Oct 22, 2010 at 16:43, Steve Staples sstap...@mnsi.net wrote:
Ok, here is an interesting one...
I am building an application, that basically listens for input on 2 ip
addresses (not a problem there)... then it does a bunch of stuff, puts
info to a terminal window (again, i dont think
I need some guidance here. I've been fighting with this
problem for a few days now and not having a whole lot of luck. I have some,
but I run into issues sooner or later. So I'm hoping that someone here can
give me some ideas of how to better approach this, perhaps help with
Hello all,
Could someone please point me in the right direction for printing files
through PHP?
I already have my application setup so that it creates documents and saves
them to a folder. How would I go about printing all of the files in the
folder via PHP?
I've looked into the Print
On Wed, Dec 17, 2008 at 2:57 PM, Dan Shirah mrsqua...@gmail.com wrote:
Hello all,
Could someone please point me in the right direction for printing files
through PHP?
I already have my application setup so that it creates documents and saves
them to a folder. How would I go about printing
On Dec 17, 2008, at 2:57 PM, Dan Shirah wrote:
Hello all,
Could someone please point me in the right direction for printing
files
through PHP?
I already have my application setup so that it creates documents
and saves
them to a folder. How would I go about printing all of the files
[snip]
Could someone please point me in the right direction for printing files
through PHP?
I already have my application setup so that it creates documents and
saves
them to a folder. How would I go about printing all of the files in the
folder via PHP?
I've looked into the Print functions in
Do you want to print this on your office printer or on the website users
printer?
If you are looking for away to print it on their printer, why not just grab
all the files that need to be printed, make a PDF of it, and then use the
browsers print feature?
--
Jason Pruim
Does it save them to a folder on the server? Or does it save them on the
client?
If it is on the server then the server would have to send the docs to a
printer queue.
If it is on the client PHP cannot really do anything about. PHP cannot
force the client to print but it could send the
On Wed, Dec 17, 2008 at 3:16 PM, Dan Shirah mrsqua...@gmail.com wrote:
Do you want to print this on your office printer or on the website
users
printer?
If you are looking for away to print it on their printer, why not just
grab
all the files that need to be printed, make a PDF of
You can't, the best you can do is send the PDF down and let the user
choose to do with it what they will
--
Bastien
So you think I should try and look into a way to have FPDF append each
document to the already created document, and once all pages have been added
to the PDF force it
I did something similar, but it was some work I did for a company and the
application was an internal application that used PHP and a Java applet to
send the file to a workers local printer since it cant be accomplished by
PHP itself.
On Wed, Dec 17, 2008 at 3:30 PM, Dan Shirah
Dan Shirah wrote:
Hello all,
Could someone please point me in the right direction for printing files
through PHP?
On I project I recently worked on, I used php to read a template file
(rtf) and makes some changes and then save it in a folder on the server.
This was a windows machine and I
Thanks to all. That worked well. I just had to insert the stylesheet
link on each of a couple dozen pages, but it worked.
My pages were a little complicated and took some work - and could
probably use more but I'll deal with that as I go.
Some samples I found were very simple print
On Sat, 2008-11-08 at 08:01 -0500, Patrick Moloney wrote:
Ashley Sheridan wrote:
On Thu, 2008-11-06 at 22:35 +0100, Frank Arensmeier wrote:
6 nov 2008 kl. 21.21 skrev Patrick Moloney:
I'd like to enable my users to print individual web pages from their
browser. If they simply select
Ashley Sheridan wrote:
On Thu, 2008-11-06 at 22:35 +0100, Frank Arensmeier wrote:
6 nov 2008 kl. 21.21 skrev Patrick Moloney:
I'd like to enable my users to print individual web pages from their
browser. If they simply select the browser print button they don't
get all the text that is
I'd like to enable my users to print individual web pages from their
browser. If they simply select the browser print button they don't get
all the text that is displayed in a scrolling text area.
The web page is static html and css, in a php file.
--
PHP General Mailing List
[snip]
I'd like to enable my users to print individual web pages from their
browser. If they simply select the browser print button they don't get
all the text that is displayed in a scrolling text area.
The web page is static html and css, in a php file.
[/snip]
There are some very good
6 nov 2008 kl. 21.21 skrev Patrick Moloney:
I'd like to enable my users to print individual web pages from their
browser. If they simply select the browser print button they don't
get all the text that is displayed in a scrolling text area.
The web page is static html and css, in a php
On Thu, 2008-11-06 at 22:35 +0100, Frank Arensmeier wrote:
6 nov 2008 kl. 21.21 skrev Patrick Moloney:
I'd like to enable my users to print individual web pages from their
browser. If they simply select the browser print button they don't
get all the text that is displayed in a
I'm stuck... What is the best way to send a jpg to a printer with PHP? Looks
like it is only working with png and bmp...
--
Kyle Terry | www.kyleterry.com
This is my date array:
$months = array (1 = 'January', 'February', 'March', 'April', 'May',
'June', 'July', 'August', 'September', 'October', 'November',
'December');
This is my date select in the form:
echo 'select name=day';
for ($day = 1; $day = 31; $day++) {
echo option
I would suggest the time() value to be saved in your database. Since
the date() function can use that as the second parameter and you can
use any format date() allows. Or make your own.
Ólafur Waage
[EMAIL PROTECTED]
2008/8/31 Michael S. Dunsavage [EMAIL PROTECTED]:
This is my date array:
Michael S. Dunsavage schreef:
This is my date array:
$months = array (1 = 'January', 'February', 'March', 'April', 'May',
'June', 'July', 'August', 'September', 'October', 'November',
'December');
you want, if you ask me, to get you head round the following functions.
OK this is very general.
Whats the best way to do formatted printing via php?
In my case I have a postgre database that I connect to with a
php(naturally seeing as this is the php list).
My aim is to convert an Access db to php/postgre.
In this access db there are several reports that
On Jan 26, 2008 1:03 PM, Peter Jackson [EMAIL PROTECTED] wrote:
Whats the best way to do formatted printing via php?
You could try PDFlib().
Draw your reports to landscape formated pdf's and print them.
Oh and I'm aiming for a unix/windows outcome.
pdf is platform independent.
I hope this
On Sat, 2008-01-26 at 15:19 +0100, Floor Terra wrote:
On Jan 26, 2008 1:03 PM, Peter Jackson [EMAIL PROTECTED] wrote:
Whats the best way to do formatted printing via php?
You could try PDFlib().
Draw your reports to landscape formated pdf's and print them.
Oh and I'm aiming for a
Hi. I thought of this when I read the emails about using functions or
includes...
What are your thoughts about *printing* things from within functions? For
example:
?php
function printSomething () {
echo Something about nothing. ;
echo Another something.;
}
function something () {
Obviously, these are over-simplified functions, but you get the point.
Nonetheless, do you tend to print things within functions or pass the
results back and then print them? I understand it may depend on the
current
context, but which way do you lean and is one way or the other considered
karthi keyan wrote:
Hi,
Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()?
Regards,
KARTHIK.
-
Download prohibited? No problem! CHAT from any browser, without download.
Is this
karthi keyan wrote:
Is there any way to print the reason why the query has been failed, like the
way MySQL-PHP has mysql_error()?
Hmm, where to look for information on the MSSQL functions in PHP.
Hey, I got a crazy plan. Let's try looking in the MSSQL part of the PHP
manual. Come navigate
On Mon, June 4, 2007 11:02 pm, karthi keyan wrote:
Is there any way to print the reason why the query has been failed,
like the way MySQL-PHP has mysql_error()?
Gee, I dunno.
You think there might be?
Maybe it's in the manual?!
http://us2.php.net/manual/en/ref.mssql.php
There are only 40
Hi,
Is there any way to print the reason why the query has been failed, like the
way MySQL-PHP has mysql_error()?
Regards,
KARTHIK.
-
Download prohibited? No problem! CHAT from any browser, without download.
I am having a bit of a confusion printing the values of an array i have. When i
print_r this array it contains the following:
Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors]
= Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) )
I can get the values
On Monday 14 May 2007 18:41, Don Don wrote:
am thinking echo $arrayName['Errors']['ErrorId']; // should display the
value but it does not Anyone wants to shed more light ?
echo $arrayName['Errors'][0]['ErrorId']; // ??
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To
Don Don wrote:
I am having a bit of a confusion printing the values of an array i have. When i
print_r this array it contains the following:
Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) )
I can
oops ! [0]
cheers
Richard Davey [EMAIL PROTECTED] wrote:
Don Don wrote:
I am having a bit of a confusion printing the values of an array i have. When
i print_r this array it contains the following:
Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue
[Errors] =
Don Don wrote:
I am having a bit of a confusion printing the values of an
array i have. When i print_r this array it contains the following:
Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] =
TestValue [Errors] = Array ( [0] = Array ( [ErrorId] =
AD27JH [ErrorMsg] = OK ) ) )
I can
Don Don wrote:
I am having a bit of a confusion printing the values of an array i have. When i
print_r this array it contains the following:
Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) )
I can
Jim Lucas wrote:--
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Unknown
Malvolio,12th Night, III.iv
--
_
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/
Jim Lucas wrote:
suggestion for next time. echo a pre or plaintext tag out before
you echo your array next time and you will then see the nesting of the
arrays
Doing that would have made the answer to this question very obvious
You could also benefit from installing this very handy little
There's a one-to-many relationship between px_items.id and contacts.id, and I
want a printout of some data from each.
I want to print out the query results px_items.id field once and once only, but
the contacts.notes field many times, as there could be many entries.
Right now it prints out each
give this a shot
html
headtitleitems and notes/title/head
body
?php
$user=feeds;
$host=localhost;
$password=password;
$database = feeds;
$connection = mysql_connect($host,$user,$password) or die (couldn't connect to
server);
$db = mysql_select_db($database,$connection) or die (Couldn't select
$last_entry = 'an extremely unlikely entry';
while (list($entry, $note) = mysql_fetch_row($entries)){
if ($entry != $last_entry){
echo $entry;
$last_entry = $entry;
}
echo $note;
}
On Wed, April 25, 2007 1:35 pm, Thufir wrote:
There's a one-to-many relationship between
Hi,
We are in need of a printing functionality for our webpage.
The problem is that some of our pages has a greater width than a A4 paper
so not all of the content will be printed when using the built in printer
functionality in the browser.
Is there any useful script out there that can take the
Dear ALL,
I've an binary file with special (non-printable) characters including ''
'/' ''. I retrieve this file from the database, into a variable
$binaryFILE.
I then copy the content to a temporary file, opened with handle $handle :
if (!fwrite($handle, $binaryFILE)) {
echo Failed
Antonio Bassinger wrote:
Dear ALL,
I've an binary file with special (non-printable) characters including ''
'/' ''. I retrieve this file from the database, into a variable
those 3 chars are not non-printable (the fact that I see them in this email is
proof enough.
$binaryFILE.
I then
Antonio Bassinger a écrit :
Dear ALL,
I've an binary file with special (non-printable) characters including ''
'/' ''. I retrieve this file from the database, into a variable
$binaryFILE.
$binaryMS = explode(,$binaryMMS);
foreach ($binaryFILE as $ii)
{
echo $ii;
try this :
echo
At 10:16 AM + 7/11/06, Antonio Bassinger wrote:
Dear ALL,
I've an binary file with special (non-printable) characters including ''
'/' ''. I retrieve this file from the database, into a variable
$binaryFILE.
I then copy the content to a temporary file, opened with handle $handle :
if
weetat wrote:
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
weetat wrote:
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
Any way
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
Any way how to do this in
weetat wrote:
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
Any way
On Mon, July 3, 2006 3:53 am, weetat wrote:
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of
items
on the html page. And i have a print button , so that the user can
print
the html page to their
Hi
I am working on a project that creates invoices. It will allow the
client to print out these invoices after they have been created.
Something that I have always noticed is that when you print form the
internet you always get the site address and other info on the print out.
Is there a
On 5/3/06, Mace Eliason [EMAIL PROTECTED] wrote:
Hi
I am working on a project that creates invoices. It will allow the
client to print out these invoices after they have been created.
Something that I have always noticed is that when you print form the
internet you always get the site address
Couple of things you can try..
1. If you have control of the browsers being used, there may be a setting to
turn off the address printing (I seem to remember something like that.. but
don't remember what browser it was).
2. CSS2 has some print control functionality that might help
3. (more
Hi Steve,
This seems to be a good alternative. I've found pdflib($), ezPDF (dead?) e
this fpdf as different ways to generate pdf.
One drawback is that I'd have to construct all my documents 'by hand'. For
trully dynamic this is no problem but for those that only differs at the
name of the
I am currently migrating an application originally written with Delphi to
PHP. Everything is going fine except the printing of the reports that does
not produce the same visual result (i.e does not look the same or has some
aligmment issues).
We generate all of our printed reports using FPDF
Hi,
I am currently migrating an application originally written with Delphi to
PHP. Everything is going fine except the printing of the reports that does
not produce the same visual result (i.e does not look the same or has some
aligmment issues).
From what I've read I should use CSS to achieve
I agree with the previous responder, foreach() is the way to go. Here's the doc
page:
http://uk2.php.net/manual/en/control-structures.foreach.php
To get the keys, use the examples that are use $key = $value.
Assuming your array is in $infoArr, you'd do this:
foreach ($infoArr as $category =
Hi
i need some help with printing an array, i would like to print the
keys and the values of them
example :
if i have an array like that
[EXTENDED] = Array
(
[RTCode] = CASE395
[ManuPartNum]
read about foreach function.
Zareef Ahmd
- Original Message -
From: Ahmed Abdel-Aliem [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, January 05, 2006 7:58 PM
Subject: [PHP] printing keys and values of array
Hi
i need some help with printing an array, i would like
-Original Message-
i need some help with printing an array, i would like to
print the keys and the values of them example :
I use the dump_array posted by examancer at the following address:
http://www.phpbuilder.com/board/showthread.php?t=10213508 when
debugging, it should work well
Ahmed Abdel-Aliem wrote:
...
and i like to print it this way
RTCode:CASE395
...
foreach($array as $key=$value){echo $key.':'.$value;}
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I have developed this form where people click the check boxes of interested
phone numbers which gets emailed to me.
My ACT guys tells me I need to print all the Check Box values as unique fields
for his intake.
I have posted the problem in detail in following URL:
On Sun, November 13, 2005 8:20 am, Marcus Bointon wrote:
On 13 Nov 2005, at 00:17, Jasper Bryant-Greene wrote:
seem to do that. I just tried application/text since I use
application/pdf for other applications.
Whatever it's giving the user the ability to do, it's probably
because the
On Sun, November 13, 2005 1:53 pm, Marcus Bointon wrote:
On 13 Nov 2005, at 19:27, Jasper Bryant-Greene wrote:
Many thanks! I did not know that MIME-Type. Change duly made!
You're not suggesting that you actually set the MIME-Type to
application/force-download, are you?
I think he
On Sun, November 13, 2005 4:55 pm, Todd Cary wrote:
Because this was just a test of what will be many print lines. The
original application used a file to hold the data and upon request by
the user, it was emailed. But with my client's shared server, files
cannot be opened...a pain.
If you
On 14 Nov 2005, at 19:01, Richard Lynch wrote:
It may not be my final choice whether they download or not, but if a
browser doesn't treat:
application/octet-stream
as a download, and only as a download, then that browser is pretty
broken.
Letting the user configure their browser for that MIME
On 13 Nov 2005, at 00:17, Jasper Bryant-Greene wrote:
seem to do that. I just tried application/text since I use
application/pdf for other applications.
Whatever it's giving the user the ability to do, it's probably
because the browser doesn't recognise the (invalid) MIME-Type.
Quite -
Marcus -
Many thanks! I did not know that MIME-Type. Change duly made!
Todd
Marcus Bointon wrote:
On 13 Nov 2005, at 00:17, Jasper Bryant-Greene wrote:
seem to do that. I just tried application/text since I use
application/pdf for other applications.
Whatever it's giving the user
Todd Cary wrote:
Marcus -
Many thanks! I did not know that MIME-Type. Change duly made!
You're not suggesting that you actually set the MIME-Type to
application/force-download, are you?
Todd
Marcus Bointon wrote:
On 13 Nov 2005, at 00:17, Jasper Bryant-Greene wrote:
seem to do
On 13 Nov 2005, at 19:27, Jasper Bryant-Greene wrote:
Many thanks! I did not know that MIME-Type. Change duly made!
You're not suggesting that you actually set the MIME-Type to
application/force-download, are you?
I think he is. I've called the MIME-type police and they'll be round
Just before the police knocked at my door, I made a few changes!
?
ob_start();
print This is a testbr;
$buf = ob_get_contents();
$len = strlen($buf);
ob_end_clean();
header(Content-type: text/plain);
header(Content-Length: $len);
header(Content-Disposition: attachment;
call me stupid, but why don't you do it like this:
$buf = This is a testbr;
header(Content-type: text/plain);
header(Content-Length: .strlen($buf));
header(Content-Disposition: attachment; filename=sfyc.html);
echo $buf;
??
looks easier to me... no output buffering required...
Todd Cary wrote:
Because this was just a test of what will be many print lines. The
original application used a file to hold the data and upon request by
the user, it was emailed. But with my client's shared server, files
cannot be opened...a pain.
If you have a better solution, I am open to other ideas.
My client's new shared server does not allow printing to a file, so I
want my print statement to print to a buffer, then I'll send it to the
user via Headers. This does not work since print does no go to the
buffer, or at least appears not to: I get the errors from the header
statements;
?
Todd Cary wrote:
My client's new shared server does not allow printing to a file, so I
want my print statement to print to a buffer, then I'll send it to the
user via Headers. This does not work since print does no go to the
buffer, or at least appears not to: I get the errors from the header
-Original Message-
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
[snip]
application/text isn't a MIME-Type, is it? Do you mean text/plain?
[/snip]
Or maybe text/html?
Sent: 12 November 2005 22:46
To: Todd Cary
Cc: php-general@lists.php.net
Subject: Re: [PHP] Printing
Yup! It was the missing parentheses! Works as planned.
Many thanks
The application/text gives the user the ability; text/plain does not
seem to do that. I just tried application/text since I use
application/pdf for other applications.
Todd
Jasper Bryant-Greene wrote:
Todd Cary
Todd Cary wrote:
Yup! It was the missing parentheses! Works as planned.
Many thanks
The application/text gives the user the ability; text/plain does not
The ability to...?
seem to do that. I just tried application/text since I use
application/pdf for other applications.
Whatever
On Fri, October 28, 2005 6:17 am, Tom Cruickshank wrote:
I've been reading up on printing out documents using PHP (using
Printer
functions calls in the php manual)
I'm using a Linux and/or FreeBSD operating system to run my php code
on (in
apache). However, I am surfing these pages
1 - 100 of 309 matches
Mail list logo