php-general Digest 21 Mar 2012 14:27:13 -0000 Issue 7737

2012-03-21 Thread php-general-digest-help
php-general Digest 21 Mar 2012 14:27:13 - Issue 7737 Topics (messages 317152 through 317159): Re: Bug zlib.output_compression not normal work in IIS7.5 317152 by: Simon Schick Pear Auth problem 317153 by: Karl-Arne Gjersøyen 317159 by: Govinda How can I convert

php-general Digest 22 Mar 2012 05:56:41 -0000 Issue 7738

2012-03-21 Thread php-general-digest-help
php-general Digest 22 Mar 2012 05:56:41 - Issue 7738 Topics (messages 317160 through 317171): Re: php upload does not work proper, [tmp_name] and other are missing in $_FILES 317160 by: Meike Stone 317162 by: Matijn Woudt PEAR_Error reporting 317161 by: Karl-Arne

Re: [PHP] Bug zlib.output_compression not normal work in IIS7.5

2012-03-21 Thread Simon Schick
2012/3/19 小鱼虾 i...@xiaoyu.org How I do fix it ? https://bugs.php.net/bug.php?id=61434 Hi, I got a rough overview of the conversation in the bug-tracker ... You were always talking about a tool you used to test the gzip-compression ... but why not test it natively? Using Firefox (with the

[PHP] Pear Auth problem

2012-03-21 Thread Karl-Arne Gjersøyen
Hello. I am trying to use pear Auth packet but am doing something wrong. I am currently looking at the simple example in the documentation, but something is wrong in my source code, because if I write a username and a password in the fields and hit the submit button, I receive a blank pages

[PHP] How can I convert these to hex or strings?

2012-03-21 Thread David OBrien
I'm running snmp against a huge list of printers and certain HP models return Model: stdClass Object ( [type] = 4 [value] = ☺§HP LaserJet P3010 Series ) Serial: stdClass Object ( [type] = 4 [value] = ☺§VNBCC1917W ) MacAddress: stdClass Object ( [type] = 4 [value] = ⌠╬F╒'

[PHP] Re: How can I convert these to hex or strings?

2012-03-21 Thread Jim Giner
Did you do a search of the php manual? I did one on hex and found function bin2hex. Not sure how you mac address is actually built, but I would try converting it char by char and see what the function returns. Or maybe just pass the whole string to it. Just a guess. -- PHP General Mailing

Re: [PHP] Re: How can I convert these to hex or strings?

2012-03-21 Thread David OBrien
Damn I'm an idiot... sorry :\ On Wed, Mar 21, 2012 at 9:34 AM, Jim Giner jim.gi...@albanyhandball.comwrote: Did you do a search of the php manual? I did one on hex and found function bin2hex. Not sure how you mac address is actually built, but I would try converting it char by char and see

Re: [PHP] Re: How can I convert these to hex or strings?

2012-03-21 Thread Jim Giner
Not until you find out if it actually works. Then, maybe David OBrien dgobr...@gmail.com wrote in message news:CAF=yd_3rbr-gkonpjdbtogssiufwzeqteanqneproh6hhyu...@mail.gmail.com... Damn I'm an idiot... sorry :\ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php upload does not work proper, [tmp_name] and other are missing in $_FILES

2012-03-21 Thread Meike Stone
2012/3/20 Meike Stone meike.st...@googlemail.com: First of all, check your apache log files for any hints. There's probably a warning/error in there that explains why. I switched to LogLevel debug but in error_log is nothing found, the access_log showes only: 192.168.1.89 - -

Re: [PHP] Pear Auth problem

2012-03-21 Thread Govinda
Hello. I am trying to use pear Auth packet but am doing something wrong. I am currently looking at the simple example in the documentation, but something is wrong in my source code, because if I write a username and a password in the fields and hit the submit button, I receive a blank pages

Re: [PHP] php upload does not work proper, [tmp_name] and other are missing in $_FILES

2012-03-21 Thread Meike Stone
But what is the reason, that the module not work properly? Which next step can I do? I figured out, that the new mod_php5.so is not linked against libmm.so.14. Can this be the problem? Thanks Meike # ldd mod_php5.so.5.3.8 linux-vdso.so.1 = (0x7fffe051c000) libcrypt.so.1

[PHP] PEAR_Error reporting

2012-03-21 Thread Karl-Arne Gjersøyen
Hello. I ran into trouble with a PEAR module and got only a blank (empty) page after filling in a loginform with PEAR::Auth I have error reporting in php.ini that create ordinary error message on my CentOS box, but it do not write error message when using PEAR. In a book I have is PEAR_Error

Re: [PHP] php upload does not work proper, [tmp_name] and other are missing in $_FILES

2012-03-21 Thread Matijn Woudt
On Wed, Mar 21, 2012 at 3:32 PM, Meike Stone meike.st...@googlemail.com wrote: But what is the reason, that the module not work properly? Which next step can I do? I figured out, that the new mod_php5.so is not linked against libmm.so.14. Can this be the problem? Thanks Meike # ldd

[PHP] Thinking out loud - a continuation...

2012-03-21 Thread Jay Blanchard
This is a continuation of the nested query thing I posted to the list a while back. I was finally able to output a nested unordered array that worked out well, but scope-creep has come in the door and I have to change gears. I have a project where I have multiple queries and each query uses the

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Adam Richardson
On Wed, Mar 21, 2012 at 2:39 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: ... I have a project where I have multiple queries and each query uses the results from the previous query to get it's results. I need to do one of two things, either out put a multidimensional array that

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Daniel Brown
On Wed, Mar 21, 2012 at 14:39, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip!] I ran it through json_encode() and got the following output

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Jay Blanchard
[snip] I would, yes, but that's not the point. Is Anna single? I'm ready to trade Debs in for a newer model. [/snip] I'm thinking that Debs would upset your array if you traded her in. Anyhow, I have spent the last hour trying to output valid JSON but the whole thing is making me

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Robert Cummings
On 12-03-21 03:52 PM, Jay Blanchard wrote: [snip] I would, yes, but that's not the point. Is Anna single? I'm ready to trade Debs in for a newer model. [/snip] I'm thinking that Debs would upset your array if you traded her in. Anyhow, I have spent the last hour trying to output valid

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Jay Blanchard
[snip] Why are you trying to create the JSON structure in parts? When I have nesting like this i build the full nested structure as PHP, then export to JSON. [/snip] As PHP? An array? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Jim Lucas
On 03/21/2012 11:39 AM, Jay Blanchard wrote: If you were me would you just generate the JSON? If not what is he best way to output an array that will nest properly for each subsequent query? Depends on where the data is coming from and how you are retrieving it from. Can you provide

[PHP] Node.PHP

2012-03-21 Thread Joseph Moniz
Hey, So i had my first Hackathon at work last week and my project was to prototype making a node.js clone using PHP instead of V8. So i snatched up libuv and joyent's HTTP parser and set off on a 24 hour coding spree to get something workable. By the time the sun was coming out the next morning

Re: [PHP] Thinking out loud - a continuation...

2012-03-21 Thread Robert Cummings
On 12-03-21 04:42 PM, Jay Blanchard wrote: [snip] Why are you trying to create the JSON structure in parts? When I have nesting like this i build the full nested structure as PHP, then export to JSON. [/snip] As PHP? An array? Yeah sorry... you know what I meant ;) Cheers, Rob. -- E-Mail