First  |  Prev |  Next  |  Last
Pages: 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
Two color ... while iteration [X-PHP]
>On 6 May 2010 17:47, tedd <<mailto:tedd.sperling(a)gmail.com>tedd.sperling(a)gmail.com> wrote: Michiel: Considerate? Being Inconsiderate is what the government does for a living. Additionally, what you said above is *your* opinion -- as *you* presented in a public forum. Who's opinion is more appro... 7 May 2010 12:17
Connection error expected but ...
Code below from the manual. I changed $ldaphost to some fictitious name. When I ran the script, I always get the message "Connection was successful !" Why didn't the script bomb and give the could not connect message? <?php // LDAP variables $ldaphost = "ldap.noname.com"; // your ldap servers $ldapport = 389... 7 May 2010 00:15
simplexml choking on apparently valid XML
Hey all - I'm using simplexml-load-string just to validation a string of XML, and libxml-get-errors to return any errors. It's always worked before, but today it's choking on this line in the XML: <client_orderitem_number>Basketball Personalized Notebook - Jeff&apos;s</client_orderitem_number> It's returning "... 8 May 2010 07:56
Using array_intersect with an unknown number of arrays
Hi, I have a result set coming from a database that can be of the form below $lines = array(0 => array('idA' => 1, 'idU' => 1), 1 => array('idA' => 1, 'idU' => 2), 2 => array('idA' => 2, 'idU' => 1), 3 => array('idA' => 2, 'idU' => 2), 4 => array... 6 May 2010 16:32
any major benefit in larger fread() blocks when reading STDIN?
i'm looking at some existing code that (obviously) reads from stdin: $fd = fopen("php://stdin", "r"); $source = ""; while (!feof($fd)) { $source .= fread($fd, 1024); } fclose($fd); it works fine, but is there any reason the original author would have chosen 1024 as the individual read unit siz... 6 May 2010 13:06
Inconsistent json_decode() results
Hello all! We're seeing inconsistent json decoding between PHP versions: http://gist.github.com/390090 Calling json_decode() from 5.2.6 returns an associative array when asked, while 5.2.10 always returns a stdClass. Is this a bug or a problem with my calling convention? Thanks! Fran├žois... 5 May 2010 18:18
Can't find my error
I've checked and checked and re-checked and I can't figure out what I've done wrong. I'm getting a parse error: Parse error: syntax error, unexpected T_VARIABLE in /home/david/www/Joe/current/presentation/smarty_plugins/function.load_products_list.php on line 27. Can anyone spot my error? I'd appreciate the... 7 May 2010 21:10
strtotime woes
Hello all. Long time no see! Anyway, I'm having an issue with strtotime(). Why do the following return valid timestamps? <?php echo strtotime ('a').': '.date ("m/d/Y", strtotime ('a'))."<br/>"; echo strtotime ('a,a').': '.date ("m/d/Y", strtotime ('a,a'))."<br/>"; echo strtotime ('a,a,a').': '.date ("m/d/Y", s... 5 May 2010 12:40
how to check for bandwidth limitations when uploadingfiles?
Quoting Jochen Schultz <jschultz(a)sportimport.de>: OS? Robert P. J. Day schrieb: probably not really a PHP question but i'll take a chance, anyway. i want to examine the network throughput i can get when continually uploading files from a PHP script via a POST request using the HTTP... 5 May 2010 11:33
In need of CVS/SVN checkout script for Production servers[solved]
Daevid Vincent wrote: -----Original Message----- From: Daevid Vincent [mailto:daevid(a)daevid.com] Sent: Thursday, April 29, 2010 12:33 PM To: php-general(a)lists.php.net Subject: [PHP] In need of CVS/SVN checkout script for Production servers Semi-off-topic, but I'm pretty sure you all ar... 5 May 2010 00:39
First  |  Prev |  Next  |  Last
Pages: 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62