[PHP] Re: Instructions on compiling PHP 5.2.8 for Mac OS X Server 10.4.11

2008-12-12 Thread Nathan Rixham
Rene Fournier wrote: Since Marc Liyange hasn't updated his binary since 5.2.4, I've been looking for some instructions on building my own, specifically the latest 5.2.8 source for 10.4 Server. Google doesn't turn up anything for me. Anyone have a good link? ...Rene http://www.hmug.org/pub/M

Re: [PHP] Using a class inside of a class

2008-12-12 Thread Nathan Rixham
Robert Cummings wrote: On Fri, 2008-12-12 at 13:21 -0800, Richard Kurth wrote: Can I use another class inside of a function in a class this function process_queue below is inside of a class called class mailer I want to use the phpMailer class inside of this function so I can send email using

Re: [PHP] Using a class inside of a class

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 13:21 -0800, Richard Kurth wrote: > Can I use another class inside of a function in a class > > > this function process_queue below is inside of a class called class mailer > I want to use the phpMailer class inside of this function so I can send > email using smtp. > Can t

[PHP] Instructions on compiling PHP 5.2.8 for Mac OS X Server 10.4.11

2008-12-12 Thread Rene Fournier
Since Marc Liyange hasn't updated his binary since 5.2.4, I've been looking for some instructions on building my own, specifically the latest 5.2.8 source for 10.4 Server. Google doesn't turn up anything for me. Anyone have a good link? ...Rene -- PHP General Mailing List (http://www.php.n

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Jim Lucas
Terion Miller wrote: > On Fri, Dec 12, 2008 at 5:08 PM, Daniel P. Brown > wrote: > >> On Fri, Dec 12, 2008 at 18:03, Terion Miller >> wrote: >>> Well I did some changes and I must be learning because although I have >> the >>> same error I don't have new ones... >>> so now the code is like this:

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
On Fri, Dec 12, 2008 at 5:08 PM, Daniel P. Brown wrote: > On Fri, Dec 12, 2008 at 18:03, Terion Miller > wrote: > > > > Well I did some changes and I must be learning because although I have > the > > same error I don't have new ones... > > so now the code is like this: > > $sql = "SELECT * FROM

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Daniel P. Brown
On Fri, Dec 12, 2008 at 18:03, Terion Miller wrote: > > Well I did some changes and I must be learning because although I have the > same error I don't have new ones... > so now the code is like this: > $sql = "SELECT * FROM `importimages` WHERE `Category` = 'Obits'"; > $result = mysql_query($sql)

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
On Fri, Dec 12, 2008 at 4:52 PM, Terion Miller wrote: > > > On Fri, Dec 12, 2008 at 4:02 PM, Daniel P. Brown < > daniel.br...@parasane.net> wrote: > >> On Fri, Dec 12, 2008 at 16:54, Terion Miller >> wrote: >> > >> > $query = "SELECT * FROM importimages WHERE Category='Obits' "; >> > $result = my

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
On Fri, Dec 12, 2008 at 4:02 PM, Daniel P. Brown wrote: > On Fri, Dec 12, 2008 at 16:54, Terion Miller > wrote: > > > > $query = "SELECT * FROM importimages WHERE Category='Obits' "; > > $result = mysql_query ($query); > > > > $arr = mysql_fetch_row($result); > > $result2 = $arr[0]; > > echo ($re

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Daniel P. Brown
On Fri, Dec 12, 2008 at 16:54, Terion Miller wrote: > > $query = "SELECT * FROM importimages WHERE Category='Obits' "; > $result = mysql_query ($query); > > $arr = mysql_fetch_row($result); > $result2 = $arr[0]; > echo ($result2); Try this to get yourself started: $v) { echo stripsl

[PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Terion Miller
Hey there, okay I ran into these and need some tips, pointers etc... First I was getting the Resource ID#5 error with this query: $query="SELECT * FROM importimages WHERE Category='Obits'"; $result = mysql_query($query); so then I read how mysql_query returns a resource, so I tried this: $query

[PHP] Using a class inside of a class

2008-12-12 Thread Richard Kurth
Can I use another class inside of a function in a class this function process_queue below is inside of a class called class mailer I want to use the phpMailer class inside of this function so I can send email using smtp. Can this be done and is there any information out there on how to do this

[PHP] Re: question on parameter specification in href tag

2008-12-12 Thread Xaver Thum
Hi, thanks for the quick solutions ! Regards Xaver ""Xaver Thum"" schrieb im Newsbeitrag news:9b.01.31950.6dbe0...@pb1.pair.com... > Hi, > > I want to set a link like > > http://www.anyurl.com?mypar=17&color=red";> ... > > into my HTML file; that works fine. > > But if I specify a hex col

Re: [PHP] question on parameter specification in href tag

2008-12-12 Thread Daniel Brown
On Thu, Dec 11, 2008 at 05:30, Xaver Thum wrote: > > But if I specify a hex color like #CC instead of "red", > > http://www.anyurl.com?mypar=17&color=#CC";> ... > > the color is ignored (probably because # starts a PHP comment). > Is there any workaround for this problem ? Hey, X;

Re: [PHP] question on parameter specification in href tag

2008-12-12 Thread Robert Cummings
On Thu, 2008-12-11 at 11:30 +0100, Xaver Thum wrote: > Hi, > > I want to set a link like > > http://www.anyurl.com?mypar=17&color=red";> ... > > into my HTML file; that works fine. > > But if I specify a hex color like #CC instead of "red", > > http://www.anyurl.com?mypar=17&color=#CC"

[PHP] question on parameter specification in href tag

2008-12-12 Thread Xaver Thum
Hi, I want to set a link like http://www.anyurl.com?mypar=17&color=red";> ... into my HTML file; that works fine. But if I specify a hex color like #CC instead of "red", http://www.anyurl.com?mypar=17&color=#CC";> ... the color is ignored (probably because # starts a PHP comment). Is

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Dotan Cohen
2008/12/12 Robert Cummings : > Do you mean "as seen on /." ? > I do, at least.. at least I mean what I say... that's the same thing, you know. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع

[PHP] Credit Card processing: Chase PaymenTech

2008-12-12 Thread phphelp -- kbk
Hello - - --- -- - -- I need to develop Credit Card processing for my current application. We have our own shopping cart. We have been trying in vain to get technical information from PaymenTech for *months* -- but it seems that Chase sold part of it, or split it off into a separate compan

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 18:39 +0200, Dotan Cohen wrote: > 2008/12/12 Richard Heyes : > > Well it's not really related to PHP, but certainly web development in > > general. Personally, I was surprised by the jump from 0.4 to 1.0. > > Judging by other Google betas (eg Gmail) I was expecting it to be in

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Richard Heyes
> As seen on ./, it seems that Google may be pressing OEMs to include > Chrome bundled on new computers. That cannot happen with a beta web > browser. Great. Can't fault them. Even in its beta state, I think it's better than MSIE. I still use Firefox though... -- Richard Heyes HTML5 Graphing fo

[PHP] Re: Foreign Keys Question

2008-12-12 Thread tedd
At 4:34 PM + 12/12/08, Colin Guthrie wrote: 'Twas brillig, and tedd at 12/12/08 15:16 did gyre and gimble: My first tendency is to keep everything. After all, memory is cheap and access times are always reducing. While it's true that having a bunch of worthless data doesn't accomplish any

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Dotan Cohen
2008/12/12 Richard Heyes : > Well it's not really related to PHP, but certainly web development in > general. Personally, I was surprised by the jump from 0.4 to 1.0. > Judging by other Google betas (eg Gmail) I was expecting it to be in > beta for the next decade or so. > As seen on ./, it seems

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Daniel Brown
On Fri, Dec 12, 2008 at 10:35, Robert Cummings wrote: > > Are you suggesting I'm not tolerant? Pfff. Not since you've let those crosses on the lawn burn out. ;-P And yet, despite all of this, poor ol' php...@lists.php.net is left in the cold. -- http://www.parasane.net/ daniel.br...@

[PHP] Re: Foreign Keys Question

2008-12-12 Thread Colin Guthrie
'Twas brillig, and tedd at 12/12/08 15:16 did gyre and gimble: My first tendency is to keep everything. After all, memory is cheap and access times are always reducing. While it's true that having a bunch of worthless data doesn't accomplish anything and slows the process of dealing with it.

[PHP] Re: Question on if() priorities

2008-12-12 Thread Frank Stanovcak
Thanks. Don't know how I could have missed that. "Maciek Sokolewicz" wrote in message news:49428d51.3090...@php.net... > Frank Stanovcak wrote: >> I can't seem to find a reference to this in the manual, but is there an >> order of precedence for and or xor in an if statement? Kind of like >>

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 11:02 -0500, Daniel Brown wrote: > On Fri, Dec 12, 2008 at 10:35, Robert Cummings wrote: > > > > Are you suggesting I'm not tolerant? Pfff. > > Not since you've let those crosses on the lawn burn out. ;-P Those aren't crosses... they're plus symbols, I was teaching my

[PHP] Re: Question on if() priorities

2008-12-12 Thread Maciek Sokolewicz
Frank Stanovcak wrote: I can't seem to find a reference to this in the manual, but is there an order of precedence for and or xor in an if statement? Kind of like PPMDAS or polish notation for math (PPMDAS = Powers. Parenthacies. Multiplication...) I ask because this seems to be working for

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Frank Stanovcak
"Robert Cummings" wrote in message news:1229096146.22284.27.ca...@localhost... > On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: >> [snip] >> It's Christmas... the season of giving and tolerance :| >> [/snip] >> >> We will return you to your regularly scheduled Robert Cummings Jan 2nd, >

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread ceo
I would set it up that a person could elect to work with one or more Departments. If they work on a College, they work on all Departments in that college. Another option is to just let them do one Dept at a time, and that's it. Kind of depends on what people actually DO in this work, most

[PHP] Question on if() priorities

2008-12-12 Thread Frank Stanovcak
I can't seem to find a reference to this in the manual, but is there an order of precedence for and or xor in an if statement? Kind of like PPMDAS or polish notation for math (PPMDAS = Powers. Parenthacies. Multiplication...) I ask because this seems to be working for me, but I want to make su

Re: [PHP] Re: Foreign Keys Question

2008-12-12 Thread phphelp -- kbk
In my enrollment database, we keep historical information. My client is a big computer training organization (for which I also teach). The enrollment information is quite fluid -- people are always canceling or rescheduling. It is important for us to know a person's history. $.02 Ken On D

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: > [snip] > It's Christmas... the season of giving and tolerance :| > [/snip] > > We will return you to your regularly scheduled Robert Cummings Jan 2nd, > 2009 Are you suggesting I'm not tolerant? Pfff. :) Cheers, Rob. -- http://www.inter

[PHP] Re: Foreign Keys Question

2008-12-12 Thread tedd
At 2:50 PM + 12/12/08, Colin Guthrie wrote: 'Twas brillig, and tedd at 12/12/08 14:36 did gyre and gimble: That's neat and a lot more powerful than I thought. It's like following a linked list to it's end while removing all traces of the thread. Exactly And I understand the "instructor

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread tedd
At 6:34 AM -0600 12/12/08, Jay Blanchard wrote: [snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings Jan 2nd, 2009 In either event, the answers are still good. As for MySQL questions on this list, as I said previ

[PHP] Re: Foreign Keys Question

2008-12-12 Thread Colin Guthrie
'Twas brillig, and tedd at 12/12/08 14:36 did gyre and gimble: That's neat and a lot more powerful than I thought. It's like following a linked list to it's end while removing all traces of the thread. Exactly And I understand the "instructor delete" was not intended. Yeah indeed. I had a d

[PHP] Re: Foreign Keys Question

2008-12-12 Thread tedd
At 10:24 PM + 12/11/08, Colin Guthrie wrote: 'Twas brillig, and tedd at 11/12/08 18:46 did gyre and gimble: As for my "Foreign Keys Question", I think the answer is that it enforces rules upon the configuration (i.e., deleting, altering, and such), but does not provide any significant servi

Re: [PHP] Foreign Keys Question

2008-12-12 Thread tedd
At 4:25 PM -0500 12/11/08, Robert Cummings wrote: On Thu, 2008-12-11 at 16:24 -0500, Robert Cummings wrote: > lock table check enrolment count no room unlock table generate error have room insert row unlock table Ba da boom. I should h

[PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Colin Guthrie
'Twas brillig, and Terion Miller at 12/12/08 13:55 did gyre and gimble: Thanks for the responses, CakePhp was seemingly very easy for me to catch on to and get started in (which means its super super easy folks) unfortunately when I got to the viewing of my files (pretty important) I couldn't get

RE: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Boyd, Todd M.
> -Original Message- > From: Terion Miller [mailto:webdev.ter...@gmail.com] > Sent: Friday, December 12, 2008 7:55 AM > To: Colin Guthrie > Cc: php-general@lists.php.net > Subject: Re: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, > Cake etc > > On Thu, Dec 11, 2008 at 4:25 PM, Co

Re: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Peter Ford
Terion Miller wrote: > On Thu, Dec 11, 2008 at 4:25 PM, Colin Guthrie wrote: > >> 'Twas brillig, and Terion Miller at 11/12/08 14:56 did gyre and gimble: >> >>> Hey Everyone, I am wondering if using a framework such as one of these may >>> make my life easier, which do any of you use and what has

RE: [PHP] Re: Foreign Keys Question

2008-12-12 Thread Boyd, Todd M.
> -Original Message- > From: clive [mailto:clive_li...@immigrationunit.com] > Sent: Friday, December 12, 2008 1:07 AM > To: PHP LIST > Subject: Re: [PHP] Re: Foreign Keys Question > > Colin Guthrie wrote: > > 'Twas brillig, and tedd at 11/12/08 18:46 did gyre and gimble: > >> As for my "Fo

Re: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Terion Miller
On Thu, Dec 11, 2008 at 4:25 PM, Colin Guthrie wrote: > 'Twas brillig, and Terion Miller at 11/12/08 14:56 did gyre and gimble: > >> Hey Everyone, I am wondering if using a framework such as one of these may >> make my life easier, which do any of you use and what has been your >> experience with

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Jay Blanchard
[snip] I guess, if people get more responses here, it shows that this mailing list is superior (no offence to the MySQL list :-P ). [/snip] Duh. Was there ever any question? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Jay Blanchard
[snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings Jan 2nd, 2009 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Chrome 1.0 released

2008-12-12 Thread Richard Heyes
Hi, Well it's not really related to PHP, but certainly web development in general. Personally, I was surprised by the jump from 0.4 to 1.0. Judging by other Google betas (eg Gmail) I was expecting it to be in beta for the next decade or so. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera

[PHP] Re: How serialize DOMDocument object?

2008-12-12 Thread Colin Guthrie
'Twas brillig, and Михаил Гаврилов at 12/12/08 06:23 did gyre and gimble: How serialize DOMDocument object? Easiest way is to save it to an XML string and then load it again. If you want a conveneinet way to store domdocuments in the session, then just extend the class and define __sleep and

Re: [PHP] Foreign Keys Question

2008-12-12 Thread Waynn Lue
> > Waynn Lue wrote: > >> As a side note, FKs do enforce other table specific properties like >> indexes on the fields being constrained, so they do add value there as >> well. But there's of course an extra cost on updates and inserts to >> see if the FK is violated. >> > > On the external table?