Hi,everyone
i download the php source tarball from php.net.
and check out lastest version of php-fpm from SVN.
then,i run the
./configure --prefix=/usr/local/php --bindir=/usr/local/bin
--sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig
--enable-embed=shared --enable-fpm --enable-safe-mode
--e
On Sun, Apr 18, 2010 at 09:47, Sharl.Jimh.Tsin wrote:
> Hi,everyone
>
> i download the php source tarball from php.net.
> and check out lastest version of php-fpm from SVN.
>
> then,i run the
> ./configure *snip*
>
> it seems to be ok,and run make command.it looks like NO error appears,too
>
> but
all right,i submit it as a bug into the bugs.php.net
Best regards,
Sharl.Jimh.Tsin
2010/4/18 Daniel Egeberg :
> On Sun, Apr 18, 2010 at 09:47, Sharl.Jimh.Tsin wrote:
>> Hi,everyone
>>
>> i download the php source tarball from php.net.
>> and check out lastest version of php-fpm from SVN.
>>
>>
I have this form that people use to add entries into a MySQL database. Recently
I've had some users insert − in their entries instead of - which is causing
some issues with scripts down the line. I'd like to replace the − character
with -.
Originally I had something like
$name = mysql_escape_
Hello, everyone, please answer me. Thank you.
Does PHP support multi-thread ?
Oh No !
Not again !
Please !!
This was the subject of a very long and heated discussion a while ago.
No - it does not support multi threading.
- Original Message -
From: "ttplayer"
To: "php-general"
Sent: Sunday, April 18, 2010 11:17 PM
Subject: [PHP] Does PHP support multi-th
Not all libraries are thread safe, so no. 2 seconds with a google
search would have given you the same answer.
Bastien
Sent from my iPod
On Apr 18, 2010, at 9:17 AM, "ttplayer" wrote:
Hello, everyone, please answer me. Thank you.
Does PHP support multi-thread ?
--
PHP General Mailing Lis
On Apr 18, 2010, at 8:59 AM, Michael Stroh wrote:
I have this form that people use to add entries into a MySQL
database. Recently I've had some users insert − in their entries ins
tead of - which is causing some issues with scripts down the line. I
'd like to replace the − character with -
On 18 April 2010 16:40, Phpster wrote:
>
>
> On Apr 18, 2010, at 8:59 AM, Michael Stroh wrote:
>
>> I have this form that people use to add entries into a MySQL database.
>> Recently I've had some users insert − in their entries instead of - which is
>> causing some issues with scripts down the l
yup, check out forking though for related
Phpster wrote:
> Not all libraries are thread safe, so no. 2 seconds with a google search
> would have given you the same answer.
>
> Bastien
>
> Sent from my iPod
>
> On Apr 18, 2010, at 9:17 AM, "ttplayer" wrote:
>
>> Hello, everyone, please answer
Hi,
After several days, I have rebuilt my system on Linux using Ubuntu, installed
PEAR and such. Thankfully, when I execute the code, it no longer gives me the
error that the class is not found. Yet, when I submit the form now, I can
always see the confirmation message telling me that my mes
On 18 April 2010 16:46, Peter Lind wrote:
> On 18 April 2010 16:40, Phpster wrote:
> >
> >
> > On Apr 18, 2010, at 8:59 AM, Michael Stroh wrote:
> >
> >> I have this form that people use to add entries into a MySQL database.
> >> Recently I've had some users insert − in their entries instead of
On 18 April 2010 02:08, Micky Hulse wrote:
> Hi Michiel! Thanks for the help, I really appreciate it. :)
>
> > It depends. What's exactly do you want to prevent? It doesn't seem like a
> > ..
> > include, say, additional HTML content, use file_get_contents() instead.
>
> Very good points. My
On 17 April 2010 13:03, Paulo-WORK wrote:
> I have reached a solution for my problem with js.
> Following all the sugestions and using jquery turned out to be quite
> simple.
> using .hide( ) and .show( ) i am able to change the #div with Js enabled
> content and no js.
>
>
That's the best way t
2010/4/18 Angus Mann :
> Oh No !
>
> Not again !
>
> Please !!
>
> This was the subject of a very long and heated discussion a while ago.
> No - it does not support multi threading.
>
+1
>
> - Original Message - From: "ttplayer"
> To: "php-general"
> Sent: Sunday, April 18, 2010 11:
Thanks for the advice. I've changed the code to use mysql_real_escape_string.
So now it is
$name = mysql_real_escape_string($name);
preg_replace('/−/','-',$name);
but it's still not replacing the − string. I've also changed the field in
the database so that now it is using the collation utf
Maybe you could try to assign the return value of preg_replace to a variable so
you can use it later, like:
$name = preg_replace('/−/','-',$name);
On Apr 18, 2010, at 11:38 AM, Michael Stroh wrote:
> Thanks for the advice. I've changed the code to use mysql_real_escape_string.
> So now it is
That did it! Thanks!
Michael
On Apr 18, 2010, at 2:44 PM, Mari Masuda wrote:
> Maybe you could try to assign the return value of preg_replace to a variable
> so you can use it later, like:
>
> $name = preg_replace('/−/','-',$name);
>
>
> On Apr 18, 2010, at 11:38 AM, Michael Stroh wrote:
>
On Sun, Apr 18, 2010 at 10:23 AM, Michiel Sikma wrote:
> I would prefer to use include() since it runs the code in the same context,
> ..
> with your data rather than printing it right away.
Thanks for the reply Michiel, I really appreciate it. :)
For some benchmarks on the different types o
Hey Alice,
Again, try throwing the MIME in.
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
Karl
On Apr 18, 2010, at 10:11 AM, Alice Wei wrote:
Hi,
After several days, I have rebuilt my system on Linux using
Ubuntu, installed PEA
Hi everyone,
I posted this in the PHP-i18n list, however got no answer so trying
here).
We are making a blog platform (http://oire.org/) which is provided in
several languages (currently they are Russian, Ukrainian, and
English).
Now the i18n process is made as follows: we set a cookie on the site
Andre Polykanine wrote:
Hi everyone,
I posted this in the PHP-i18n list, however got no answer so trying
here).
We are making a blog platform (http://oire.org/) which is provided in
several languages (currently they are Russian, Ukrainian, and
English).
Now the i18n process is made as follows: w
Karl DeSaulniers wrote:
Hey Alice,
Again, try throwing the MIME in.
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
Also:
$headers .= 'Errors-to: ' . "\r\n";
Which I suggested on your previous thread. Also, I see you have
$from set
> Date: Sun, 18 Apr 2010 21:02:29 -0500
> From: k...@daleco.biz
> To: aj...@alumni.iu.edu
> CC: k...@designdrumm.com; php-general@lists.php.net
> Subject: Re: [PHP] Mail Function Using PEAR Issues
>
> Karl DeSaulniers wrote:
> > Hey Alice,
> > Again, try throwing the MIME in.
> >
> > $headers
Is there any need for this line if you are using the Errors-to: ?
Maybe take it out and see what Errors-to gives you without it.
On Apr 18, 2010, at 9:27 PM, Alice Wei wrote:
if (PEAR::isError($mail)) echo "" . $mail->getMessage() .
OAN - That sendmail script I posted, I know works on L
Alice Wei wrote:
Date: Sun, 18 Apr 2010 21:02:29 -0500
From: k...@daleco.biz
To: aj...@alumni.iu.edu
CC: k...@designdrumm.com; php-general@lists.php.net
Subject: Re: [PHP] Mail Function Using PEAR Issues
Karl DeSaulniers wrote:
Hey Alice,
Again, try throwing the MIME in.
$headers = 'MIME-Ve
26 matches
Mail list logo