php-general Digest 29 Jul 2007 17:46:08 -0000 Issue 4931

2007-07-29 Thread php-general-digest-help
php-general Digest 29 Jul 2007 17:46:08 - Issue 4931 Topics (messages 259754 through 259772): Re: PDO_SQLite Transactions 259754 by: Richard Lynch 259770 by: M. Sokolewicz Re: Rules of Engagement 259755 by: Richard Lynch 259756 by: Richard Lynch

[PHP] About XSL Transformation

2007-07-29 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

Re: [PHP] Rules of Engagement

2007-07-29 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

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

2007-07-29 Thread Instruct ICC
From: Richard Lynch [EMAIL PROTECTED] On Fri, July 27, 2007 10:01 pm, Instruct ICC wrote: If you mean get a dev box. You don't know how long I've been asking for one to match the production box. Your dev box should only match in software versions (okay, and any really funky specialized

Re: [PHP] PHP list as a blog

2007-07-29 Thread Børge Holen
On Sunday 29 July 2007 02:18, you wrote: I'll top-post for this announcement. I think we found the winner of the Revive An Old Topic award. hup, yes its that vacation thing you posted about later ;D I just got 2278 more Congrats. On 7/28/07, Børge Holen [EMAIL PROTECTED] wrote:

Re: [PHP] Objects

2007-07-29 Thread tedd
At 2:00 PM -0400 7/25/07, Nathan Nobbe wrote: yes well at the beginning of the design patterns book they basically explain the same thing. if you dont understand the basic oo priciples, then design patterns arent going to make any sense. these basic concepts are (not looking in the book [testing

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-29 Thread tedd
At 2:52 PM -0700 7/27/07, John A DAVIS wrote: Content-Language: Content-Type: text/plain; charset=utf-8 Very good! Very good! Thank you. Lots of stuff to mull over. John A. Davis Programmer State of Oregon DHS OIS CNE, MCSE Don't think of the problem, think of the solution Satyam [EMAIL

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-29 Thread Satyam
- Original Message - From: tedd [EMAIL PROTECTED] To: John A DAVIS [EMAIL PROTECTED]; php-general@lists.php.net Sent: Sunday, July 29, 2007 4:32 PM Subject: Re: [PHP] need insights on encrypting and uploading ASCII file using PHP Finally, you could get your users to ZIP the files

[PHP] Re: Dealing with ImageMagick from PHP

2007-07-29 Thread Al
You'd be far better off asking your questions on the phpList forum. There are a number of hints on the forum for speeding up things. Plus, look in the examples section. Eric Holt (PHP List) wrote: Hello everyone. This is my first post to the list, so bare with me :) I have written an

Re: [PHP] PDO_SQLite Transactions

2007-07-29 Thread M. Sokolewicz
I was indeed trying to update the record I just inserted, the thing is though, if I remove all other queries and keep just PDO-beginTransaction(); PDO-prepare(); PDOstatement-execute(); PDOstatement-closeCursor(); PDO-commit(); it still returns such an error. Which is very odd indeed... As for

Re: [PHP] Objects

2007-07-29 Thread Nathan Nobbe
tedd, have you looked at the book we're talking about? also, there are several other books on design patterns available, but the Heads First book is one ive heard mentioned a lot. you can check out a really sweet site online phppatterns.com; in particular follow the design link on the right hand

Re: [PHP] PDO_SQLite Transactions

2007-07-29 Thread Nathan Nobbe
i had this same problem when trying to do a select directly after an insert w/ pdo + sqlite3 transactions. solution in that case was to use last_insert_id (or whatever the actual pdo method is called, cant remember and too lazy to lookup, atm :)) anyway if you want to do an update after an insert

Re: [PHP] About XSL Transformation

2007-07-29 Thread Nathan Nobbe
build or modify the xml w/ php. or pickup a book on xsl :) -nathan On 7/29/07, Kelvin Park [EMAIL PROTECTED] wrote: 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

Re: [PHP] Rules of Engagement

2007-07-29 Thread Nathan Nobbe
gmail seems to consume these 'double replies' transparently w/ its 'conversations'. i never notice them :) sorry to everyone who gets hit w/ the extra mail when i hit reply-to-all. youll have to forgive my laziness, its just easier that way. -nathan On 7/29/07, Lester Caine [EMAIL PROTECTED]

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

2007-07-29 Thread Nathan Nobbe
richard, ive seen plenty of scenarios where the dev box has to be pretty tough itself. i think it depends mostly on how much load its taking on.say you have 30 developers or so working on a few different viirtual sites simultaneously. now add in the problems that occur during development,

[PHP] PHP Rating system

2007-07-29 Thread Chris Carter
Hi, I am trying for a php rating code that can utilized for a restaurant requirement. First of all I am not sure if there is database that is obvious with rating system. In case it is or even if its not, is there some site and code available from where the code can be used. I have tried some

[PHP] Re: Rules of Engagement

2007-07-29 Thread Colin Guthrie
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

Re: [PHP] Authentication

2007-07-29 Thread Stut
Dan Shirah wrote: 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

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-29 Thread Stut
Richard Lynch wrote: On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote: We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are being asked to encrypt this file for internet transfer. We are also being asked to create a secure process by which

Re: [PHP] About XSL Transformation

2007-07-29 Thread Kelvin Park
Nathan Nobbe wrote: this is basically a design decision on your part. since you are working w/ 2 programming languages, ie. php and xsl, you will need to determine how much logic is implemented in each language. i would recommend you devise a scheme early on in your application lifetime and

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

2007-07-29 Thread Tom Ray [Lists]
Really, I had expected more mature commentary from the adults on this list. So did I. I expect adults to display morality and values. Really? Have you hung out with many computer geeks? Oh..wait..morality..I thought you said maturity. Pardon me. :) -- PHP General Mailing List

Re: [PHP] Re: Rules of Engagement

2007-07-29 Thread Tom Ray [Lists]
Colin Guthrie wrote: 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] Re: Dealing with ImageMagick from PHP

2007-07-29 Thread Eric Holt (PHP List)
Al: Thanks, sorry for messaging this to the list. Can you point me in the direction of the official phpList forum? Thanks a ton, --Eric Al wrote: You'd be far better off asking your questions on the phpList forum. There are a number of hints on the forum for speeding up things. Plus,

[PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later select *, 0 as dummy_1, 0 as dummy_2 from table

Re: [PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
On Jul 29, 2007, at 6:49 PM, Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later

Re: [PHP] Re: Dealing with ImageMagick from PHP

2007-07-29 Thread Al
Google imagemagik forums Eric Holt (PHP List) wrote: Al: Thanks, sorry for messaging this to the list. Can you point me in the direction of the official phpList forum? Thanks a ton, --Eric Al wrote: You'd be far better off asking your questions on the phpList forum. There are a

Re: [PHP] About XSL Transformation

2007-07-29 Thread Andrew Ballard
I tried to declare xsl:variable to increment within xsl:for-each, however I ran in to some dead ends. Variables in XSL are not most programmers think of when they hear the term variable. They are variable in the sense that they can be assigned a value at run-time, but they are really more like

Re: [PHP] HTML Email Composing Problem.

2007-07-29 Thread Chris
Tom Ray [Lists] wrote: Chris wrote: Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6

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

2007-07-29 Thread Larry Garfield
On Sunday 29 July 2007, Dotan Cohen wrote: 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

[PHP] php not working anymore in IIS

2007-07-29 Thread Guus Ellenkamp
After changing my php folder from e:\php to f:\php php does not work anymore in my webserver. I found out regsvr32 phpisapi.dll gives an error. I remember having a similar problem but am not sure what and how. Anyone know how to fix? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Bizarre array create error

2007-07-29 Thread Tom Ray [Lists]
Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later select *, 0 as dummy_1, 0 as

Re: [PHP] Re: Rules of Engagement

2007-07-29 Thread Micky Hulse
Tom Ray [Lists] wrote: Well I think my only issue with it is that this is a group discussion ...snip... to the list by default. I agree with Tom. I ussually hit reply, and take a few seconds to delete all the emails except the list email -- not very hard. :) -- Wishlists:

Re: [PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
On Jul 30, 2007, at 12:05 AM, Tom Ray [Lists] wrote: Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields