Hello,
I've scoured the net and it appears I may be out of luck.
Is it possible to change the cipher fsockopen uses for SSL? I have a
remote socket that uses ADH which I can connect to fine with the
openssl client.
CONNECTED(0003)
---
no peer certificate available
---
No client certificate C
Hi,
1. What optimizations does PHP interpreter make? I guess it should be
> able to check file modification time and cease to compile it again and
> again. Is this correct?
>
> There is some bytecode form, right?
>
Core PHP does not optimize your code like a DBMS would rewrite your SQL.
There are
Hello,
[ Question ]
How do I force error_log to log only errors specified in the
error_reporting directive? Is it even possible or did I get something wrong?
I have one old script which uses ereg and the awesome size of the error
log is getting on my nerves.
[ Current ini config ]
error_repor
Try this:
escreveu na mensagem
news:29494740.p...@talk.nabble.com...
>
> Greetings,
>
> I'm having a very simple problem that I can't seem to find the solution
> to.
> I try and access a method in this class I made called
> MyPropertyManagement... the method is named get_complexes(). I try and
Greetings,
I'm having a very simple problem that I can't seem to find the solution to.
I try and access a method in this class I made called
MyPropertyManagement... the method is named get_complexes(). I try and
strip down the entire class to just focus on this problem with the hopes of
it maki
On 2010-08-20 17:10, Bostjan Skufca wrote:
> Yes, this is correct.
>
> If you look at sapi/apache2handler/sapi_apache2.c in PHP sources, you will
> find that PHP SAPI registers it's function php_handler() within apache. This
> function gets called every time PHP is requested by some client (with
>
Hi,
Can i have some help to create a class to add a function to solr extension ?
I want to make a function which send me back the number of results of a
query...
(field NumFound of array return of SolrResponse::getResponse())
Here is the link to the extension :
http://www.php.net/manual/f
Thanks to everyone who responded. I've dealt with binary math
before, but it never occurred to me (and doesn't seem to be anywhere
in the document page at php.net!) that it would automatically pad the
number I entered.
The example I gave was essentially a test I was running: in the
real scri
'Twas brillig, and Andrew Ballard at 20/08/10 15:55 did gyre and gimble:
> On Fri, Aug 20, 2010 at 10:19 AM, Colin Guthrie wrote:
>> The customer is always right -> in his own mind (even if not in his RIGHT
>> mind) <- after all!
>
> Corrected that for you. ;-)
:D
--
Colin Guthrie
gmane(at)
On 20 August 2010 17:41, Peter Lind wrote:
> On 20 August 2010 17:10, Andy McKenzie wrote:
>> Hey everyone,
>>
>> I'm really not sure what's going on here: basically, the bitwise
>> NOT operator seems to simply not work. Here's an example of what I
>> see.
>>
>> Script
On 20 August 2010 17:10, Andy McKenzie wrote:
> Hey everyone,
>
> I'm really not sure what's going on here: basically, the bitwise
> NOT operator seems to simply not work. Here's an example of what I
> see.
>
> Script
>
> $ cat bintest2.php
>
>
> $bin = 2;
> $notbin = ~
'Twas brillig, and Andy McKenzie at 20/08/10 16:10 did gyre and gimble:
> Hey everyone,
>
> I'm really not sure what's going on here: basically, the bitwise
> NOT operator seems to simply not work. Here's an example of what I
> see.
>
> Script
>
> $ cat bintest2.php
>
'Twas brillig, and Ashley Sheridan at 20/08/10 15:29 did gyre and gimble:
> If you use a sitemap specific to a search engine (Google sitemap for
> example) then you can specify how often a page changes, or tell it not
> to index at all. This could help a little in preventing getting
> penalised by
Yes, this is correct.
If you look at sapi/apache2handler/sapi_apache2.c in PHP sources, you will
find that PHP SAPI registers it's function php_handler() within apache. This
function gets called every time PHP is requested by some client (with
appropriate configuration, of course).
I must admit t
Hey everyone,
I'm really not sure what's going on here: basically, the bitwise
NOT operator seems to simply not work. Here's an example of what I
see.
Script
$ cat bintest2.php
=
Output
$ php bintest2.php
Bin: 1
On Fri, Aug 20, 2010 at 10:19 AM, Colin Guthrie wrote:
> The customer is always right -> in his own mind (even if not in his RIGHT
> mind) <- after all!
Corrected that for you. ;-)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2010-08-20 at 15:19 +0100, Colin Guthrie wrote:
> 'Twas brillig, and Andrew Ballard at 20/08/10 15:04 did gyre and gimble:
> > On Fri, Aug 20, 2010 at 9:31 AM, Colin Guthrie wrote:
> >> Speaking of SEO, that was one of our concerns about randomising listings
> >> too. What impact do you t
'Twas brillig, and Andrew Ballard at 20/08/10 15:04 did gyre and gimble:
> On Fri, Aug 20, 2010 at 9:31 AM, Colin Guthrie wrote:
>> Speaking of SEO, that was one of our concerns about randomising listings
>> too. What impact do you think such randomised listings will have on SEO?
>>
>> Obviously i
On Fri, Aug 20, 2010 at 9:31 AM, Colin Guthrie wrote:
> 'Twas brillig, and Andrew Ballard at 20/08/10 14:24 did gyre and gimble:
>> Would it work to return a list of some limited number of randomly
>> ordered "featured" listings/items on the page, while leaving the full
>> list ordered by whatever
'Twas brillig, and Andrew Ballard at 20/08/10 14:24 did gyre and gimble:
> Would it work to return a list of some limited number of randomly
> ordered "featured" listings/items on the page, while leaving the full
> list ordered by whatever natural ordering (by date, order entered,
> alphabetical, e
On Fri, 20 Aug 2010 13:11:05 +0100, Nathan Rixham wrote:
> Nisse Engström wrote:
>
>> Actually, the HTTP spec. allows most headers to be sent
>> after the content. The feature just wasn't implemented
>> by too many HTTP agents (W3's HTML validator and link
>> checker, and Opera).
>
> can you sen
On Fri, Aug 20, 2010 at 9:05 AM, Colin Guthrie wrote:
> Thanks everyone for responses.
>
> 'Twas brillig, and Nathan Rixham at 20/08/10 13:17 did gyre and gimble:
>> if you use mysql you can seed rand() with a number to get the same
>> random results out each time (for that seed number)
>>
>> SE
Thanks everyone for responses.
'Twas brillig, and Nathan Rixham at 20/08/10 13:17 did gyre and gimble:
> if you use mysql you can seed rand() with a number to get the same
> random results out each time (for that seed number)
>
> SELECT * from table ORDER BY RAND(234)
>
> Then just use limit a
At 10:00 AM +0100 8/20/10, Colin Guthrie wrote:
Are there any other approaches I've missed? Is there some cunning,
cleverness that eludes me?
Col
Col:
I don't know about being clever, but the problem reminds me of
selling ad space on web sites.
I read a book about it, namely "OpenX Ad Serv
Colin Guthrie wrote:
Hi,
OK, this is really just a sounding board for a couple ideas I'm mulling
over regarding a pseudo-randomisation system for some websites I'm
doing. Any thoughts on the subject greatly appreciated!
Back Story:
We have a system that lists things. The things are broken down
Hi
Could anyone please explain to me the basic architecture of PHP module
when running "in process" within Apache HTTP server?
I guess this is called "mod_php".
As far as I understand the shared library (e.g., libphp5.so) is being
dynamically loaded by an Apache working process and then, whenever
Nisse Engström wrote:
On Thu, 19 Aug 2010 17:47:01 -0600, Tristan wrote:
A rewrite of the entire site would be needed in order to fix. So, I guess
you are saying as best options for workaround are
- use the ob_ functions to work around.
- stick output buffer on or high
so best case scenario u
Hi Col,
Interesting problem.
> Are there any other approaches I've missed?
Off the top of my head, how about this:
1. Add a new unsigned int column called "SortOrder" to the table of widgets
or whatever it is you're listing
2. Fill this column with randomly-generated numbers between 0 and wha
On Fri, 2010-08-20 at 10:00 +0100, e-letter wrote:
> On 19/08/2010, Ashley Sheridan wrote:
> > No, because Apache doesn't need to process HTML in the same way it needs
> > to process PHP. The tag > browser as HTML (view the source on the page you're browsing to) and
> > interpreted as a tag by y
Hi,
OK, this is really just a sounding board for a couple ideas I'm mulling
over regarding a pseudo-randomisation system for some websites I'm
doing. Any thoughts on the subject greatly appreciated!
Back Story:
We have a system that lists things. The things are broken down by
category, but you c
On 19/08/2010, Ashley Sheridan wrote:
> No, because Apache doesn't need to process HTML in the same way it needs
> to process PHP. The tag browser as HTML (view the source on the page you're browsing to) and
> interpreted as a tag by your browser, hence what appears to be partially
> processed ou
'Twas brillig, and Ashley Sheridan at 19/08/10 23:16 did gyre and gimble:
> I used the GUI: K-Menu->Configure your Computer->Install & Remove
> Software
>
> Then searched for 'php', and the first package listed was
> apache-mod_php, which I installed along with the other php modules that
> I norma
On Thu, 19 Aug 2010 17:47:01 -0600, Tristan wrote:
> A rewrite of the entire site would be needed in order to fix. So, I guess
> you are saying as best options for workaround are
>
> - use the ob_ functions to work around.
> - stick output buffer on or high
>
> so best case scenario using ob_ fu
33 matches
Mail list logo