php-general Digest 27 Jan 2007 18:24:58 -0000 Issue 4593

2007-01-27 Thread php-general-digest-help
php-general Digest 27 Jan 2007 18:24:58 - Issue 4593 Topics (messages 247873 through 247891): connect.c+php 247873 by: ed gregory cennect.c+php 247874 by: Eduard Grigoryan Re: SQL Readability.. (was Re: most powerful php editor) 247875 by: Satyam 247877

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-27 Thread Satyam
- Original Message - From: Larry Garfield [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, January 27, 2007 12:18 AM Subject: Re: [PHP] SQL Readability.. (was Re: most powerful php editor) I have long since given up on raw insert/update/delete statements as the syntax

[PHP] Rory Browne from this php list (0.T)

2007-01-27 Thread Ryan A
Hello! As some of you might remember: a little while back I had a project to be done in PHP, which I asked if anyone on the list would be interested in completing for $800 USD. Rory Browne from the list got the job and around the 15th of Jan he told me he completed the work and was going to

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-27 Thread Jochem Maas
Larry Garfield wrote: I have long since given up on raw insert/update/delete statements as the syntax is all kinds nasty. These days I just do this, which is even easier and more powerful: http://www.garfieldtech.com/blog/simplifying-sql a quick look at those funcs gives me the

Re: [PHP] PHP Flash

2007-01-27 Thread Jochem Maas
Skip Evans wrote: Jochem Maas wrote: Anyone have any experience with PHP/Actionscript on Linux? wtf? ah ok, so the idiots guide to flash/php interaction wasn't really needed :-) Oh my God. What am I thinking? Please folks, I am really not this stupid. It has been too, too long a day.

Re: [PHP] Create ACH Origination file with PHP

2007-01-27 Thread Jochem Maas
Dan Harrington wrote: Hello, Does anyone know of a script that can create an ACH origination file with PHP? SingTFW didn't turn up anything for php but maybe the following perl module might help you to write the equivelant in php:

Re: [PHP] Result sorting not working

2007-01-27 Thread Jochem Maas
Dan Shirah wrote: I have a search page that displays all active records in my application, but for some reason, I can not get it to display based on a specific input. For instance, I have records with id's 2, 3, 4, 5 etc... In my search form, the default view shows all records, and my

Re: [PHP] php javascript interaction

2007-01-27 Thread Jochem Maas
William Stokes wrote: Hello, I need some advice on how to learn Javascript and PHP interaction. Any good tutorials on the web would be most welcome. I particulary need to learn how to pass JS user input/choices to PHP. My current problem is how to ask user confirmation over his actions

[PHP] navigation

2007-01-27 Thread koen
How to creat the effect of the explorers back and forward buttons in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] navigation

2007-01-27 Thread Jay Blanchard
[snip] How to creat the effect of the explorers back and forward buttons in php? [/snip] Since PHP is server side you would have to use Javascript to do this. See http://www.comptechdoc.org/independent/web/cgi/javamanual/javahistory.ht ml -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Edward Kay
Hey - -- - Here I am again. Anybody still working on a Friday? I would like to have a class instance be the property of another class, like can be done in other languages. For example: I would like to have a Connections class which contains all of the database connection logic and query

RE: [PHP] Create ACH Origination file with PHP

2007-01-27 Thread Jay Blanchard
[snip] Does anyone know of a script that can create an ACH origination file with PHP?[/snip] How do you want to input amounts, routing numbers, and account numbers? Have you checked out the NACHA file specifications? http://www.nacha.org Do you need to perform file encryption before you

Re: [PHP] navigation

2007-01-27 Thread Myron Turner
koen wrote: How to creat the effect of the explorers back and forward buttons in php? It's a javascript issue, using the javascript history object. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-27 Thread Robert Cummings
On Sat, 2007-01-27 at 14:43 +0100, Jochem Maas wrote: also I don't really agree with the sentiment that SQL syntax is nasty, Hear, hear :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com |

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-27 Thread Larry Garfield
On Saturday 27 January 2007 7:43 am, Jochem Maas wrote: Larry Garfield wrote: I have long since given up on raw insert/update/delete statements as the syntax is all kinds nasty. These days I just do this, which is even easier and more powerful:

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Jochem Maas
Edward Kay wrote: Hey - -- - Here I am again. Anybody still working on a Friday? I would like to have a class instance be the property of another class, like can be done in other languages. For example: I would like to have a Connections class which contains all of the database

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Thanks for your help, guys. I had to leave my office last evening before I had a chance to try any of them. I am sneaking in some office time today. I'll let you know (with complete scripts and error messages). Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Sporadic MSSQL connection error

2007-01-27 Thread kentozier
Hi I'm having a sporadic connection problem with MSSQL. I have a php script which is called by a folder scanning application and sometimes it can run for hours without problem but other times it will run for just a few minutes and return connection errors. I tried using mssql_get_last_message

RE: [PHP] Create ACH Origination file with PHP

2007-01-27 Thread Jay Blanchard
[snip] I am familiar with the NACHA file format, and have the specifications, I just would rather not write the file formatter and output if someone else has done it already or could do it more easily than I. Do you have experience in this? [/snip] Ah. Yes I do have experience in this and have

[PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
Hello! I'm new here, so I do not know if attachments are allowed, so I put my code below. I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. When I execute the code from cli, I get: $ php MemTest.php Obj1

Re: [PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. It measures something else though. The memory manager doesn't allocate memory for individual variables in

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-27 Thread Jochem Maas
Larry Garfield wrote: On Saturday 27 January 2007 7:43 am, Jochem Maas wrote: Larry Garfield wrote: I have long since given up on raw insert/update/delete statements as the syntax is all kinds nasty. These days I just do this, which is even easier and more powerful:

Re: [PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
On sáb, 2007-01-27 at 20:05 +, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. It measures something else though. The memory

[PHP] Re: My objects eats too much (and weird!) memory

2007-01-27 Thread Colin Guthrie
Francisco M. Marzoa Alonso wrote: AFAIK there's no other way to measure memory usage on PHP than this, if you know something better it could be more constructive if you show it. The last time I looked I think the xdebug module allowed you to get the memory consumption of a given object in PHP.

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
OK, Jochem, I adapted your example and got it working. Thank you very much. I am still playing with it to better understand. One thing I don't yet understand is the necessity for the getFoo()/getBar() handshake, especially the getbar() in the BAR class. That doesn't seem to serve any

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Myron Turner
Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: OK, Jochem, I adapted your example and got it working. Thank you very much. I am still playing with it to better understand. One thing I don't yet understand is the necessity for the getFoo()/getBar() handshake, especially the getbar() in

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Jochem Maas
Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: OK, Jochem, I adapted your example and got it working. Thank you very much. I am still playing with it to better understand. One thing I don't yet understand is the necessity for the getFoo()/getBar() handshake, especially the getbar() in

Re: [PHP] Re: My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
Hello, I took a look to www.xdebug.org and the only memory related functions was those I found here: http://www.xdebug.org/docs-functions.php#tracing int xdebug_memory_usage() int xdebug_peak_memory_usage() The first seems to be the same that memory_get_usage

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-27 Thread Larry Garfield
On Saturday 27 January 2007 1:14 pm, Jochem Maas wrote: query builders are alot more fiddly to get 'right' than one might imagine, dealing with NULLs, booleans and dates for example (as Satyam pointed out) can be a right PITA. I actually almost never use native date types in the SQL

[PHP] DATE

2007-01-27 Thread Ron Piggott
I have date in the variable $date_reference in the format -MM-DD. How do I find out the date before this and the date after this? Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DATE

2007-01-27 Thread Casey Chu
Read http://us3.php.net/manual/en/function.strtotime.php. It might help. On 1/27/07, Ron Piggott [EMAIL PROTECTED] wrote: I have date in the variable $date_reference in the format -MM-DD. How do I find out the date before this and the date after this? Ron -- PHP General Mailing List

Re: [PHP] DATE

2007-01-27 Thread Francisco M. Marzoa Alonso
On sáb, 2007-01-27 at 23:51 -0500, Ron Piggott wrote: I have date in the variable $date_reference in the format -MM-DD. How do I find out the date before this and the date after this? Ron http://us3.php.net/manual/en/function.date.php#68716 RTFM :-P signature.asc Description: This is