FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP: convert a page to pdf
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PHP: convert a page to pdf [message #180945] Thu, 28 March 2013 08:40 Go to next message
badmus aliu is currently offline  badmus aliu
Messages: 1
Registered: March 2013
Karma: 0
Junior Member
can anyone help me on how to convert a database driven page to pdf using php
Re: PHP: convert a page to pdf [message #180946 is a reply to message #180945] Thu, 28 March 2013 10:57 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 08:40, badmus aliu wrote:
> can anyone help me on how to convert a database driven page to pdf using php
>
google PDFliblite - its a free version of a commercial library that
gives you the tools to make a reasonable PDF page.


http://www.pdflib.com/download/free-software/pdflib-lite-7/
http://pecl.php.net/package/pdflib


Its not to be used for profit - then you should buy the commercial version.

You may need to install a few fonts on your web server as well as the
library and the PHP library shims if you want to use fonts other than
the basic postcript ones. All of this is a bit clunky, but once there it
works.

here is a library in PDF I created to print, download or email invoices
as PDF attachments. Using the PDFliblite functions as primitives.

<?php
// Here we go then. Simple functions to set up text an images into PDF
format.
// Probably worth having some global variables../

$font=0; //current font handle
$fontstyle="normal";
$fontpoint=10;
$pdf=""; // the current resource.

function setfont($size,$weight)
{
global $fontpoint;
$fontpoint=$size;
global $fontstyle;
global $font;
global $pdf;
if ($fontstyle!=$weight)
{
if ($weight=='normal')
$font=pdf_load_font($pdf,"Helvetica","iso8859-1","");
else if ($weight=='bold')
$font=pdf_load_font($pdf,"Helvetica-Bold","iso8859-1","");
else if ($weight=='italic')
$font=pdf_load_font($pdf,"Helvetica-Oblique","iso8859-1","");
else if ($weight=='bold-italic')
$font=pdf_load_font($pdf,"Helvetica-BoldOblique","iso8859-1","");
$fontstyle=$weight;
}
pdf_setfont($pdf,$font,$fontpoint);
}

function end_page()
{
global $pdf;
PDF_end_page($pdf);
}
function close_document()
{
global $pdf;
pdf_close($pdf);
}
function new_page($title)
{
global $font,$fontweight,$fontstyle,$fontpoint,$pdf;
pdf_begin_page($pdf,595,842);
box(15,750,565,50,"#D0D0D0",0);
setfont(14,'bold');
$img=pdf_load_image($pdf,"gif","../Images/Logo2.gif","" );
pdf_place_image($pdf,$img,25,777,0.10);
text(297.5,760,$title,'centre');
setfont(8,'normal');
date_default_timezone_set ("Europe/London");
text(470,790,date("G:i T: D M d Y"),'left');
}
function new_document()
{
global $pdf;
$pdf=PDF_new();
pdf_begin_document($pdf,"","compatibility=1.5");
}

function text($x,$y,$text,$align)
{
global $pdf,$font,$fontpoint;
pdf_setfont($pdf,$font,$fontpoint);
// $text=mb_convert_encoding($text, "ISO-8859-1","UTF-8");
if($align=='right')
$x-=pdf_stringwidth($pdf,$text,$font,$fontpoint);
else if ($align=='centre')
$x-=pdf_stringwidth($pdf,$text,$font,$fontpoint)/2;
pdf_show_xy($pdf,$text,$x,$y);
return pdf_stringwidth($pdf,$text,$font,$fontpoint);
}

function box($x,$y,$width,$height,$color) // color is #XXXXXX
{
global $pdf;
setcolor($color);
pdf_rect($pdf,$x,$y,$width,$height);
pdf_fill($pdf);
setcolor("#000000"); // back to black.
}
function setcolor($color)
{
global $pdf;
$string = str_replace("#","",$color);
$red = hexdec(substr($string,0,2)) / 255;
$green = hexdec(substr($string,2,2)) / 255;
$blue = hexdec(substr($string,4,2)) / 255;
pdf_setcolor($pdf,"fill",'rgb', $red, $green, $blue,0);
}
function send_pdf_file($name)
{
global $pdf;
$buf = PDF_get_buffer($pdf);
$len = strlen($buf);
header("Content-type: application/pdf");
header("Content-Length: $len");
header("Content-Disposition: inline; filename=\"".$name.".pdf\"");
print $buf;
}
function print_pdf_file($printer)
{
global $pdf;
$buf = PDF_get_buffer($pdf);
$len=strlen($buf);
$handle=popen("/usr/bin/lp -o sides=one-sided -d ".$printer." -- -", 'w');
fwrite($handle,$buf);
}

function mail_pdf_file($email, $subject,$from,$return_path,$body,$filename)
{
global $pdf;
$buf=PDF_get_buffer($pdf);
$attach=chunk_split( base64_encode($buf),72, "\n");
$boundary = md5( time() );
$headers = sprintf("From: %s\nMIME-Version: 1.0\nContent-Type:
multipart/mixed; boundary=\"%s\"",
$from, $boundary);
$message = sprintf("\nThis is a multi-part message in MIME
format.\n--%s\nContent-Type: text/plain; charset=UTF-8;
format=flowed\nContent-Transfer-Encoding:
7bit\n\n%s\n\n--%s\nContent-Type: application/pdf;
name=\"%s\"\nContent-Disposition: inline;
filename=\"%s\"\nContent-Transfer-Encoding: base64\n\n%s\n\n--%s--\n",
$boundary,$body,$boundary,$filename, $filename,$attach,$boundary);
mail($email, $subject, $message, $headers, "-f ".$return_path );
}
?>



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [message #180947 is a reply to message #180946] Thu, 28 March 2013 11:15 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 10:57, The Natural Philosopher wrote:
> On 28/03/13 08:40, badmus aliu wrote:
>> can anyone help me on how to convert a database driven page to pdf
>> using php
>>
> google PDFliblite - its a free version of a commercial library that
> gives you the tools to make a reasonable PDF page.
>
>
> http://www.pdflib.com/download/free-software/pdflib-lite-7/
> http://pecl.php.net/package/pdflib
>
>
> Its not to be used for profit - then you should buy the commercial version.
>
> You may need to install a few fonts on your web server as well as the
> library and the PHP library shims if you want to use fonts other than
> the basic postcript ones. All of this is a bit clunky, but once there it
> works.
>
> here is a library in PDF I created to print, download or email invoices
> as PDF attachments. Using the PDFliblite functions as primitives.
>
> <?php
> // Here we go then. Simple functions to set up text an images into PDF
> format.
> // Probably worth having some global variables../
>
> $font=0; //current font handle
> $fontstyle="normal";
> $fontpoint=10;
> $pdf=""; // the current resource.
>
> function setfont($size,$weight)
> {
> global $fontpoint;
> $fontpoint=$size;
> global $fontstyle;
> global $font;
> global $pdf;
> if ($fontstyle!=$weight)
> {
> if ($weight=='normal')
> $font=pdf_load_font($pdf,"Helvetica","iso8859-1","");
> else if ($weight=='bold')
> $font=pdf_load_font($pdf,"Helvetica-Bold","iso8859-1","");
> else if ($weight=='italic')
> $font=pdf_load_font($pdf,"Helvetica-Oblique","iso8859-1","");
> else if ($weight=='bold-italic')
>
> $font=pdf_load_font($pdf,"Helvetica-BoldOblique","iso8859-1","");
> $fontstyle=$weight;
> }
> pdf_setfont($pdf,$font,$fontpoint);
> }
>
> function end_page()
> {
> global $pdf;
> PDF_end_page($pdf);
> }
> function close_document()
> {
> global $pdf;
> pdf_close($pdf);
> }
> function new_page($title)
> {
> global $font,$fontweight,$fontstyle,$fontpoint,$pdf;
> pdf_begin_page($pdf,595,842);
> box(15,750,565,50,"#D0D0D0",0);
> setfont(14,'bold');
> $img=pdf_load_image($pdf,"gif","../Images/Logo2.gif","" );
> pdf_place_image($pdf,$img,25,777,0.10);
> text(297.5,760,$title,'centre');
> setfont(8,'normal');
> date_default_timezone_set ("Europe/London");
> text(470,790,date("G:i T: D M d Y"),'left');
> }
> function new_document()
> {
> global $pdf;
> $pdf=PDF_new();
> pdf_begin_document($pdf,"","compatibility=1.5");
> }
>
> function text($x,$y,$text,$align)
> {
> global $pdf,$font,$fontpoint;
> pdf_setfont($pdf,$font,$fontpoint);
> // $text=mb_convert_encoding($text, "ISO-8859-1","UTF-8");
> if($align=='right')
> $x-=pdf_stringwidth($pdf,$text,$font,$fontpoint);
> else if ($align=='centre')
> $x-=pdf_stringwidth($pdf,$text,$font,$fontpoint)/2;
> pdf_show_xy($pdf,$text,$x,$y);
> return pdf_stringwidth($pdf,$text,$font,$fontpoint);
> }
>
> function box($x,$y,$width,$height,$color) // color is #XXXXXX
> {
> global $pdf;
> setcolor($color);
> pdf_rect($pdf,$x,$y,$width,$height);
> pdf_fill($pdf);
> setcolor("#000000"); // back to black.
> }
> function setcolor($color)
> {
> global $pdf;
> $string = str_replace("#","",$color);
> $red = hexdec(substr($string,0,2)) / 255;
> $green = hexdec(substr($string,2,2)) / 255;
> $blue = hexdec(substr($string,4,2)) / 255;
> pdf_setcolor($pdf,"fill",'rgb', $red, $green, $blue,0);
> }
> function send_pdf_file($name)
> {
> global $pdf;
> $buf = PDF_get_buffer($pdf);
> $len = strlen($buf);
> header("Content-type: application/pdf");
> header("Content-Length: $len");
> header("Content-Disposition: inline; filename=\"".$name.".pdf\"");
> print $buf;
> }
> function print_pdf_file($printer)
> {
> global $pdf;
> $buf = PDF_get_buffer($pdf);
> $len=strlen($buf);
> $handle=popen("/usr/bin/lp -o sides=one-sided -d ".$printer." --
> -", 'w');
> fwrite($handle,$buf);
> }
>
> function mail_pdf_file($email, $subject,$from,$return_path,$body,$filename)
> {
> global $pdf;
> $buf=PDF_get_buffer($pdf);
> $attach=chunk_split( base64_encode($buf),72, "\n");
> $boundary = md5( time() );
> $headers = sprintf("From: %s\nMIME-Version: 1.0\nContent-Type:
> multipart/mixed; boundary=\"%s\"",
> $from, $boundary);
> $message = sprintf("\nThis is a multi-part message in MIME
> format.\n--%s\nContent-Type: text/plain; charset=UTF-8;
> format=flowed\nContent-Transfer-Encoding:
> 7bit\n\n%s\n\n--%s\nContent-Type: application/pdf;
> name=\"%s\"\nContent-Disposition: inline;
> filename=\"%s\"\nContent-Transfer-Encoding: base64\n\n%s\n\n--%s--\n",
> $boundary,$body,$boundary,$filename, $filename,$attach,$boundary);
> mail($email, $subject, $message, $headers, "-f ".$return_path );
> }
> ?>
>
>
>
PS: I forgot to mention that in order to do this you need unrestricted
access to the server including possibly a compiler and the ability to
install PEAR stuff and C libraries - i.e. root access on a *nix system -
to install this, which no commercial hosting company will do, unless
you pay them money, and not likely even then.

In my case the solution was to employ them in an intranet, and on a
virtual server, that I control. I accept this is not always the
preferred solution for many people.

I knew then, of no better way to achieve the desired endpoint.

Perhaps one exists now.

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [message #180948 is a reply to message #180945] Thu, 28 March 2013 13:14 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 3/28/2013 4:40 AM, badmus aliu wrote:
> can anyone help me on how to convert a database driven page to pdf using php
>

There are a number of packages which will allow you to create a PDF.
Did you try googling for "php pdf" (without the quotes)? I happen to
like fpdf (www.fpdf.org).

But if you're looking for an easy way to do it, there isn't. The page
is rendered by the browser, and PHP as no access to the rendered page.
You'll need to generate the page as a pdf (you can start with your
existing code). You won't be able to just "scrape" the browser.

Another option would be one of the HTML to PDF generators - these can
take the HTML you've already generated and create a PDF from that.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: PHP: convert a page to pdf [message #180949 is a reply to message #180945] Thu, 28 March 2013 16:50 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
badmus aliu <bajab247(at)gmail(dot)com> wrote:

> can anyone help me on how to convert a database driven page to pdf using php

On MacOS, just print the generated page and save to PDF.

On Windows or Linux, you'll have to code a solution using various
libraries.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
Re: PHP: convert a page to pdf [message #180950 is a reply to message #180949] Thu, 28 March 2013 17:31 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 16:50, Michael Vilain wrote:
> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>
>> can anyone help me on how to convert a database driven page to pdf using php
>
> On MacOS, just print the generated page and save to PDF.
>

thats hardly a server sode solution is it?

> On Windows or Linux, you'll have to code a solution using various
> libraries.
>
well no, you could print the page and save as pdf there as well.


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [message #180951 is a reply to message #180949] Thu, 28 March 2013 17:32 Go to previous messageGo to next message
adrian is currently offline  adrian
Messages: 27
Registered: December 2012
Karma: 0
Junior Member
Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:

> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>
>> can anyone help me on how to convert a database driven page to pdf using php
>
> On MacOS, just print the generated page and save to PDF.

I think this only works with OSX. In the earlier MacOSs (OS 6 to OS9),
the print command will allow you to Save to file. This gives a
PostScript document which you can then convert to PDF with Distiller.

Some MacOS applications such as PageMaker 6.5 have an option to export
as a PDF; but it isn't really a direct conversion, it still goes through
the PostScript- Distiller route.


--
~ Adrian Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk
Re: PHP: convert a page to pdf [message #180952 is a reply to message #180949] Thu, 28 March 2013 17:39 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Michael Vilain wrote:

> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>> can anyone help me on how to convert a database driven page to pdf using
>> php
>
> On MacOS, just print the generated page and save to PDF.
>
> On Windows or Linux, you'll have to code a solution using various
> libraries.

Utter nonsense. GNU/Linux systems have the built-in capability to generate
PDFs that is used by graphical browsers (like Chromium). Windows systems
usually have that capability by installing PDF printer drivers (that often
come with PDF software, like Adobe Acrobat).

This question does not appear to have anything to do with PHP programming,
but it might be badly worded.


PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
Re: PHP: convert a page to pdf [message #180953 is a reply to message #180951] Thu, 28 March 2013 18:04 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 17:32, Adrian Tuddenham wrote:
> Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:
>
>> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
>> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>
>>> can anyone help me on how to convert a database driven page to pdf using php
>>
>> On MacOS, just print the generated page and save to PDF.
>
> I think this only works with OSX. In the earlier MacOSs (OS 6 to OS9),
> the print command will allow you to Save to file. This gives a
> PostScript document which you can then convert to PDF with Distiller.
>

works just fine here on linux. Print to file defaults to a pdf, on Firefox.

> Some MacOS applications such as PageMaker 6.5 have an option to export
> as a PDF; but it isn't really a direct conversion, it still goes through
> the PostScript- Distiller route.
>

shows how backward OSX is..
>

However that's not what the OP wants. he doesn't want to involve the
users browser.

he wants to generate a pdf an the server. Or why else would he ask in a
PHP newsgroup?



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [message #180954 is a reply to message #180952] Thu, 28 March 2013 18:06 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 17:39, Thomas 'PointedEars' Lahn wrote:
> Michael Vilain wrote:
>
>> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>> can anyone help me on how to convert a database driven page to pdf using
>>> php
>>
>> On MacOS, just print the generated page and save to PDF.
>>
>> On Windows or Linux, you'll have to code a solution using various
>> libraries.
>
> Utter nonsense. GNU/Linux systems have the built-in capability to generate
> PDFs that is used by graphical browsers (like Chromium). Windows systems
> usually have that capability by installing PDF printer drivers (that often
> come with PDF software, like Adobe Acrobat).
>
> This question does not appear to have anything to do with PHP programming,
> but it might be badly worded.
>
>
> PointedEars
>
no thomas, the response was clueless that's all. The OP wanted to take
some database output and prepare a PDF from it ON THE SERVER.

saying 'you can print the browsers page as a pdf' was true, but irrelevant.



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [message #180955 is a reply to message #180953] Thu, 28 March 2013 19:14 Go to previous messageGo to next message
adrian is currently offline  adrian
Messages: 27
Registered: December 2012
Karma: 0
Junior Member
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 28/03/13 17:32, Adrian Tuddenham wrote:
>> Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:
>>
>>> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
>>> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>>
>>>> can anyone help me on how to convert a database driven page to pdf
>>> using php
>>>
>>> On MacOS, just print the generated page and save to PDF.
>>
>> I think this only works with OSX. In the earlier MacOSs (OS 6 to OS9),
>> the print command will allow you to Save to file. This gives a
>> PostScript document which you can then convert to PDF with Distiller.
>>
>
> works just fine here on linux. Print to file defaults to a pdf, on Firefox.

I don't understand the relevance of this reply. Neither Linux nor
Firefox can run under MacOS.

>
>> Some MacOS applications such as PageMaker 6.5 have an option to export
>> as a PDF; but it isn't really a direct conversion, it still goes through
>> the PostScript- Distiller route.
>>
>
> shows how backward OSX is..

Again, I cannot see a connection betwen your reply and the preceding
comment, because PageMaker 6.5 is not an OSX application.

>>
>
> However that's not what the OP wants. he doesn't want to involve the
> users browser.
>
> he wants to generate a pdf an the server. Or why else would he ask in a
> PHP newsgroup?

I fully appreciate that; but I felt it was necessary to correct any
possible confusion between the behaviour of Mac OS and of OSX, which
could have misled others who read this group.


--
~ Adrian Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk
Re: PHP: convert a page to pdf [message #180956 is a reply to message #180952] Thu, 28 March 2013 19:21 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 3/28/2013 1:39 PM, Thomas 'PointedEars' Lahn wrote:
> Michael Vilain wrote:
>
>> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>> can anyone help me on how to convert a database driven page to pdf using
>>> php
>>
>> On MacOS, just print the generated page and save to PDF.
>>
>> On Windows or Linux, you'll have to code a solution using various
>> libraries.
>
> Utter nonsense. GNU/Linux systems have the built-in capability to generate
> PDFs that is used by graphical browsers (like Chromium). Windows systems
> usually have that capability by installing PDF printer drivers (that often
> come with PDF software, like Adobe Acrobat).
>

Which is hardly a server-side solution, is it?

> This question does not appear to have anything to do with PHP programming,
> but it might be badly worded.
>
>
> PointedEars
>

What part of "Convert a page to pdf USING PHP" don't you understand?

Looks like your pointed head is in it's normal location. You might try
standing up and taking a load off your brain.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: PHP: convert a page to pdf [message #180957 is a reply to message #180955] Thu, 28 March 2013 19:42 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 19:14, Adrian Tuddenham wrote:
> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>> On 28/03/13 17:32, Adrian Tuddenham wrote:
>>> Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:
>>>
>>>> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
>>>> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>>>
>>>> > can anyone help me on how to convert a database driven page to pdf
>>>> using php
>>>>
>>>> On MacOS, just print the generated page and save to PDF.
>>>
>>> I think this only works with OSX. In the earlier MacOSs (OS 6 to OS9),
>>> the print command will allow you to Save to file. This gives a
>>> PostScript document which you can then convert to PDF with Distiller.
>>>
>>
>> works just fine here on linux. Print to file defaults to a pdf, on Firefox.
>
> I don't understand the relevance of this reply. Neither Linux nor
> Firefox can run under MacOS.
>

I don't undestand the relevance of this comment

1/. Firefox can run under MacOSX
2/. so can linux in a virtual machine
3/, "I think this only works with OSX."

>>
>>> Some MacOS applications such as PageMaker 6.5 have an option to export
>>> as a PDF; but it isn't really a direct conversion, it still goes through
>>> the PostScript- Distiller route.
>>>
>>
>> shows how backward OSX is..
>
> Again, I cannot see a connection betwen your reply and the preceding
> comment, because PageMaker 6.5 is not an OSX application.
>
s/OSX/OS
>>>
>>
>> However that's not what the OP wants. he doesn't want to involve the
>> users browser.
>>
>> he wants to generate a pdf an the server. Or why else would he ask in a
>> PHP newsgroup?
>
> I fully appreciate that; but I felt it was necessary to correct any
> possible confusion between the behaviour of Mac OS and of OSX, which
> could have misled others who read this group.
>

I doubt anyone but you even remembers what OS9 or earlier is, or does
Even our PowerPcs here have at least OSX on them. I cant imagine anyone
still runs it natively.

And in any case the comments were directed at the person who said 'you
can ONLY DO THAT ON OSX, not windows or Linux.

As we have shown, that is incorrect., Certainly Linux, and probably
windows can print to a PDF using a pdf print driver (for windoze).


>


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [message #180958 is a reply to message #180953] Thu, 28 March 2013 21:19 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <kj20n9$cib$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 28/03/13 17:32, Adrian Tuddenham wrote:

>> Some MacOS applications such as PageMaker 6.5 have an option to export
>> as a PDF; but it isn't really a direct conversion, it still goes through
>> the PostScript- Distiller route.

> shows how backward OSX is..

No it doesn't. You can print directly to PDF from any application. PM no
longer runs on OS X.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: PHP: convert a page to pdf [OT] [message #180959 is a reply to message #180957] Thu, 28 March 2013 21:38 Go to previous messageGo to next message
adrian is currently offline  adrian
Messages: 27
Registered: December 2012
Karma: 0
Junior Member
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 28/03/13 19:14, Adrian Tuddenham wrote:
>> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>>
>>> On 28/03/13 17:32, Adrian Tuddenham wrote:
>>>> Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:
>>>>
>>>> > In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
>>>> > badmus aliu <bajab247(at)gmail(dot)com> wrote:
>>>> >
>>>> >> can anyone help me on how to convert a database driven page to pdf
>>>> > using php
>>>> >
>>>> > On MacOS, just print the generated page and save to PDF.
>>>>
>>>> I think this only works with OSX. In the earlier MacOSs (OS 6 to OS9),
>>>> the print command will allow you to Save to file. This gives a
>>>> PostScript document which you can then convert to PDF with Distiller.
>>>>
>>>
>>> works just fine here on linux. Print to file defaults to a pdf, on Firefox.
>>
>> I don't understand the relevance of this reply. Neither Linux nor
>> Firefox can run under MacOS.
>>
>
> I don't undestand the relevance of this comment
>
> 1/. Firefox can run under MacOSX
> 2/. so can linux in a virtual machine
> 3/, "I think this only works with OSX."
>
>>>
>>>> Some MacOS applications such as PageMaker 6.5 have an option to export
>>>> as a PDF; but it isn't really a direct conversion, it still goes through
>>>> the PostScript- Distiller route.
>>>>
>>>
>>> shows how backward OSX is..
>>
>> Again, I cannot see a connection betwen your reply and the preceding
>> comment, because PageMaker 6.5 is not an OSX application.
>>
> s/OSX/OS
>>>>
>>>
>>> However that's not what the OP wants. he doesn't want to involve the
>>> users browser.
>>>
>>> he wants to generate a pdf an the server. Or why else would he ask in a
>>> PHP newsgroup?
>>
>> I fully appreciate that; but I felt it was necessary to correct any
>> possible confusion between the behaviour of Mac OS and of OSX, which
>> could have misled others who read this group.
>>
>
> I doubt anyone but you even remembers what OS9 or earlier is, or does
> Even our PowerPcs here have at least OSX on them. I cant imagine anyone
> still runs it natively.

The post to which I replied said "MacOS", not "Mac OSX". To avoid any
confusion I made the distinction between the two. From your comments
about Firefox it appears that you regard OSX as the only Mac operating
system and have fallen into the very trap I was trying to steer people
away from.

Mac OS 8 and 9 are still perfectly adequate for non-entertainment work
and have many good features which were thrown away when Mac introduced
OSX. And yes, I do run it natively on all but one of my machines.

--
~ Adrian Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk
Re: PHP: convert a page to pdf [OT] [message #180960 is a reply to message #180959] Thu, 28 March 2013 22:30 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 28/03/13 21:38, Adrian Tuddenham wrote:

>
> Mac OS 8 and 9 are still perfectly adequate for non-entertainment work
> and have many good features which were thrown away when Mac introduced
> OSX. And yes, I do run it natively on all but one of my machines.
>
How's your pet brontosauraus?


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [OT] [message #180962 is a reply to message #180960] Fri, 29 March 2013 08:44 Go to previous messageGo to next message
adrian is currently offline  adrian
Messages: 27
Registered: December 2012
Karma: 0
Junior Member
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 28/03/13 21:38, Adrian Tuddenham wrote:
>
>>
>> Mac OS 8 and 9 are still perfectly adequate for non-entertainment work
>> and have many good features which were thrown away when Mac introduced
>> OSX. And yes, I do run it natively on all but one of my machines.
>>
> How's your pet brontosauraus?

As an engineer, my choices are based on what does the job best, not on
what is currently fashionable. My car has pneumatic tyres (Dunlop
1888), my house is fitted with ordinary water taps (Brecknell 1859) and
my video projector uses an arc lamp (Davy 1801).

If you want to use the most up-to-date computer system, bear in mind
that OSX is based on UNIX from 1969, whereas MacOS is much newer,
having been first released in 1984.


--
~ Adrian Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk
Re: PHP: convert a page to pdf [message #180964 is a reply to message #180949] Fri, 29 March 2013 12:16 Go to previous messageGo to next message
Andy is currently offline  Andy
Messages: 8
Registered: March 2002
Karma: 0
Junior Member
In article <vilain-82CAD9(dot)09502028032013(at)news(dot)individual(dot)net>,
Michael Vilain <vilain(at)NOspamcop(dot)net> wrote:

> In article <a2b28350-6f57-43bc-935e-66a179409287(at)googlegroups(dot)com>,
> badmus aliu <bajab247(at)gmail(dot)com> wrote:
>
>> can anyone help me on how to convert a database driven page to pdf using
>> php
>
> On MacOS, just print the generated page and save to PDF.
>
> On Windows or Linux, you'll have to code a solution using various
> libraries.

we have good results using pdflib there is a free version with less
features, although enough to do most jobs, and a paid version which is
very comprehensive
http://www.pdflib.com/

regards
Andy
Re: PHP: convert a page to pdf [OT] [message #180965 is a reply to message #180962] Fri, 29 March 2013 12:59 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 29/03/13 08:44, Adrian Tuddenham wrote:
> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>> On 28/03/13 21:38, Adrian Tuddenham wrote:
>>
>>>
>>> Mac OS 8 and 9 are still perfectly adequate for non-entertainment work
>>> and have many good features which were thrown away when Mac introduced
>>> OSX. And yes, I do run it natively on all but one of my machines.
>>>
>> How's your pet brontosauraus?
>
> As an engineer, my choices are based on what does the job best, not on
> what is currently fashionable. My car has pneumatic tyres (Dunlop
> 1888), my house is fitted with ordinary water taps (Brecknell 1859) and
> my video projector uses an arc lamp (Davy 1801).
>
> If you want to use the most up-to-date computer system, bear in mind
> that OSX is based on UNIX from 1969, whereas MacOS is much newer,
> having been first released in 1984.
>
>
all ultimately 'written' in machine code, which predates the lot of them.


Sheesh. a religious nutcase.

"Olde is better" (cf tyres)
"New is better" Cf OS9).

cant you come up with something better than that? like " *nix had proper
pre-emptive multi tasking years before os9 and windows failed to
implement it correctly"

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [OT] [message #180966 is a reply to message #180965] Fri, 29 March 2013 13:18 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <kj4381$3kv$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> cant you come up with something better than that? like " *nix had proper
> pre-emptive multi tasking years before os9 and windows failed to
> implement it correctly"

And plenty of OSes had it before unix. So your point is *what* precisely?

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: PHP: convert a page to pdf [OT] [message #180967 is a reply to message #180965] Fri, 29 March 2013 13:57 Go to previous messageGo to next message
adrian is currently offline  adrian
Messages: 27
Registered: December 2012
Karma: 0
Junior Member
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 29/03/13 08:44, Adrian Tuddenham wrote:
>> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>>
>>> On 28/03/13 21:38, Adrian Tuddenham wrote:
>>>
>>>>
>>>> Mac OS 8 and 9 are still perfectly adequate for non-entertainment work
>>>> and have many good features which were thrown away when Mac introduced
>>>> OSX. And yes, I do run it natively on all but one of my machines.
>>>>
>>> How's your pet brontosauraus?
>>
>> As an engineer, my choices are based on what does the job best, not on
>> what is currently fashionable. My car has pneumatic tyres (Dunlop
>> 1888), my house is fitted with ordinary water taps (Brecknell 1859) and
>> my video projector uses an arc lamp (Davy 1801).
>>
>> If you want to use the most up-to-date computer system, bear in mind
>> that OSX is based on UNIX from 1969, whereas MacOS is much newer,
>> having been first released in 1984.
>>
>>
> all ultimately 'written' in machine code, which predates the lot of them.
>
>
> Sheesh. a religious nutcase.
>
> "Olde is better" (cf tyres)
> "New is better" Cf OS9).

I am trying to explain to you that "old" and "new" are non-concepts
where engineering is concerned. You are trying to categorise things
according to a false dictum.

The wheel and the lever are among the oldest machines known to mankind;
'phone apps are among the newest. Neither of these is inherently bad
or good because of when it was invented, they are good where they are
appropriate and do the job well.


--
~ Adrian Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk
[OT] Pre-emptive multi-tasking (was: PHP: convert a page to pdf [OT]) [message #180968 is a reply to message #180966] Fri, 29 March 2013 14:01 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Tim Streater wrote:

> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>> cant you come up with something better than that? like " *nix had proper
>> pre-emptive multi tasking years before os9 and windows failed to
>> implement it correctly"
>
> And plenty of OSes had it before unix.

No, according to <http://en.wikipedia.org/wiki/Pre-
emptive_multitasking#Systems_supporting_preemptive_multitasking> and
<http://en.wikipedia.org/wiki/Unix>, Unix, at Bell Labs, was the first
operating system to support *pre-emptive* _multi-tasking_, in 1969/1970
(hence the Unix timestamp 0 equals 1970-01-01 00:00:00 UTC) as an
improvement to the time-sharing Multics (1964) where multi-tasking was first
implemented. Sinclair QDOS (1984) and Amiga OS (1985) and other operating
systems (particularly the Unix-like ones) followed Unix in that regard.


PointedEars
--
Sometimes, what you learn is wrong. If those wrong ideas are close to the
root of the knowledge tree you build on a particular subject, pruning the
bad branches can sometimes cause the whole tree to collapse.
-- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom(at)94(dot)75(dot)214(dot)39>
Re: PHP: convert a page to pdf [OT] [message #180969 is a reply to message #180966] Fri, 29 March 2013 14:41 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 29/03/13 13:18, Tim Streater wrote:
> In article <kj4381$3kv$1(at)news(dot)albasani(dot)net>,
> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>> cant you come up with something better than that? like " *nix had
>> proper pre-emptive multi tasking years before os9 and windows failed
>> to implement it correctly"
>
> And plenty of OSes had it before unix. So your point is *what* precisely?
>
well exactly. Good ideas live on., bad ideas like OS9, die rapidly.


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: PHP: convert a page to pdf [OT] [message #180970 is a reply to message #180969] Fri, 29 March 2013 16:36 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <kj4971$ggr$2(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 29/03/13 13:18, Tim Streater wrote:
>> In article <kj4381$3kv$1(at)news(dot)albasani(dot)net>,
>> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>>
>>> cant you come up with something better than that? like " *nix had
>>> proper pre-emptive multi tasking years before os9 and windows failed
>>> to implement it correctly"
>>
>> And plenty of OSes had it before unix. So your point is *what* precisely?
>>
> well exactly. Good ideas live on., bad ideas like OS9, die rapidly.

There was nothing particularly bad about it. It had just come to the end
of its life. I used it for network management and also to do software
development in the mid/late 90s, typically with up times of a month or
two.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: [OT] Pre-emptive multi-tasking (was: PHP: convert a page to pdf [OT]) [message #180971 is a reply to message #180968] Fri, 29 March 2013 16:57 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <1905400(dot)vG1O3Ob32A(at)PointedEars(dot)de>,
Thomas 'PointedEars' Lahn <PointedEars(at)web(dot)de> wrote:

> Tim Streater wrote:
>
>> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>>> cant you come up with something better than that? like " *nix had proper
>>> pre-emptive multi tasking years before os9 and windows failed to
>>> implement it correctly"
>>
>> And plenty of OSes had it before unix.
>
> No, according to <http://en.wikipedia.org/wiki/Pre-
> emptive_multitasking#Systems_supporting_preemptive_multitasking> and
> <http://en.wikipedia.org/wiki/Unix>, Unix, at Bell Labs, was the first
> operating system to support *pre-emptive* _multi-tasking_, in 1969/1970
> (hence the Unix timestamp 0 equals 1970-01-01 00:00:00 UTC) as an
> improvement to the time-sharing Multics (1964) where multi-tasking was first
> implemented. Sinclair QDOS (1984) and Amiga OS (1985) and other operating
> systems (particularly the Unix-like ones) followed Unix in that regard.

My timeline had unix starting in the 70s but no matter. Certainly the OS
I was using 1970-78 at CERN, running on a French-built Sigma7 and called
Siris7, had pre-emptive multitasking. And I'm not sure that the Atlas
Supervisor (1962) didn't do it too.

The concepts were all there by that point for anyone to organise into an
OS, which we did once or twice in our group at CERN.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: [OT] Pre-emptive multi-tasking [message #180972 is a reply to message #180971] Fri, 29 March 2013 17:13 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 29/03/13 16:57, Tim Streater wrote:
> In article <1905400(dot)vG1O3Ob32A(at)PointedEars(dot)de>,
> Thomas 'PointedEars' Lahn <PointedEars(at)web(dot)de> wrote:
>
>> Tim Streater wrote:
>>
>>> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>>>> cant you come up with something better than that? like " *nix had
>> proper
>>>> pre-emptive multi tasking years before os9 and windows failed to
>>>> implement it correctly"
>>>> And plenty of OSes had it before unix.
>>
>> No, according to <http://en.wikipedia.org/wiki/Pre-
>> emptive_multitasking#Systems_supporting_preemptive_multitasking> and
>> <http://en.wikipedia.org/wiki/Unix>, Unix, at Bell Labs, was the first
>> operating system to support *pre-emptive* _multi-tasking_, in
>> 1969/1970 (hence the Unix timestamp 0 equals 1970-01-01 00:00:00 UTC)
>> as an improvement to the time-sharing Multics (1964) where
>> multi-tasking was first implemented. Sinclair QDOS (1984) and Amiga
>> OS (1985) and other operating systems (particularly the Unix-like
>> ones) followed Unix in that regard.
>
> My timeline had unix starting in the 70s but no matter. Certainly the OS
> I was using 1970-78 at CERN, running on a French-built Sigma7 and called
> Siris7, had pre-emptive multitasking. And I'm not sure that the Atlas
> Supervisor (1962) didn't do it too.
>

multitasking goes back a long way but pre-emptive does not go back as far.

Certainly Unix was one of the earliest , but that may have been because
the hardware it came on had the right sort of interrupts.


> The concepts were all there by that point for anyone to organise into an
> OS, which we did once or twice in our group at CERN.
>
Indeed. I've written a couple of schedulersto do pre-emptive
multitasking..one on DOS2.2!!!


there isn't much need to turn ordinary multitasking into pre-emptive,
but there is not much point in doing it until you have users with
terminals, rather than teletypes. For batch work you might as well use
IO wait to context switch, or co-operative multitasking.
And the idea of a computer with a CRT and keyboard is a late 60s early
70s one.



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: [OT] Pre-emptive multi-tasking [message #180973 is a reply to message #180972] Fri, 29 March 2013 17:20 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <kj4i45$61q$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> And the idea of a computer with a CRT and keyboard is a late 60s early
> 70s one.

Which I used for my DIC - and while doing that I managed to crash all of
CERN's central computers in 1970 by typing two characters.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: PHP: convert a page to pdf [OT] [message #180974 is a reply to message #180962] Fri, 29 March 2013 18:22 Go to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <1l0hjp2.rte4bo90sg64N%adrian(at)poppyrecords(dot)invalid(dot)invalid>,
adrian(at)poppyrecords(dot)invalid(dot)invalid (Adrian Tuddenham) wrote:

> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>> On 28/03/13 21:38, Adrian Tuddenham wrote:
>>
>>>
>>> Mac OS 8 and 9 are still perfectly adequate for non-entertainment work
>>> and have many good features which were thrown away when Mac introduced
>>> OSX. And yes, I do run it natively on all but one of my machines.
>>>
>> How's your pet brontosauraus?
>
> As an engineer, my choices are based on what does the job best, not on
> what is currently fashionable. My car has pneumatic tyres (Dunlop
> 1888), my house is fitted with ordinary water taps (Brecknell 1859) and
> my video projector uses an arc lamp (Davy 1801).
>
> If you want to use the most up-to-date computer system, bear in mind
> that OSX is based on UNIX from 1969, whereas MacOS is much newer,
> having been first released in 1984.

To return the discussion to the OP's question.

I _think_ they're trying to convert a data-generated webapp page to PDF,
but I could be wrong here.

If they're trying to do it on a client computer (e.g. your bank
generates a statement on the page and you want to capture it as a PDF),
then there are solutions like printing the page as PDF on MacOS X or
some sort of plugin on Windows. Linux, I have no clue.

If they're trying to actually create a feature of the webapp to generate
a PDF, then they're have to incorporate various libraries into their php
or mod_php interpreter and modify the page to include a button that will
run code to generate the page using those libraries and draw the PDF.
At least that's what had to be done last I checked. It may have changed.

As to who's the better engineer here? I don't know. Just get a ruler,
measure, and report your findings. Let time decide who will rot first.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to save the visitors ip addresses
Next Topic: Need Forex Feed in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 09:07:35 GMT 2024

Total time taken to generate the page: 0.02757 seconds