php-general Digest 5 Sep 2009 08:12:10 -0000 Issue 6323

2009-09-05 Thread php-general-digest-help

php-general Digest 5 Sep 2009 08:12:10 - Issue 6323

Topics (messages 297690 through 297723):

Re: Searching on AlphaNumeric Content Only
297690 by: Eddie Drapkin
297692 by: Robert Cummings
297711 by: Tommy Pham
297712 by: Paul M Foster
297719 by: Robert Cummings
297721 by: Paul M Foster
297722 by: Tommy Pham

script failing at same line
297691 by: jim white
297695 by: Jay Blanchard
297696 by: jim white
297697 by: Ben Dunlap
297699 by: jim white
297714 by: Ben Dunlap
297718 by: jim white

Re: Converting URL's to hyperlinks.
297693 by: Daevid Vincent
297694 by: Tom Chubb

Re: Include Files in HTML
297698 by: Joost
297706 by: sono-io.fannullone.us
297715 by: Tommy Pham
297716 by: Tommy Pham
297717 by: phphelp -- kbk

accessing variable from inside a class
297700 by: Lars Nielsen
297702 by: James Colannino
297708 by: Shawn McKenzie
297709 by: Shawn McKenzie
297710 by: Lars Nielsen

PHP6 Stable Release Schedule
297701 by: Bobby Pejman
297703 by: Daniel Brown
297723 by: Richard Heyes

Re: how to strip empty lines out of a txt using  preg_replace()
297704 by: Jim Lucas
297720 by: Clancy

Re: PHP inserting carriage returns into POST values?
297705 by: Nisse Engström
297707 by: Paul M Foster
297713 by: James Colannino

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
---BeginMessage---
On Fri, Sep 4, 2009 at 12:02 PM, Lupus
Michaelismickael+...@lupusmic.org wrote:
 Ashley Sheridan a écrit :

 You'll have far greater performance issues if you retrieve all those
 records and attempt to do the same thing inside of PHP...

  It's why I speak about « avoiding » and not « bannishing ». Like can be
 usefull, I used to use it. But it is not the a good answer to all problems.
 The problem with like operator is it can't use the index (or in a very
 limited way). So I try to warn about it.

  So said, I never submit an all-retrieving method. I know it isn't the
 solution too.

 --
 Mickaël Wolff aka Lupus Michaelis
 http://lupusmic.org

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



So far, in this thread, there've been a few solutions:
1) LIKE in SQL.
2) REGEXP in SQL.
3) PCRE in PHP
4) Other fetch all methods in PHP.

The one thing that I'm seeing as a consistent agreement is that the
performance hit of whichever of the aforementioned measures is going
to be enough to be considering something else.   I briefly mentioned -
I apologize for the brevity of that email because I was in a hurry -
that a legitimate full text search engine is the right solution to
this problem.  The only problem with deploying a full text search
engine is going to be the difficulty in the deployment and perhaps
issues if you're on shared hosting (but then again I am of the opinion
that those who choose to run with shared hosting dig their own graves
in more ways than one).

What a full text search engine gives you is flexibility in your
searches, such that the initial question, when I read it, I thought
Oh, someone will tell him to use Sphinx or Solr as both have special
filters for word seperation and would handle this without any special
instruction.  Instead, this is never even brought up!

Why was using a full text search engine to do this sort of thing - not
to mention the other benefits that it would bring (responsiveness and
flexibility in searching, speed, decreased use of MySQL, etc. etc.) -
rejected so offhandedly?  I can't actually think of a better way to do
this without requiring a whole heap of overhead, either processing or
programming.
---End Message---
---BeginMessage---

Eddie Drapkin wrote:

On Fri, Sep 4, 2009 at 12:02 PM, Lupus
Michaelismickael+...@lupusmic.org wrote:

Ashley Sheridan a écrit :


You'll have far greater performance issues if you retrieve all those
records and attempt to do the same thing inside of PHP...

 It's why I speak about « avoiding » and not « bannishing ». Like can be
usefull, I used to use it. But it is not the a good answer to all problems.
The problem with like operator is it can't use the index (or in a very
limited way). So I try to warn about it.

 So said, I never submit an all-retrieving method. I know it isn't the
solution too.

--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




So far, in this thread, there've been a few solutions:
1) LIKE in SQL.
2) REGEXP in SQL.
3) 

php-general Digest 5 Sep 2009 23:19:35 -0000 Issue 6324

2009-09-05 Thread php-general-digest-help

php-general Digest 5 Sep 2009 23:19:35 - Issue 6324

Topics (messages 297724 through 297733):

Who kown this memcache_get_stats function ?
297724 by: hack988 hack988

Re: PHP6 Stable Release Schedule
297725 by: Richard Heyes
297726 by: Kevin Waterson
297727 by: Bobby Pejman
297728 by: Richard Heyes
297729 by: J DeBord

mail attachment
297730 by: Grega Leskovšek
297732 by: Bastien Koert

[Formaldehyde] The Most Basic Ajax - PHP Error Debugger
297731 by: Andrea Giammarchi

Error message
297733 by: Bruce Dobson

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
---BeginMessage---
I found memcache_get_stats for memcached in some php code.
I'm search it at php.net's function list,but it no matched result :(.
I had found explain for Memcache::getStats()  at this link
http://www.php.net/manual/en/function.memcache-getstats.php
In this link,tell me that
==
Also you can use memcache_get_stats() function.
==
But I can't find memcache_get_stats function's explain in online manual.
Anybody can help me for using this function?Or give an more detail
link for this function?
---End Message---
---BeginMessage---
Hi (again),

 ?php
  error_reporting(E_STRICT);
 ?

This might work better:

?php
  error_reporting(E_ALL | E_STRICT);
?

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers
---End Message---
---BeginMessage---
On Sat, 2009-09-05 at 16:11 +0100, Richard Heyes wrote:
 Hi (again),
 
  ?php
   error_reporting(E_STRICT);
  ?
 
 This might work better:
 
 ?php
   error_reporting(E_ALL | E_STRICT);
 ?

E_STRICT is now part of E_ALL

Kevin

---End Message---
---BeginMessage---
Very nice!  Use of E_STRICT notifies the user of deprecated functions.  Thanks 
for the note. :)

I read that E_ALL forces variable declaration, though I have yet to get that 
working in my code.

--Original Message--
From: Richard Heyes
Sender: richard.he...@gmail.com
To: Bobby Pejman
Cc: php-gene...@lists.php.net
Subject: Re: [PHP] PHP6 Stable Release Schedule
Sent: Sep 5, 2009 8:11 AM

Hi (again),

 ?php
  error_reporting(E_STRICT);
 ?

This might work better:

?php
  error_reporting(E_ALL | E_STRICT);
?

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers

---End Message---
---BeginMessage---
Hi,

 E_STRICT is now part of E_ALL

Oopsy. Shows how much PHP I do these days...

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers
---End Message---
---BeginMessage---
On Sat, Sep 5, 2009 at 6:19 PM, Richard Heyes rich...@php.net wrote:

 Hi,

  E_STRICT is now part of E_ALL


*In PHP 6
*

 Oopsy. Shows how much PHP I do these days...

 --
 Richard Heyes
 HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
 Lots of PHP and Javascript code - http://www.phpguru.org
 50% reseller discount on licensing now available - ideal for web designers

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


---End Message---
---BeginMessage---
How do I attach a file in mail function or do I have to use PEAR (and if how
...). What are the advantages of PEAR? When do You suggest to use PEAR?
Thanks in advance,
-- Peace refuge: http://users.skavt.net/~gleskovs/
When the sun rises I receive and when it sets I forgive;) Grega Leskovšek
---End Message---
---BeginMessage---
RTFM

Bastien

On Saturday, September 5, 2009, Grega Leskovšek legr...@gmail.com wrote:
 How do I attach a file in mail function or do I have to use PEAR (and if how
 ...). What are the advantages of PEAR? When do You suggest to use PEAR?
 Thanks in advance,
 -- Peace refuge: http://users.skavt.net/~gleskovs/
 When the sun rises I receive and when it sets I forgive;) Grega Leskovšek


-- 

Bastien

Cat, the other other white meat
---End Message---
---BeginMessage---

Hi everybody,
I'd love to receive your feedback about my last zero dependencies, easily 
integrable, scalable, fast, lightweight, etc etc Ajax / PHP debugger.

The project has Mit Style License and it is hosted in Google Code:
http://code.google.com/p/formaldehyde/

While this is my blog announcement:

Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Richard Heyes
Hi,

 Also, will PHP ever implement the Strict mode similar to Perl's 'using
 Strict'?

Don't know if it's similar having never used Pearl, but there's always
the E_STRICT error level.

?php
  error_reporting(E_STRICT);
?

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread hack988 hack988
I found memcache_get_stats for memcached in some php code.
I'm search it at php.net's function list,but it no matched result :(.
I had found explain for Memcache::getStats()  at this link
http://www.php.net/manual/en/function.memcache-getstats.php
In this link,tell me that
==
Also you can use memcache_get_stats() function.
==
But I can't find memcache_get_stats function's explain in online manual.
Anybody can help me for using this function?Or give an more detail
link for this function?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Richard Heyes
Hi (again),

 ?php
  error_reporting(E_STRICT);
 ?

This might work better:

?php
  error_reporting(E_ALL | E_STRICT);
?

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Kevin Waterson
On Sat, 2009-09-05 at 16:11 +0100, Richard Heyes wrote:
 Hi (again),
 
  ?php
   error_reporting(E_STRICT);
  ?
 
 This might work better:
 
 ?php
   error_reporting(E_ALL | E_STRICT);
 ?

E_STRICT is now part of E_ALL

Kevin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Bobby Pejman
Very nice!  Use of E_STRICT notifies the user of deprecated functions.  Thanks 
for the note. :)

I read that E_ALL forces variable declaration, though I have yet to get that 
working in my code.

--Original Message--
From: Richard Heyes
Sender: richard.he...@gmail.com
To: Bobby Pejman
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP6 Stable Release Schedule
Sent: Sep 5, 2009 8:11 AM

Hi (again),

 ?php
  error_reporting(E_STRICT);
 ?

This might work better:

?php
  error_reporting(E_ALL | E_STRICT);
?

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers



Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Richard Heyes
Hi,

 E_STRICT is now part of E_ALL

Oopsy. Shows how much PHP I do these days...

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller discount on licensing now available - ideal for web designers

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread J DeBord
On Sat, Sep 5, 2009 at 6:19 PM, Richard Heyes rich...@php.net wrote:

 Hi,

  E_STRICT is now part of E_ALL


*In PHP 6
*

 Oopsy. Shows how much PHP I do these days...

 --
 Richard Heyes
 HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
 Lots of PHP and Javascript code - http://www.phpguru.org
 50% reseller discount on licensing now available - ideal for web designers

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] mail attachment

2009-09-05 Thread Grega Leskovšek
How do I attach a file in mail function or do I have to use PEAR (and if how
...). What are the advantages of PEAR? When do You suggest to use PEAR?
Thanks in advance,
-- Peace refuge: http://users.skavt.net/~gleskovs/
When the sun rises I receive and when it sets I forgive;) Grega Leskovšek


[PHP] [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-05 Thread Andrea Giammarchi

Hi everybody,
I'd love to receive your feedback about my last zero dependencies, easily 
integrable, scalable, fast, lightweight, etc etc Ajax / PHP debugger.

The project has Mit Style License and it is hosted in Google Code:
http://code.google.com/p/formaldehyde/

While this is my blog announcement:
http://webreflection.blogspot.com/2009/09/formaldehyde-ajax-php-error-debugger.html

I hope you'll appreciate the code, the concept, and the simplicity, but here I 
am to know your concerns, or generally speaking, your opinion.

Best Regards,
Andrea Giammarchi
 
_
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx

Re: [PHP] mail attachment

2009-09-05 Thread Bastien Koert
RTFM

Bastien

On Saturday, September 5, 2009, Grega Leskovšek legr...@gmail.com wrote:
 How do I attach a file in mail function or do I have to use PEAR (and if how
 ...). What are the advantages of PEAR? When do You suggest to use PEAR?
 Thanks in advance,
 -- Peace refuge: http://users.skavt.net/~gleskovs/
 When the sun rises I receive and when it sets I forgive;) Grega Leskovšek


-- 

Bastien

Cat, the other other white meat

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Error message

2009-09-05 Thread Bruce Dobson
Hi folks,

