Re: [PHP] Rules of Engagement

2007-07-28 Thread Lester Caine
Daniel Brown wrote: As a relatively-new contributor to this list (read: under 2 years), I realize that I have no business requesting a change, but I'll breech etiquette and hope for the best. Can we update the filters on the list to have the reply-to address header marked to the php-gene

[PHP] About XSL Transformation

2007-07-28 Thread Kelvin Park
I have an XML file with 10 products with their registered dates(dates when they were created). My XSL code is set so that it sorts the products in descending order(latest to oldest) by registered dates. I tried to declare xsl:variable to increment within xsl:for-each, however I ran in to some de

Re: [PHP] Re: Pirate PHP books online?

2007-07-28 Thread Dotan Cohen
On 29/07/07, Larry Garfield <[EMAIL PROTECTED]> wrote: > 1) Something can be illegal without it being theft. The idea that "if it's > not theft then it must be OK" is the bullshit argument that I am pointing out > as bullshit. That's a valid point, but you are playing lawyer's games. "It's not th

Re: [PHP] Pirate PHP books online?

2007-07-28 Thread Richard Lynch
On Fri, July 27, 2007 6:28 pm, Larry Garfield wrote: > On Friday 27 July 2007, Richard Lynch wrote: > If "indirectly affecting the market so that prices change" counts as > stealing, > then Coke and Pepsi build their business models around stealing from > each > other. > > Apache/PHP/MySQL are then

[PHP] Dealing with ImageMagick from PHP

2007-07-28 Thread Eric Holt (PHP List)
Hello everyone. This is my first post to the list, so bare with me :) I have written an application for a client that is used in the Event Photography business. It handles taking photographs, categorizing them, making thumbnails of them, and allows parents(customers) to view the photos and o

Re: [PHP] Profile / Debug w/o server modification?

2007-07-28 Thread Richard Lynch
On Fri, July 27, 2007 10:01 pm, Instruct ICC wrote: >>From: "Richard Lynch" <[EMAIL PROTECTED]> >> > But xdebug and apd are probably moot. >> > >> > BTW, I'm not using separate development and production machines. >> >>Right there is your first problem. >> >>Solve that first. > > If you mean get a

Re: [PHP] Hide the real URL

2007-07-28 Thread Richard Lynch
On Fri, July 27, 2007 10:17 pm, Eric Butera wrote: > We have our own dedicated server that we host client sites on. If I > were to back out into the root then I would be at the level of all the > other sites. It just doesn't make sense in my case. It's pretty trivial to add one more layer of dir

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Richard Lynch
On Sat, July 28, 2007 9:40 am, C.R.Vegelin wrote: > I have a PHP script, as follows: > > > As expected, the browser shows nothing, > but when I view Source in the browser, I see: > > > Shouldn't it be just: , without the echo result ? > I don't expect PHP to be active between . I can see what

Re: [PHP] Rules of Engagement

2007-07-28 Thread Richard Lynch
On Sat, July 28, 2007 11:37 pm, Larry Garfield wrote: > Amen! A public discussion list (such as this one) really should have > Reply-To > set correctly. All of the arguments against Reply-To headers apply > only to > the 1% of the population still using mail clients written in the early > 90s.

Re: [PHP] Rules of Engagement

2007-07-28 Thread Richard Lynch
On Sat, July 28, 2007 7:28 pm, Daniel Brown wrote: > Can we update the filters on the list to have the reply-to address > header marked to the php-general address? This is a religious question of mailing list management, and there are always going to be large sized contingents on each side of

Re: [PHP] PDO_SQLite Transactions

2007-07-28 Thread Richard Lynch
I suspect that you are trying to update the record you just inserted. That may just not be possible in the transaction model, for whatever internal purposes. It also seems kind of backwards to me at least. Why not just do the file move and error checking before you even bother to insert, and the

Re: [PHP] Rules of Engagement

2007-07-28 Thread Larry Garfield
On Saturday 28 July 2007, Daniel Brown wrote: > As a relatively-new contributor to this list (read: under 2 > years), I realize that I have no business requesting a change, but > I'll breech etiquette and hope for the best. > > Can we update the filters on the list to have the reply-to addr

[PHP] PDO_SQLite Transactions

