php-general Digest 29 Jul 2007 04:37:49 -0000 Issue 4930

2007-07-28 Thread php-general-digest-help
php-general Digest 29 Jul 2007 04:37:49 - Issue 4930 Topics (messages 259744 through 259753): Re: Comment modes behavior in HTML and PHP 259744 by: C.R.Vegelin Re: PHP list as a blog 259745 by: Børge Holen 259749 by: Daniel Brown Re: how to use imagestring()

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

2007-07-28 Thread Davis Chan
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()? characters coming through in $_GET ok? echo $_GET[...]; is fine. How *are* the

[PHP] Re: Solution for writing a function layer between pecl-memcache and PHP

2007-07-28 Thread Sascha Braun - CEO @ Braun Networks
Dear Mister Minka, in the attachment of this file, you will find a complete example for the problem, decscribed. There are two working examples, and the main example which is not working. Could you please be so kind in between to tell me who you are, because I couldn't find any mails in the php

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 the

[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

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 they

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

[PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread C.R.Vegelin
I have a PHP script, as follows: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?-- Shouldn't it be just: !-- --, without the echo result ? I don't

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: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?--

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: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?-- Shouldn't it be just: !--

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: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML

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: php-general@lists.php.net Sent: Saturday, July 28, 2007 4:29 PM Subject: Re: [PHP] Comment modes

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 joining

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

[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. Apache/PHP/MySQL are then

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 models around stealing

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, June 13,

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

[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

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 address

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

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] 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. The

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: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?--

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

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 dev box. You don't know

[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

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 stealing

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 theft,