Re: [PHP] Array: If i'm in the child array then how I tell the parent's key name..

2005-10-01 Thread Ing . Josué Aranda
Scott, I hope this code help you: [PHP CODE] /* * Author: * Josue Aranda <[EMAIL PROTECTED]> */ // This set an $arr $arr= array( 'ABC' => array( 'DEF' => 'Data'

Re: [PHP] php as standalone?

2005-08-23 Thread Ing . Josué Aranda
mybe this can help... http://www.dwebpro.com/ with this app you can us a CD or DVD like a stand alone for distributing your php script :D On 8/23/05, Thomas <[EMAIL PROTECTED]> wrote: > Hi there, > > > > I am going to take that chance now to ask if it is viable to create a > standalone app

[PHP] string to .ZIP | sending report by email

2005-08-23 Thread Ing . Josué Aranda
I have a script that generate a XHTML report, but also i want to send that report by email, the problem is the file size its up to 4Mb, its too big to send by email (considering that some people still using hotmail).. how i can send it compressed by email? anyone knows a class that can help me? any

Re: [PHP] counting nested array

2005-08-17 Thread Ing . Josué Aranda
hahaha, thanks robin you save some seconds of mi life... it looks more "pro" with that if... On 8/17/05, Robin Vickery <[EMAIL PROTECTED]> wrote: > On 8/17/05, Ing. Josué Aranda <[EMAIL PROTECTED]> wrote: > > OK this the little function i made to solve this.. &

Re: [PHP] counting nested array

2005-08-16 Thread Ing . Josué Aranda
l+1; } } return $total; } [/CODE] any optimizations are welcome On 8/16/05, Robin Vickery <[EMAIL PROTECTED]> wrote: > On 8/16/05, Ing. Josué Aranda <[EMAIL PROTECTED]> wrote: > > > > The number of the branches is not always the same.. (it depends on the > &

[PHP] counting nested array

2005-08-16 Thread Ing . Josué Aranda
Hi to everyone.. now i have a little problem counting an nested array. Im using it to fill a Java TreeView... it looks like this: [1] => Array ( [1] => Array ( [1] => Array ( [1] => LEC