2007-07-28 Thread M. Sokolewicz
I've been having this problem for a while now, when I use transactions in SQLite with PDO it stalls on me with an error stating my statements are in progress. I've tried closing all cursors to my statements, but that does not seem to resolve this for me. This is my code, (obviously shortened qu

Re: [PHP] Rules of Engagement

2007-07-28 Thread Tijnema
On 7/29/07, Daniel Brown <[EMAIL PROTECTED]> wrote: >As a relatively-new contributor to this list (read: under 2 > years), I realize that I have no business requesting a change, but > I'll breech etiquette and hope for the best. > >Can we update the filters on the list to have the reply-to

Re: [PHP] PHP list as a blog

2007-07-28 Thread Daniel Brown
I'll top-post for this announcement. I think we found the winner of the "Revive An Old Topic" award. Congrats. On 7/28/07, Børge Holen <[EMAIL PROTECTED]> wrote: > On Thursday 14 June 2007 00:41, Philip Thompson wrote: > > On Jun 13, 2007, at 1:15 PM, Richard Lynch wrote: > > > On Wed, J

Re: [PHP] Re: Pirate PHP books online?

2007-07-28 Thread Larry Garfield
On Saturday 28 July 2007, Dotan Cohen wrote: > On 28/07/07, tedd <[EMAIL PROTECTED]> wrote: > > >On 28/07/07, Larry Garfield <[EMAIL PROTECTED]> wrote: > > >> If "indirectly affecting the market so that prices change" counts > > >>as stealing, > > >> then Coke and Pepsi build their business model

[PHP] Re: Pirate PHP books online?

2007-07-28 Thread Dotan Cohen
On 28/07/07, tedd <[EMAIL PROTECTED]> wrote: > >On 28/07/07, Larry Garfield <[EMAIL PROTECTED]> wrote: > >> If "indirectly affecting the market so that prices change" counts > >>as stealing, > >> then Coke and Pepsi build their business models around stealing from each > >> other. > >> > >> Apa

Re: [PHP] how to use imagestring() function with Chinese String

2007-07-28 Thread brian
Davis Chan wrote: brian wrote: Does the font you're using support Chinese characters? Are the Good point, I think I am just using the "default" and size 1. Are there other fonts? Where can I find the font file for imageloadfont()? You'll need to find a TrueType font that supports Chinese

Re: [PHP] PHP list as a blog

2007-07-28 Thread Børge Holen
On Thursday 14 June 2007 00:41, Philip Thompson wrote: > On Jun 13, 2007, at 1:15 PM, Richard Lynch wrote: > > On Wed, June 13, 2007 12:21 am, Crayon Shin Chan wrote: > >> On Wednesday 13 June 2007 12:39, Paul Scott wrote: > >>> Our interns and students specifically. They are all dead scared of > >

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread C.R.Vegelin
Hi Daniel, Paul, Robert, Rick, Thanks for making it clear. Have a nice weekend. Cor - Original Message - From: "Daniel Brown" <[EMAIL PROTECTED]> To: "Paul Novitski" <[EMAIL PROTECTED]> Cc: Sent: Saturday, July 28, 2007 4:29 PM Subject: Re: [PHP] Comment modes behavior in HTML and PH

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Daniel Brown
On 7/28/07, Paul Novitski <[EMAIL PROTECTED]> wrote: > At 7/28/2007 07:40 AM, C.R.Vegelin wrote: > >I have a PHP script, as follows: > > > > > >As expected, the browser shows nothing, > >but when I view Source in the browser, I see: > > > > > >Shouldn't it be just: , without the echo result ? > >I

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Paul Novitski
At 7/28/2007 07:40 AM, C.R.Vegelin wrote: I have a PHP script, as follows: As expected, the browser shows nothing, but when I view Source in the browser, I see: Shouldn't it be just: , without the echo result ? I don't expect PHP to be active between . is an HTML comment. /* ... */ and /

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Robert Degen
On Sa, Jul 28, 2007 at 03:40:07 +0100, C.R.Vegelin wrote: > I have a PHP script, as follows: > > > As expected, the browser shows nothing, > but when I view Source in the browser, I see: > > > Shouldn't it be just: , without the echo result ? > I don't expect PHP to be active between . No, yo

[PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread C.R.Vegelin
I have a PHP script, as follows: As expected, the browser shows nothing, but when I view Source in the browser, I see: Shouldn't it be just: , without the echo result ? I don't expect PHP to be active between . TIA, Cor

Re: [PHP] Authentication

2007-07-28 Thread Richard Heyes
I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the machine and other data, is there a function with

Re: [PHP] Pirate PHP books online?

2007-07-28 Thread Dotan Cohen
On 28/07/07, Larry Garfield <[EMAIL PROTECTED]> wrote: > If "indirectly affecting the market so that prices change" counts as stealing, > then Coke and Pepsi build their business models around stealing from each > other. > > Apache/PHP/MySQL are then "stealing actual money" from Microsoft, because

[PHP] ODF creation functions

2007-07-28 Thread Dotan Cohen
Is there a way to create ODF files with php? I don't see anything in the manual. I would rather use the open ODF standard than proprietary PDF for distributing documents. Plain text files are inappropriate for the layout we need, and html is inappropriate for the distribution. Thank you. Dotan Coh

Re: [PHP] how to use imagestring() function with Chinese String

2007-07-28 Thread Richard Davey
Hi Davis, Saturday, July 28, 2007, 1:54:22 AM, you wrote: > Hi! I am trying to use the imagestring() function to put a string of > Chinese characters from a $_GET variable onto an image. However, the > characters do not display right (English is fine). Is there a way I can > fix this or it is t