php-general Digest 14 May 2007 09:03:19 -0000 Issue 4790

2007-05-14 Thread php-general-digest-help
php-general Digest 14 May 2007 09:03:19 - Issue 4790 Topics (messages 254899 through 254913): Re: php5 include() problem 254899 by: Tijnema ! 254902 by: Myron Turner 254904 by: Richard Davey 254909 by: Al Re: Question 254900 by: Robert Cummings

[PHP] escapeshellarg

2007-05-14 Thread Mohamed CHAARI
Hi all, I have to execute an external command, with an argument (filename or directory name) given by user input (via a form), ie something like this: exec('ls $_POST[...]') what do you think about using escapeshellarg() function in this case ? can I rely on it to have a secure solution ?

[PHP] printing out this nested array

2007-05-14 Thread Don Don
I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) ) I can get the values

Re: [PHP] printing out this nested array

2007-05-14 Thread Crayon Shin Chan
On Monday 14 May 2007 18:41, Don Don wrote: am thinking echo $arrayName['Errors']['ErrorId']; // should display the value but it does not Anyone wants to shed more light ? echo $arrayName['Errors'][0]['ErrorId']; // ?? -- Crayon -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] printing out this nested array

2007-05-14 Thread Richard Davey
Don Don wrote: I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) ) I can

Re: [PHP] Making code public -- What steps to take? GPL?

2007-05-14 Thread Crayon Shin Chan
On Monday 14 May 2007 07:30, Daniel Brown wrote: Please don't top post. The biggest thing to remember is that a license is like a key it's meant to keep an honest man honest, but won't stop someone who is intent on taking what they want for a profit. Sure, but if you don't make your

Re: [PHP] printing out this nested array

2007-05-14 Thread Don Don
oops ! [0] cheers Richard Davey [EMAIL PROTECTED] wrote: Don Don wrote: I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] =

RE: [PHP] escapeshellarg

2007-05-14 Thread Brad Fuller
Mohamed CHAARI wrote: Hi all, I have to execute an external command, with an argument (filename or directory name) given by user input (via a form), ie something like this: exec('ls $_POST[...]') what do you think about using escapeshellarg() function in this case ? can I rely on it

RE: [PHP] printing out this nested array

2007-05-14 Thread Brad Fuller
Don Don wrote: I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) ) I can

Re: [PHP] printing out this nested array

2007-05-14 Thread Jim Lucas
Don Don wrote: I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) ) I can

Re: [PHP] printing out this nested array

2007-05-14 Thread Myron Turner
Jim Lucas wrote:-- Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown Malvolio,12th Night, III.iv -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/

Re: [PHP] printing out this nested array

2007-05-14 Thread Richard Davey
Jim Lucas wrote: suggestion for next time. echo a pre or plaintext tag out before you echo your array next time and you will then see the nesting of the arrays Doing that would have made the answer to this question very obvious You could also benefit from installing this very handy little

[PHP] Reading Writing XML Documents...

2007-05-14 Thread Anthony J. Maske
Can anyone point me to some good online reference/examples of reading/writing XML documents? Thanks, Anthony

RE: [PHP] Reading Writing XML Documents...

2007-05-14 Thread Jim Moseby
Can anyone point me to some good online reference/examples of reading/writing XML documents? With regards to PHP? Sure! http://us2.php.net/xml JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Reading Writing XML Documents...

2007-05-14 Thread WeberSites LTD
http://www.php-code-search.com/?q=xml Check out the Articles section berber -Original Message- From: Anthony J. Maske [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 9:44 PM To: PHP General Subject: [PHP] Reading Writing XML Documents... Can anyone point me to some good online

Re: [PHP] SESSION LOST!

2007-05-14 Thread Yannick Warnier
Le jeudi 10 mai 2007 à 15:24 +0200, Oliver Block a écrit : Am Donnerstag, 10. Mai 2007 08:59 schrieb Sascha Braun: but after a little time, the session is just lost. That doesn't say anything to me. Could you be more verbose on what you mean by the sessin is lost? :-) I get that too

[PHP] Resources for plugin based frameworks

2007-05-14 Thread Guillaume Theoret
Hi, I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on building a module based system where each part can be

Re: [PHP] Resources for plugin based frameworks

2007-05-14 Thread Greg Donald
On 5/14/07, Guillaume Theoret [EMAIL PROTECTED] wrote: I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on

[PHP] Bounty, NOW!

2007-05-14 Thread Brad Sumrall
My good friend dropped the ball! Here is the gig, and less than 48 to get it done. For those whom know phpbb and php, this should be a cake walk! Easy cash. http://www.123yachtdayworkers.com http://www.123yachtdayworkers.com ftp user = onetwou9 ftp pass = garvitos accessing the mysql is

Re: [PHP] Bounty, NOW!

2007-05-14 Thread Robert Cummings
Maybe you know what you're doing, more than likely you don't. Posting logins and passwords to your server on a public mailing list is usually tantamount to idiocy. Cheers, Rob. On Tue, 2007-05-15 at 01:20 -0400, Brad Sumrall wrote: My good friend dropped the ball! Here is the gig, and less

Re: [PHP] Bounty, NOW!

2007-05-14 Thread Auto-Deppe, C. Haensel
Brad, I am pretty new to this mailing list thing, but even I would NEVER do stuff like that. Even though I would bet my behind that at least 90% of us PHP-Coders are men and women of honour, you should never post username pass like that... Oh wait... maybe your root pass for the server :oP

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Knuckle heads don't even know they are going though a proxy!!! Hehehehe

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Does anyone want to answer the ad, or am I just going to be chasing knuckle heads? Brad

Re: [PHP] RE: Bounty

2007-05-14 Thread Auto-Deppe, C. Haensel
Yes, you are. Better get some sleep and drink less coffee ;o) Chris - Original Message - From: Brad Sumrall [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, May 15, 2007 7:39 AM Subject: [PHP] RE: Bounty Does anyone want to answer the ad, or am I just going to be

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Andrew Wilson
Lol, Either he has 1) Changed the pass 2) Got hacked 3) Supplied with wrong pass. Very funny thread either way. Regards, Andrew -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:27 PM To: Brad Sumrall Cc: php-general@lists.php.net

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Brad Sumrall
I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Hehehehehe This is funny! -Original Message- From: Andrew Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 1:38 AM To: 'Robert Cummings'; 'Brad Sumrall' Cc:

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Paul Scott
On Tue, 2007-05-15 at 01:46 -0400, Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? *YAWN* Anything better to talk about? This is very l33t-ish and is now grossly off topic. --Paul All Email originating from UWC is covered by

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Oh, come on. You guys quit trying Wuzzies!

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
The bounty still applies Need a sharp php programmer on the fly. No joke!

Re: [PHP] Bounty, NOW!

2007-05-14 Thread heavyccasey
HAHA! Nice one ;) On 5/14/07, Paul Scott [EMAIL PROTECTED] wrote: On Tue, 2007-05-15 at 01:46 -0400, Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? *YAWN* Anything better to talk about? This is very l33t-ish and is now

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Andrew Wilson
Lol, just trying to protect you from yourself but seems like you have that under control ;) Nice fool on us. Goodluck finding a coder. Regards, Andrew -Original Message- From: Brad Sumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:46 PM To: 'Andrew Wilson' Cc:

Re: [PHP] Bounty, NOW!

2007-05-14 Thread heavyccasey
Oh, and 530 Authentication Failed. On 5/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: HAHA! Nice one ;) On 5/14/07, Paul Scott [EMAIL PROTECTED] wrote: On Tue, 2007-05-15 at 01:46 -0400, Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are