[PHP] Re: File Upload Problem

2011-04-06 Thread Wojciech Kupiec
On 06/04/11 19:10, tedd wrote: Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find it. Oddly enough, I can upload i

Re: [PHP] the best 1 book for php

2011-04-06 Thread Adam Richardson
On Thu, Apr 7, 2011 at 12:15 AM, Kirk Bailey wrote: > If I only had 1 book on php, what would it be? > > -- > end > > Very Truly yours, > - Kirk Bailey, > Largo Florida > > kniht > +-+ > | BOX | >

Re: [PHP] the best 1 book for php

2011-04-06 Thread Jim Lucas
+1 1. Always current 2. Usable & evolving examples On 4/6/2011 9:23 PM, Michael Shadle wrote: http://www.php.net/ On Wed, Apr 6, 2011 at 9:15 PM, Kirk Bailey wrote: If I only had 1 book on php, what would it be? -- end Very Truly yours, - Kirk Bailey, L

Re: [PHP] the best 1 book for php

2011-04-06 Thread Michael Shadle
http://www.php.net/ On Wed, Apr 6, 2011 at 9:15 PM, Kirk Bailey wrote: > If I only had 1 book on php, what would it be? > > -- > end > > Very Truly yours, >                 - Kirk Bailey, >                   Largo Florida > >                       kniht >                      +-+ >          

[PHP] the best 1 book for php

2011-04-06 Thread Kirk Bailey
If I only had 1 book on php, what would it be? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ | BOX | +-+ think -- PHP G

Re: [PHP] Ranges for case statement and a WTF moment.

2011-04-06 Thread David Harkness
On Tue, Apr 5, 2011 at 8:28 AM, Richard Quadling wrote: > php -r "var_dump(10...19);" > > Interesting output ... > > string(6) "100.19" > > And that took me a little while to work out. > > It's all to do with PHP's type juggling. > > 10...19 > > What I'm not sure is why the middle empty string is

[PHP] Re: Ranges for case statement and a WTF moment.

2011-04-06 Thread Shawn McKenzie
On 04/05/2011 10:28 AM, Richard Quadling wrote: > Hi. > > I just wanted to quickly see if PHP supported ranges in its > switch/case statement (http://en.wikipedia.org/wiki/Ellipsis) > > $s = intval(date('s')); > switch($s) > { > case 0...9 : echo 'Between 0 and 9'; break; > c

[PHP] openssl question

2011-04-06 Thread Kai Renz
Hi, i try to create a self signed certificate using this code: "DE", "stateOrProvinceName" => "test", "localityName" => "test", "organizationName" => "test", "organizationalUnitName" => "test", "commonName" => "test", "emailAddress" => "t...@test.de" ); $privkey = opens

Re: [PHP] File Upload Problem

2011-04-06 Thread Daniel Brown
On Wed, Apr 6, 2011 at 13:10, tedd wrote: > Hi gang: > > I wrote a simple script to upload image files from my desktop to a server -- > the exact same code works on two servers, but fails on a third. > > I suspect there is something set different between the servers, but I can't > find it. > > Odd

Re: [PHP] File Upload Problem

2011-04-06 Thread Bastien Koert
On Wed, Apr 6, 2011 at 1:10 PM, tedd wrote: > Hi gang: > > I wrote a simple script to upload image files from my desktop to a server -- > the exact same code works on two servers, but fails on a third. > > I suspect there is something set different between the servers, but I can't > find it. > > O

[PHP] File Upload Problem

2011-04-06 Thread tedd
Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find it. Oddly enough, I can upload image files directly to the

Re: [PHP] Newbi Question with calculate

2011-04-06 Thread Silvio Siefke
Hello, sorry i has not correct write. The example when is finish can see at http://silviosiefke.de/finance/stock/stock.php For this i not use a mysql Database, its normal not so much at data. I have write the source as Text Files: http://silviosiefke.de/finance/finished/txt/index.txt - That is

Re: [PHP] Newbi Question with calculate

2011-04-06 Thread Me
I will give you a mysql example. Apply the logic to the table during the query so you can just loop over the results like such. $ABEI=12; $query = ' select last * '.$ABEI.' AS resulta From table'; Sent via DROID on Verizon Wireless -Original message- From: Silvio Siefke To: ph

[PHP] Re: Newbi Question with calculate

2011-04-06 Thread Jim Giner
I think you want to use the FOR loop to process each record in your table. You query (?) the table and then process each row in the result using the FOR and all your calculations on each one. Look up FOR. "Silvio Siefke" wrote in message news:4d9c6165.5040...@silvio-siefke.de... > Hello, > > >

[PHP] Newbi Question with calculate

2011-04-06 Thread Silvio Siefke
Hello, i have write a script for my Stock portfolio and now im not really find something which can me help. In the table php calculate me the Present Value and the Percent with this code: >