Re: [PHP] Re: Where to download APC for windows?

2006-08-23 Thread Rasmus Lerdorf
It's a pecl extension, so it is with all the other pecl extensions for Windows at http://pecl4win.php.net/ -Rasmus steve wrote: Yeah, sorry, it is missing from a test version of PHP 5.2. In the test version, it is not available, nor is it on snaps. Likely doesn't work. On 8/23/06, Alex Turner

RE: [PHP] usort within a class

2006-08-23 Thread Peter Lauri
Working perfect, thanks :) I did RTFM but I did miss that :) -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 3:46 AM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] usort within a class On Thu, 2006-08-24 at 03:13 +0700,

Re: [PHP] Re: Where to download APC for windows?

2006-08-23 Thread steve
Yeah, sorry, it is missing from a test version of PHP 5.2. In the test version, it is not available, nor is it on snaps. Likely doesn't work. On 8/23/06, Alex Turner <[EMAIL PROTECTED]> wrote: At the risk of being flamed to death, I thought it was in ext in the standard windows distro. If it is

Re: [PHP] E_ALL | E_STRICT

2006-08-23 Thread Ligaya Turmelle
tedd wrote: - tul P.S. isn't error_reporting( FATAL | ERROR | WARNING ); supposed to be error_reporting( E_FATAL | E_ERROR | E_WARNING ); ?? Good catch. I'm not sure where I got that -- probably a message from some flounder (Bullwinkle circa 1964). In my newer scripts I use: ini_set('

Re: [PHP] Re: Why small > big?

2006-08-23 Thread Alex Turner
Tedd, Sorry for the floppy language. You are quite correct, the name is discrete cosine. I get too relaxed sometimes! As to the visual impact of a degree of compression, I don't think that you can automate this. The issue surrounds the way the brain processes information. When you see so

[PHP] Re: Where to download APC for windows?

2006-08-23 Thread Alex Turner
At the risk of being flamed to death, I thought it was in ext in the standard windows distro. If it is not, I am stuffed if I can remember where I got it from (blush). AJ steve wrote: I used to have a bookmark on where to download APC for windows. Anyone have a link? -- PHP General Mailing

Re: [PHP] PHP & BEA Weblogic 8.

2006-08-23 Thread Alex Turner
I agree that it is probably pretty non standard! You could write a bean to drive it using the java version of fcgi. But then the app server will hate you for ever as beans are not supposed to do things like open sockets etc. I am very very interested in why you want to do such a thing :-) A

[PHP] E_ALL | E_STRICT

2006-08-23 Thread tedd
- tul P.S. isn't error_reporting( FATAL | ERROR | WARNING ); supposed to be error_reporting( E_FATAL | E_ERROR | E_WARNING ); ?? Good catch. I'm not sure where I got that -- probably a message from some flounder (Bullwinkle circa 1964). In my newer scripts I use: ini_set('error_reportin

RE: [PHP] OT alternate website authentication methods

2006-08-23 Thread Chris W. Parker
Everyone, Been out of the office for a few days... As nearly everyone has pointed out, the downside(s) to visual/audial authentication methods are greater than the benefits Thanks! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & BEA Weblogic 8.

2006-08-23 Thread Andrew Kreps
Given that Weblogic is an application server, I don't think you're going to have much luck. PHP is typically installed directly on the web server (Apache, or similar). On 8/20/06, BKruger <[EMAIL PROTECTED]> wrote: Could anyone please direct me to installation instructions for PHP on BEA Weblog

Re: [PHP] usort within a class

2006-08-23 Thread Robert Cummings
On Thu, 2006-08-24 at 03:13 +0700, Peter Lauri wrote: > Hi, > > Is it possible to have the compare function in a class? I can not get it to > work, this is pseudo code: > > class A { >function getArray() { > //dosomethingandgetanarray > $array = blabla; > usort($array, "$thi

[PHP] usort within a class

2006-08-23 Thread Peter Lauri
Hi, Is it possible to have the compare function in a class? I can not get it to work, this is pseudo code: class A { function getArray() { //dosomethingandgetanarray $array = blabla; usort($array, "$this->myCompareFunction"); //Or maybe "A::myCompareFunction" }

[PHP] Where to download APC for windows?

2006-08-23 Thread steve
I used to have a bookmark on where to download APC for windows. Anyone have a link? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strange mysqli error

2006-08-23 Thread Richard K Miller
On Aug 23, 2006, at 11:41 AM, Jochem Maas wrote: you can still use OOP, only you can't rely on auto destruct with regard to object existance. try the ini settings auto_prepend_file auto_append_file http://php.net/manual/en/ini.core.php#ini.auto-append-file and use them to control the startup

RE: [PHP] Shopping cart

2006-08-23 Thread Chris W. Parker
Richard Lynch on Tuesday, August 22, 2006 10:30 AM said: > Guys, don't take this wrong but... > > How do you think all the other PHP shopping carts got started?... > > Pretty much the same way. > > So you really need to spend the next couple months figuring out wh

[PHP] Re: Why small > big?

2006-08-23 Thread tedd
Alex: Excuse for top posting: You said: Clear as mud? Well actually, it's simperer than I thought. After your reply, I did some reading on jpeg and found it's simply a transform, not unlike FFT where two-dimensional temporal data is transformed from the time domain to the frequency domain --

Re: [PHP] strange mysqli error

2006-08-23 Thread Jochem Maas
Richard K Miller wrote: > > On Aug 23, 2006, at 2:33 AM, Jochem Maas wrote: > >> how do you know which object is destroyed first? >> >> also you are using 3 different versions of php - not something that will >> help narrow down the problem. >> ... >> > > No errors when I use unset(). I see

[PHP] Re: Why small > big?

2006-08-23 Thread Alex Turner
M Sokolewice got it nearly correct. However, the situation is a little more complex than he has discussed. The % compression figure for jpeg is translated into the amount of information stored in the reverse cosine matrix. The size of the compressed file is not proportional to the % you set

[PHP] MCrypt resource limits?

2006-08-23 Thread Eric Butera
Hi list, Yesterday I noticed one of the sites I had created was running really slow. Yet all the other sites on our webserver were running great. I had our network admin look at the cpu, ram usage, etc of the webserver and everything looked fine. Finally I just recommended we stick Xdebug on th

[PHP] Re: Why small > big?

2006-08-23 Thread M. Sokolewicz
I'm not quite sure, but consider the following: Considering the fact that most JPEG images are stored with some form of compression usually ~75% that would mean the original image, in actual size, is about 1.33x bigger than it appears in filesize. When you make a thumbnail, you limit the amoun

[PHP] Why small > big?

2006-08-23 Thread tedd
Hi gang: I have a thumbnail script, which does what it is supposed to do. However, the thumbnail image generated is larger than the original image, how can that be? Here's the script working: http://xn--ovg.com/thickbox And, here's the script: imagecopyresampled($image_p, $image, 0, 0, 0,

Re: [PHP] switch it button

2006-08-23 Thread Arpad Ray
Ford, Mike wrote: How about something like: switch Beware that PHP_SELF is injectable like several other $_SERVER variables, so you must at least encode it to prevent XSS attacks. Eg. http://example.com/foo.php/";>

Re: [PHP] switch it button

2006-08-23 Thread tedd
At 12:44 PM +0100 8/23/06, Ross wrote: At the moment I have this, but I want to change it to one switch button I think I know what you mean -- a single switch button. Please review this kiddie-script: http://xn--ovg.com/a/toggle.php hth's tedd -- --- http://sperling.com http://ancients

RE: [PHP] switch it button

2006-08-23 Thread Ford, Mike
On 23 August 2006 12:45, Ross wrote: > At the moment I have this, but I want to change it to one > switch button > > switch it. > I > > have tried but keep getting wrapped up in nested if-else statements. > Does anyone know how to make an efficient one button on-off switch. > > > > $sessio

Re: [PHP] strange mysqli error

2006-08-23 Thread Richard K Miller
On Aug 23, 2006, at 2:33 AM, Jochem Maas wrote: how do you know which object is destroyed first? also you are using 3 different versions of php - not something that will help narrow down the problem. Richard K Miller wrote: Good afternoon. I'm getting a weird mysqli error in my object de

RE: [PHP] switch it button

2006-08-23 Thread Jay Blanchard
[snip] At the moment I have this, but I want to change it to one switch button switch it. I have tried but keep getting wrapped up in nested if-else statements. Does anyone know how to make an efficient one button on-off switch. [/snip] Have you considered a switch statement? http://www.php.n

[PHP] switch it button

2006-08-23 Thread Ross
At the moment I have this, but I want to change it to one switch button switch it. I have tried but keep getting wrapped up in nested if-else statements. Does anyone know how to make an efficient one button on-off switch. //do something here off on -- PHP General Mailing List (http:/

[PHP] Session / cookie issues

2006-08-23 Thread Dave Goodchild
Hi all. I mailed some time ago regarding a cookie/session issue I am having and thank you all for your useful and knowledgeable responses. I have now used 10 separate testers and 9 are able to progress through a 3-stage form process that validates data as it goes along and enters the data into the

Re: [PHP] strange mysqli error

2006-08-23 Thread Jochem Maas
how do you know which object is destroyed first? also you are using 3 different versions of php - not something that will help narrow down the problem. Richard K Miller wrote: > Good afternoon. I'm getting a weird mysqli error in my object > destructor. Here's an example: > > > $db = new mys