[PHP] Concatenating PDF using FPDI

2008-09-28 Thread giga501
Hi - I am trying to attach a pre-defined PDF to a file generated at runtime (invoice.pdf). I have attached the test.php that I used to concatenate 2 pdfs. http://www.nabble.com/file/p19709464/test.php test.php I have also verified that I have the latest version of FPDF and FPDI. However, here

Re: [PHP] How to submit form via PHP

2008-09-28 Thread Ashley Sheridan
On Sat, 2008-09-27 at 21:37 -0700, Waynn Lue wrote: > >No it doesn't... without an action statement... > > Sorry to drag up an old thread, but I just saw this. Is that true of > all browsers? I'm wondering because I just coded a site to use this > behavior, then I saw that the html specification s

[PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect() [function.pg-connect

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Ashley Sheridan
On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: > Hi, > > i try to understand the error_reporting statement and to avoid all warning > or error messages. > for example i stop the postgresql service and i try to connect to it. > when error_reporting is set to E_ALL, i get the following warnin

Re: [PHP] How to submit form via PHP

2008-09-28 Thread Per Jessen
Ashley Sheridan wrote: > Without the action attribute, the form submits to itself, i.e. a form > on contact.php submits to contact.php without an action attribute > being specified. Yes, not specifying the action attribute is the same as having an empty action attribute. I don't know if all brow

Re: [PHP] How to submit form via PHP

2008-09-28 Thread Dotan Cohen
2008/9/28 Ashley Sheridan <[EMAIL PROTECTED]>: >> Sorry to drag up an old thread, but I just saw this. Is that true of >> all browsers? I'm wondering because I just coded a site to use this >> behavior, then I saw that the html specification says the action >> attribute is required. >> > Without th

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
i only set it via php code like error_reporting(0); On Sun, Sep 28, 2008 at 11:11 AM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: > > Hi, > > > > i try to understand the error_reporting statement and to avoid all > warning > > or error messag

Re: [PHP] PHP + Cron jobs

2008-09-28 Thread Waynn Lue
Yup, you're completely right. I checked the cronjob and got this: PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle Turns out there's

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-28 Thread tedd
At 9:29 AM +0800 9/28/08, Shelley wrote: 2008/9/28 tedd <[EMAIL PROTECTED]> At 1:06 PM +0800 9/27/08, Shelley wrote: 2008/9/26 tedd [EMAIL PROTECTED]>[EMAIL PROTECTED]> there are three that you apparently don't kno

Re: [PHP] Sepating MySQL result set into html tables

2008-09-28 Thread tedd
At 8:32 PM +0300 9/26/08, Thodoris wrote: Yes it will but I will make this better along with other things as long as I find the needed algorithm. -- Thodoris http://webbytedd.com/bbb/paging/ The code is there. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http:/

[PHP] Re: error warning while connecting to posgreSQL

2008-09-28 Thread Nathan Rixham
Alain Roger wrote: Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect() [function.pg-conn

Re: [PHP] Re: Regular Expression Backreference in subpattern.

2008-09-28 Thread Nathan Rixham
Shiplu wrote: Sorry The previous code was wrong, Its the correct version, $x = "a b;c d;e f;"; preg_match('/(?P\w) (?P\w)/',$x,$m); print_r($m); Now I am using backrefrence \1 in in ?P option like (?P<\1>\d+). and I got the error. thought I best update for courtesy sake; I spent a good chun

[PHP] Re: error warning while connecting to posgreSQL

2008-09-28 Thread Nathan Rixham
Alain Roger wrote: Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect() [function.pg-conn

Re: [PHP] Concatenating PDF using FPDI

2008-09-28 Thread Bastien Koert
On Sun, Sep 28, 2008 at 3:33 AM, giga501 <[EMAIL PROTECTED]> wrote: > > Hi - > > I am trying to attach a pre-defined PDF to a file generated at runtime > (invoice.pdf). > I have attached the test.php that I used to concatenate 2 pdfs. > http://www.nabble.com/file/p19709464/test.php test.php > > I

Re: [PHP] Questions regarding limits of processes launched by system, exec, passthru ...

2008-09-28 Thread Bastien Koert
On Sat, Sep 27, 2008 at 12:50 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: > memory_limit and time_limit are implemented down in the guts of the PHP > interpreter; They are not magic. > > They can't do diddly when PHP is running some other binary... > > Fro