[PHP] Am I missing something about escapeshellarg

2011-03-07 Thread Kevin Chadwick
I just posted the following at http://stackoverflow.com/questions/3481880/what-php-extensions-are-preferred-and-what-about-security-preferences/5223539#5223539; Am I missing anything or are all these guides and hosts either not disabling enough functions or disabling security aids to give

[PHP] Am I missing Something

2004-01-30 Thread Phillip S. Baker
Greetings all, I am running version 4.3.4 of PHP. Fairly recently. I am trying to call a pretty basic programming tool. Maybe I am just really tired, or something but I am not getting what is going on. Is there something I am missing. I am pulling a SQL call on a date to get the month. I am

Re: [PHP] Am I missing Something

2004-01-30 Thread Stuart
Phillip S. Baker wrote: I am running version 4.3.4 of PHP. Fairly recently. I am trying to call a pretty basic programming tool. Maybe I am just really tired, or something but I am not getting what is going on. Is there something I am missing. I am pulling a SQL call on a date to get the month.

Re: [PHP] Am I missing Something

2004-01-30 Thread Marek Kilimajer
You have: select date_format('%c', date_column) You need: select date_format('%c', date_column) AS date_column Else the column name in the result is date_format('%c', date_column). Phillip S. Baker wrote: Greetings all, I am running version 4.3.4 of PHP. Fairly recently. I am trying

Re: [PHP] Am I missing Something

2004-01-30 Thread Phillip S. Baker
At 09:54 AM 1/30/2004 +, Stuart wrote: Phillip S. Baker wrote: I am running version 4.3.4 of PHP. Fairly recently. I am trying to call a pretty basic programming tool. Maybe I am just really tired, or something but I am not getting what is going on. Is there something I am missing. I am

Re: [PHP] Am I missing Something

2004-01-30 Thread Stuart
Phillip S. Baker wrote: And $somarray[ has more than four values. Try inserting the following line at after $somearray has been created and filled with values... print 'pre'; print_r($somearray); print '/pre'; That will display the array in nice format. I think you'll find that the indexes of

RE: [PHP] Am I missing Something

2004-01-30 Thread Chris W. Parker
Stuart mailto:[EMAIL PROTECTED] on Friday, January 30, 2004 2:56 PM said: print 'pre'; print_r($somearray); print '/pre'; not to steal your glory stuart but you can make it easier on yourself by doing the following: echo 'pre',print_r($somearray),'/pre'; it's merely less typing. hth,

Re[2]: [PHP] Am I missing Something

2004-01-30 Thread Tom Rogers
Hi, Saturday, January 31, 2004, 9:22:41 AM, you wrote: CWP Stuart mailto:[EMAIL PROTECTED] CWP on Friday, January 30, 2004 2:56 PM said: print 'pre'; print_r($somearray); print '/pre'; CWP not to steal your glory stuart but you can make it easier on yourself by CWP doing the following: