php-general Digest 24 Jan 2011 19:17:11 - Issue 7150
Topics (messages 310994 through 311007):
Re: No SMTP server? Can't get mail()
310994 by: Paul S
310995 by: David Robley
Re: Zend memory manager
310996 by: Tommy Pham
311007 by: Adi Mutu
Mysql search query
On Sun, 23 Jan 2011 12:40:25 +0700, David Robley robl...@aapt.net.au
wrote:
Paul S wrote:
I'm a little new to PHP.
David starts:
Nobody seems to have mentioned it, but the SMTP info is only needed on a
Win
system. The following is an extract from a default php.ini file:
Well, I have
Paul S wrote:
On Sun, 23 Jan 2011 12:40:25 +0700, David Robley robl...@aapt.net.au
wrote:
Paul S wrote:
I'm a little new to PHP.
David starts:
Nobody seems to have mentioned it, but the SMTP info is only needed on a
Win
system. The following is an extract from a default php.ini file:
From the search results, you'd see several links http://forums.zend.com.
I'd say that's the best place to ask ;)
From: Adi Mutu [mailto:adi_mut...@yahoo.com]
Sent: Sunday, January 23, 2011 11:07 PM
To: Tommy Pham
Cc: php-general@lists.php.net; Daniel Brown
Subject: Re: [PHP] Zend memory
Hi all,
I have to perform a mysql query in a table with millions of records.
I've full-text indexed my search field and I'm searching with MATCH AGAINST.
But there is a problem. In this field there are company names that
contain dots, for istance I've PO.SE. srl and I want to find it if
the
-Original Message-
From: Barbara Picci [mailto:barbara.pi...@sardi.it]
Sent: Monday, January 24, 2011 4:51 AM
To: php-general@lists.php.net
Subject: [PHP] Mysql search query ignoring dots
Hi all,
I have to perform a mysql query in a table with millions of records.
I've
On Sun, 2011-01-23 at 17:40 -0800, Tommy Pham wrote:
-Original Message-
From: Tommy Pham [mailto:tommy...@gmail.com]
Sent: Sunday, January 23, 2011 5:23 PM
To: 'Paul M Foster'
Cc: 'php-general@lists.php.net'; 'Thijs Lensselink'
Subject: RE: [PHP] Different sessions, same client
-Original Message-
From: Steve Staples [mailto:sstap...@mnsi.net]
Sent: Monday, January 24, 2011 6:31 AM
To: Tommy Pham
Cc: 'Paul M Foster'; php-general@lists.php.net
Subject: RE: [PHP] Different sessions, same client
On Sun, 2011-01-23 at 17:40 -0800, Tommy Pham wrote:
[snip]
?php
session_name(uniqid());
session_start();
echo session_id();
?
YAY! it worked!!
so then i tried this:
?php
session_name(uniqid());
session_start();
$_SESSION['t_'. time()] = time();
echo session_id();
echo 'pre';
print_r($_SESSION);
echo '/pre';
?
and it doesn't preserve the older
Hi there,
I am trying to replace certain words inside a text with php.
Unfortunatelly my function is creating invalid html as output.
For example the words beagle and welpen have to be replaced inside
this text: süße knuffige Beagle Welpen ab sofort
My result looks like this:
zwei süße
-Original Message-
From: Donovan Brooke [mailto:li...@euca.us]
Sent: Monday, January 24, 2011 7:49 AM
Cc: php-general@lists.php.net
Subject: Re: [PHP] Different sessions, same client
[snip]
?php
session_name(uniqid());
session_start();
echo session_id();
?
YAY! it
Without seeing the code that creates the arrays, it's tough to see the
problem. It looks like the first replacement is catching Beagle Welpen
entirely since the closing /a tag gets placed after Welpen. Then the
second replacement does just Welpen.
Also, you should have quotes around link when
If you declare your arrays, and set k to 0 first, put quotes around array
values and use the correct limit (you can default to -1), you will get
results, here is code and example (hopefully this helps you)
?php
function internal_links($str, $links, $limit=-1) {
On 1/24/2011 8:00 AM, Merlin Morgenstern wrote:
Hi there,
I am trying to replace certain words inside a text with php. Unfortunatelly my
function is creating invalid html as output.
For example the words beagle and welpen have to be replaced inside this
text: süße knuffige Beagle Welpen
I have asked also there..but no answerBut honestly i don't understand
why you have reccomended me that forum..because i thougt these mailing
lists are about php developing...
Thanks,A.
On Mon, Jan 24, 2011 at 14:17, Adi Mutu adi_mut...@yahoo.com wrote:
I have asked also there..but no answerBut honestly i don't understand
why you have reccomended me that forum..because i thougt these mailing
lists are about php developing...
Because this is about
Hi,
Monday, January 24, 2011, 10:50:41 PM, you wrote:
BP Hi all,
BP I have to perform a mysql query in a table with millions of records.
BP I've full-text indexed my search field and I'm searching with MATCH AGAINST.
BP But there is a problem. In this field there are company names that
BP
17 matches
Mail list logo