Re: [PHP] Adding Time

2010-03-27 Thread Gary
Perfect, thank you very much for your help! Gary "Yousif Masoud" wrote in message news:x2tbffe24ad1003271548l65cb6e65qd8f35ae0636e...@mail.gmail.com... > On Sat, Mar 27, 2010 at 10:26 PM, Gary wrote: > >> [...] >> > > $end_date=date('m-d-Y',strtotime('$mth')) + date('m-d-Y', >> strtotime('$pa

Re: [PHP] Adding Time

2010-03-27 Thread Yousif Masoud
On Sat, Mar 27, 2010 at 10:26 PM, Gary wrote: > [...] > $end_date=date('m-d-Y',strtotime('$mth')) + date('m-d-Y', > strtotime('$pay_date')); > > [...] Try changing above to: $end_date = date('m-d-Y',strtotime("$pay_date + $mth months")); I think your mail client took it out of the add_date f

Re: [PHP] Adding Time

2010-03-27 Thread Yousif Masoud
On Sat, Mar 27, 2010 at 10:26 PM, Gary wrote: > [...] > > strtotime('$pay_date')); > > [...] > If you want the value of $pay_date to be the argument of strtotime, you need to enclose it in double quotes (do the same for all other occurrences). Try: strtotime("$pay_date"); [...] When a string

Re: [PHP] Adding Time

2010-03-27 Thread Gary
I have copied the echo and the code, for clarity I have echo'd 1,2,3, etc to see which is working. Thank you for your help. Hope this is clear. Gary $loan_length=($_SESSION['loan_length']); //is set to 36 months $pay_date=($_SESSION['pay_date']); //is set to 01-05-2010 $orgDate=($_SESSION['pa

Re: [PHP] Adding Time

2010-03-27 Thread Yousif Masoud
On Sat, Mar 27, 2010 at 8:41 PM, Gary wrote: > [...] > > > $pay_date=($_SESSION['pay_date']); > > > $loan_length=($_SESSION['loan_length']); > > $orgDate=($_SESSION['pay_date']); > $mth=($_SESSION['loan_length']); > function add_date($orgDate,$mth){ > $cd = strtotime($orgDate); > $end

Re: [PHP] Adding Time

2010-03-27 Thread Gary
It is a multi page form with all information being writting to the database via the $_SESSION's. Gary "Yousif Masoud" wrote in message news:k2qbffe24ad1003271414za1377a2dsb0e4a2d23d411...@mail.gmail.com... > On Sat, Mar 27, 2010 at 8:41 PM, Gary wrote: > >> [...] >>> >> >> $pay_date

Re: [PHP] Adding Time

2010-03-27 Thread Yousif Masoud
On Sat, Mar 27, 2010 at 8:41 PM, Gary wrote: > [...] > > > $pay_date=($_SESSION['pay_date']); > > > $loan_length=($_SESSION['loan_length']); > > $orgDate=($_SESSION['pay_date']); > $mth=($_SESSION['loan_length']); > function add_date($orgDate,$mth){ > $cd = strtotime($orgDate); > $end

Re: [PHP] Adding Time

2010-03-27 Thread Gary
Thanks for your reply. This comes from the manual, I have tried to change to my variables. I am not getting any error messages, but I am not able to add the $loan_length to the $pay_date. Thanks again for any help. gary "; echo $end_date .""; echo $pay_date .""; echo $loan_length; ?>

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread Frank Arensmeier
27 mar 2010 kl. 05.41 skrev Rob Gould: Is there a free solution out there that will enable me to take a PHP- generated postscript output file, and dynamically, on-the-fly convert it to a PDF document and send to the user as a download when the user clients on a link? More description of wh

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Asher Snyder
Hey Rob, No. NOLOH actually generates different code for different devices. For example, a browser with JavaScript will get all elements added via DOM, and no actual HTMLis generated, however when the DOM is viewed via Firebug and properties were explicitly assigned to an object, they're translate

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Adam Richardson
On Sat, Mar 27, 2010 at 1:30 PM, Ashley Sheridan wrote: > On Sat, 2010-03-27 at 13:33 -0400, Brandon Rampersad wrote: > > > Sorry, im on gmail and can't find that button. i only see the reply > > button. > > > maybe try manually adding the php-general email address in? > > I know a lot of people h

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread Yousif Masoud
On Sat, Mar 27, 2010 at 4:41 AM, Rob Gould wrote: > Is there a free solution out there that will enable me to take a > PHP-generated postscript output file, and dynamically, on-the-fly convert it > to a PDF document and send to the user as a download when the user clients > on a link? > > [...] >

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Robert Cummings
I viewed the source on the site like the features suggested I should... does NOLOH always generate HTML with all those hard embedded style attributes? Cheers, Rob. Asher Snyder wrote: Hello Brandon, I'm Asher Snyder, one of the developers of NOLOH. Please feel free to e-mail me with any qu

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Asher Snyder
Hello Brandon, I'm Asher Snyder, one of the developers of NOLOH. Please feel free to e-mail me with any questions you have. On Sat, Mar 27, 2010 at 1:23 PM, Ashley Sheridan wrote: > On Sat, 2010-03-27 at 13:21 -0400, Brandon Rampersad wrote: > > > Thank you but i can't find the download on that

Re: [PHP] Adding Time

2010-03-27 Thread Nilesh Govindarajan
On 03/27/2010 11:13 PM, Gary wrote: I have a manual input field to add a date on a form. There is another manual input field to add number of months (This is for a loan agreement).I am trying to add the two together to get an ending date. I dont think I am close, can anyone poimt me in the right

[PHP] Adding Time

2010-03-27 Thread Gary
I have a manual input field to add a date on a form. There is another manual input field to add number of months (This is for a loan agreement).I am trying to add the two together to get an ending date. I dont think I am close, can anyone poimt me in the right direction. $pay_date=($_SESSIO

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Ashley Sheridan
On Sat, 2010-03-27 at 13:33 -0400, Brandon Rampersad wrote: > Sorry, im on gmail and can't find that button. i only see the reply > button. maybe try manually adding the php-general email address in? I know a lot of people here use Gmail accounts on the list, maybe one of them knows something t

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Ashley Sheridan
On Sat, 2010-03-27 at 13:21 -0400, Brandon Rampersad wrote: > Thank you but i can't find the download on that website. Anyone have > it that can send it to me via an attachment? Thank You > > > On Sat, Mar 27, 2010 at 12:45 PM, Ashley Sheridan > wrote: > > > On Sat, 2010-03-27

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread Ashley Sheridan
On Sat, 2010-03-27 at 12:55 -0400, tedd wrote: > At 12:41 AM -0400 3/27/10, Rob Gould wrote: > >Is there a free solution out there that will enable me to take a > >PHP-generated postscript output file, and dynamically, on-the-fly > >convert it to a PDF document and send to the user as a download

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread tedd
At 12:41 AM -0400 3/27/10, Rob Gould wrote: Is there a free solution out there that will enable me to take a PHP-generated postscript output file, and dynamically, on-the-fly convert it to a PDF document and send to the user as a download when the user clients on a link? More description of w

Re: [PHP] Noloh PHP Framework

2010-03-27 Thread Ashley Sheridan
On Sat, 2010-03-27 at 12:18 -0400, Brandon Rampersad wrote: > Hello buds, > > Anyone have experience with the noloh php framework (noloh) and knows where > i can download it? Im not sure if its open source or encrypted. > > Thanks http://www.google.co.uk/search?q=php+noloh Searching usually he

[PHP] is there any setting to declare the member variables in constructor?

2010-03-27 Thread solo hsi
now i'm re-writing some script to output pdf files. the original code is based on fpdf, but as you know, fpdf can't deal with the characters in utf8. so i want to change it to tcpdf. there is a class extend from fpdf, in its constructor function, there is some script just like "$this->db = $db;". t

[PHP] Noloh PHP Framework

2010-03-27 Thread Brandon Rampersad
Hello buds, Anyone have experience with the noloh php framework (noloh) and knows where i can download it? Im not sure if its open source or encrypted. Thanks

[PHP] Re: Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread Al
On 3/27/2010 12:41 AM, Rob Gould wrote: Is there a free solution out there that will enable me to take a PHP-generated postscript output file, and dynamically, on-the-fly convert it to a PDF document and send to the user as a download when the user clients on a link? More description of what

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 Thread Floyd Resler
On Mar 27, 2010, at 12:41 AM, Rob Gould wrote: Is there a free solution out there that will enable me to take a PHP- generated postscript output file, and dynamically, on-the-fly convert it to a PDF document and send to the user as a download when the user clients on a link? More descri

Re: [PHP]Zip and text files generated are corrupted

2010-03-27 Thread Kim Madsen
Mike Roberts wrote on 25/03/2010 14:56: remove No :-) Use the proper unsubscribe method rather than spamming the list. -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please guide in selection of Framework: according to your experience

2010-03-27 Thread Ashley Sheridan
On Sat, 2010-03-27 at 11:15 +0530, Nilesh Govindarajan wrote: > On 03/27/2010 09:58 AM, Vishal Rewari wrote: > > Dear PHP community, > > > > I am vishal, I have recently started development in PHP > > > > I have come across these PHP frameworks: > > > > > > 1. Codeigniter > > 2. Symphony >