I am new on this list and to php. I have just downloaded and gotten php 5.3.0 
working with IIS on one computer but my efforts to install it on another 
computer come up with the error message:  

14001 (0x36b1) 

Can anybody tell me what this relates to?

Thanks
Bruce



  

Re: [PHP] Error message

2009-09-05 Thread Tommy Pham
- Original Message 
 From: Bruce Dobson bruce_...@yahoo.co.nz
 To: php-general@lists.php.net
 Sent: Saturday, September 5, 2009 4:19:29 PM
 Subject: [PHP] Error message
 
 Hi folks,
 
 I am new on this list and to php. I have just downloaded and gotten php 5.3.0 
 working with IIS on one computer but my efforts to install it on another 

What OS? What version of IIS?  Did you setup as CGI/FCGI or as ISAPI?

 computer come up with the error message:  
 
 14001 (0x36b1) 
 
 Can anybody tell me what this relates to?

Did you enable file logging in the php.ini?  PS: you might want to ask this in 
php-windows list instead. ;)

Regards,
Tommy

 
 Thanks
 Bruce

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread hack988 hack988
Nobody Kown this?This is my second question in this mail-list :(.I
don't kown why it's no reply by anybody.

2009/9/5 hack988 hack988 hack...@dev.htwap.com:
 I found memcache_get_stats for memcached in some php code.
 I'm search it at php.net's function list,but it no matched result :(.
 I had found explain for Memcache::getStats()  at this link
 http://www.php.net/manual/en/function.memcache-getstats.php
 In this link,tell me that
 ==
 Also you can use memcache_get_stats() function.
 ==
 But I can't find memcache_get_stats function's explain in online manual.
 Anybody can help me for using this function?Or give an more detail
 link for this function?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread Eddie Drapkin
On Sun, Sep 6, 2009 at 12:16 AM, hack988 hack988hack...@dev.htwap.com wrote:
 Nobody Kown this?This is my second question in this mail-list :(.I
 don't kown why it's no reply by anybody.

 2009/9/5 hack988 hack988 hack...@dev.htwap.com:
 I found memcache_get_stats for memcached in some php code.
 I'm search it at php.net's function list,but it no matched result :(.
 I had found explain for Memcache::getStats()  at this link
 http://www.php.net/manual/en/function.memcache-getstats.php
 In this link,tell me that
 ==
 Also you can use memcache_get_stats() function.
 ==
 But I can't find memcache_get_stats function's explain in online manual.
 Anybody can help me for using this function?Or give an more detail
 link for this function?


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



Having taken a quick gander at the manual, specifically
memcache_connect(), it appears that the memcache extension has a
procedural style API similar to the procedural style MySQLi API.

$db = mysqli_connect() and mysqli_query($db, ...) vs. $db = new
mysqli() and $db-query(), so $memc = memcache_connect() and
memcache_get_stats($memc) vs. $memc = new memcache and
$memc-get_stats();

Now, on another note, the Memcache extension is pretty old and crusty
and doesn't support a lot of the awesome functionality that's been
built into Memcached as of late.  Specifically, setting/getting a key
based on a specific server, CAS (which can be used to prevent race
conditions), and a whole bunch of other nice options (like a JSON
based serializer for cross-platform compatibility between Memcached
servers).  Instead, I would suggest you use the newer, shinier, more
featureful memcached extension ( http://php.net/memcached
http://pecl.php.net/package/memcached ).  Despite being so similarly
named, the Memcached extension is much better (and I believe faster).
The only disadvantage is that it has to be built with libmemcached (so
you have to have that installed, which could be a problem) and that it
only offers an object oriented API, but neither of those should be an
issue.

Have a look at PECL/Memcached and I wish you the best of luck in your
memcached deployment,  It's difficult, but it's a hell of a lot of fun
and a completely different way of viewing data in PHP.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread Jonathan Tapicer
I think that the documentation for memcache_get_stats should be
exactly the same as the one given for the method Memcache::getStats
except that memcache_get_stats should receive as the first parameter a
reference to the Memcache connection.

Hope that helps.

Jonathan


On Sun, Sep 6, 2009 at 1:16 AM, hack988 hack988hack...@dev.htwap.com wrote:
 Nobody Kown this?This is my second question in this mail-list :(.I
 don't kown why it's no reply by anybody.

 2009/9/5 hack988 hack988 hack...@dev.htwap.com:
 I found memcache_get_stats for memcached in some php code.
 I'm search it at php.net's function list,but it no matched result :(.
 I had found explain for Memcache::getStats()  at this link
 http://www.php.net/manual/en/function.memcache-getstats.php
 In this link,tell me that
 ==
 Also you can use memcache_get_stats() function.
 ==
 But I can't find memcache_get_stats function's explain in online manual.
 Anybody can help me for using this function?Or give an more detail
 link for this function?


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread hack988 hack988
thank Jonathan ,Eddie :),I think that,i have to read
libmemcached's manual first.
Now I kown one thing:
All function Memcache:: can replace to memcache_xxx,some diffrent
is memcache_xxx has an fixed param 0,it's used for pass a memcached
link resource except memcache_connect function.

2009/9/6 Jonathan Tapicer tapi...@gmail.com:
 I think that the documentation for memcache_get_stats should be
 exactly the same as the one given for the method Memcache::getStats
 except that memcache_get_stats should receive as the first parameter a
 reference to the Memcache connection.

 Hope that helps.

 Jonathan


 On Sun, Sep 6, 2009 at 1:16 AM, hack988 hack988hack...@dev.htwap.com wrote:
 Nobody Kown this?This is my second question in this mail-list :(.I
 don't kown why it's no reply by anybody.

 2009/9/5 hack988 hack988 hack...@dev.htwap.com:
 I found memcache_get_stats for memcached in some php code.
 I'm search it at php.net's function list,but it no matched result :(.
 I had found explain for Memcache::getStats()  at this link
 http://www.php.net/manual/en/function.memcache-getstats.php
 In this link,tell me that
 ==
 Also you can use memcache_get_stats() function.
 ==
 But I can't find memcache_get_stats function's explain in online manual.
 Anybody can help me for using this function?Or give an more detail
 link for this function?


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread Tommy Pham
- Original Message 
 From: hack988 hack988 hack...@dev.htwap.com
 To: PHP General List php-general@lists.php.net
 Sent: Saturday, September 5, 2009 9:16:51 PM
 Subject: Re: [PHP] Who kown this memcache_get_stats function ?
 
 Nobody Kown this?This is my second question in this mail-list :(.I
 don't kown why it's no reply by anybody.
 

You sample on it's usage?

 2009/9/5 hack988 hack988 :
  I found memcache_get_stats for memcached in some php code.
  I'm search it at php.net's function list,but it no matched result :(.
  I had found explain for Memcache::getStats()  at this link
  http://www.php.net/manual/en/function.memcache-getstats.php
  In this link,tell me that
  ==
  Also you can use memcache_get_stats() function.
  ==
  But I can't find memcache_get_stats function's explain in online manual.
  Anybody can help me for using this function?Or give an more detail
  link for this function?
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread Tommy Pham
- Original Message 
 From: Tommy Pham tommy...@yahoo.com
 To: PHP General List php-general@lists.php.net
 Sent: Saturday, September 5, 2009 10:41:39 PM
 Subject: Re: [PHP] Who kown this memcache_get_stats function ?
 
 - Original Message 
  From: hack988 hack988 
  To: PHP General List 
  Sent: Saturday, September 5, 2009 9:16:51 PM
  Subject: Re: [PHP] Who kown this memcache_get_stats function ?
  
  Nobody Kown this?This is my second question in this mail-list :(.I
  don't kown why it's no reply by anybody.
  
 
 You sample on it's usage?
You mean sample on it's usage?

You need to run the daemon first before you can use it.  See here:
http://www.danga.com/memcached/

I got that link from: http://us2.php.net/manual/en/intro.memcache.php

 
  2009/9/5 hack988 hack988 :
   I found memcache_get_stats for memcached in some php code.
   I'm search it at php.net's function list,but it no matched result :(.
   I had found explain for Memcache::getStats()  at this link
   http://www.php.net/manual/en/function.memcache-getstats.php
   In this link,tell me that
   ==
   Also you can use memcache_get_stats() function.
   ==
   But I can't find memcache_get_stats function's explain in online manual.
   Anybody can help me for using this function?Or give an more detail
   link for this function?
  
  
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php