Re: [PHP] the best 1 book for php

2011-04-07 Thread Yousif Masoud
On Thu, 2011-04-07 at 00:15 -0400, Kirk Bailey wrote: > If I only had 1 book on php, what would it be? > > -- > end > > Very Truly yours, > - Kirk Bailey, > Largo Florida > > kniht >+-+ >

Re: [PHP] 1984 (Big Brother)

2010-09-15 Thread Yousif Masoud
On 12/09/10 17:32, tedd wrote: Hi gang: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) In other words, when the boss is not logged on, then his employees cannot access the business database in

Re: [PHP] Still searching for a bugtracking system

2010-03-30 Thread Yousif Masoud
On Tue, Mar 30, 2010 at 2:13 PM, Andre Polykanine wrote: > Hello everyone, > The best of all suggested bugtrackers is JotBug, on my opinion. But it > works only with SQLite databases, and I have no access to such one > (only MySql). > Any solutions? > [...] I use Eventum. So far, so good. http

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 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 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] 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] MySQL: Return Number of Matched Rows

2010-03-25 Thread Yousif Masoud
On Thu, Mar 25, 2010 at 9:19 PM, James Colannino wrote: > Yeah, the extra select is what I was hoping to avoid :-P The MySQL > client will return both the number of rows matched and the number of > rows affected by the query; I was hoping perhaps the PHP API offered a > way for me to do the same.

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Yousif Masoud
> > P.S. I HATE bottom posting. WTF do I have to scroll all the way down past > hundreds of useless lines just to read a "me too" or some other comment. If > it's at the top, I can simply just keep moving from header to header in > Outlook (or your email GUI of choice). DELETE as I go. Easy. Simple

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Yousif Masoud
On Wed, Mar 24, 2010 at 1:33 PM, Yousif Masoud wrote: > For PHP, a book I really liked was: > > > http://books.google.co.uk/books?id=LWkGyWErOq0C&printsec=frontcover&dq=Web+applications+PHP+And+MySQL&hl=en&ei=KROqS9jWAtCM_Ab5isC1AQ&sa=X&oi=book_result&ct=r

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Yousif Masoud
On Wed, Mar 24, 2010 at 12:13 PM, Ben Stones wrote: > Hi, > > I want to properly learn object oriented programming as I've been coding in > procedural style since I started with PHP a few years ago, and want to give > OOP a shot. The web isn't really a good resource to learn OOP in PHP to be > hon

Re: [PHP] how to do cloud computing with php

2010-03-24 Thread Yousif Masoud
On Wed, Mar 24, 2010 at 11:55 AM, Rene Veerman wrote: > Hi.. > > As a way to take a few steps back from the kinda heated "when will php > grow up and support threading" thread, i'm requesting you people list > how you scale from 1 server to many servers; what's called cloud > computing. > Intere

Re: [PHP] MySQL Appeal from Monty

2009-12-16 Thread Yousif Masoud
On Wed, Dec 16, 2009 at 3:14 PM, Philip Thompson wrote: > On Dec 15, 2009, at 6:03 AM, Ashley Sheridan wrote: > > > On Tue, 2009-12-15 at 02:53 +, Joseph Masoud wrote: > >> > >> On 14 Dec 2009, at 22:01, Ashley Sheridan > >> wrote: > >> > >> > On Mon, 2009-12-14 at 15:59 -0600, Philip Thompso