[PHP] Re: Vermis - new issue tracker in PHP

2010-10-06 Thread Lukasz Cepowski
Hello, Actually I'm planning the 1.0 version of Vermis, if you have any suggestions what should be improved and changed please share. I'd very appreciate that kind of feedback. Feel free to download, test and use Vermis. Thanks, Lukasz (cepa) Cepowski DiabloWare :: Software from Hell! www.diab

Re: [PHP] daemon

2010-10-06 Thread Nathan Nobbe
On Wed, Oct 6, 2010 at 11:21 PM, Tommy Pham wrote: > Hi, > > Does anyone have a script running as daemon on Linux/Unix (variants) as > part > of your PHP application? If so, what are you using to schedule the script > to run? cron? > cron is one way to do it for scripts you schedule. for real

[PHP] daemon

2010-10-06 Thread Tommy Pham
Hi, Does anyone have a script running as daemon on Linux/Unix (variants) as part of your PHP application? If so, what are you using to schedule the script to run? cron? Thanks, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Class mysqli not found

2010-10-06 Thread Tommy Pham
> -Original Message- > From: chris h [mailto:chris...@gmail.com] > Sent: Wednesday, October 06, 2010 1:44 PM > To: Alejandro Michelin Salomon > Cc: sueandant; php-general@lists.php.net > Subject: Re: [PHP] Class mysqli not found > > mysqli is set of functions not a class. The name to conne

Re: [PHP] Variable (Class instantiation) collision

2010-10-06 Thread Brian Smither
Gentlemen, Thank you. The "Thing1 Thing2" approach worked. >If you have total control over application A which contains the bridge >code, the easiest is to change it to use a different global variable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: RES: [PHP] Class mysqli not found

2010-10-06 Thread sueandant
I'm running phpinfo from my browser under localhost. - Original Message - From: chris h To: sueandant Cc: PHP Sent: Wednesday, October 06, 2010 10:12 PM Subject: Re: RES: [PHP] Class mysqli not found Are you doing phpinfo() off the CLI or via apache mod? Is it the same

Re: RES: [PHP] Class mysqli not found

2010-10-06 Thread chris h
Are you doing phpinfo() off the CLI or via apache mod? Is it the same way you are running the actual script that's calling on mysqli? On Wed, Oct 6, 2010 at 4:58 PM, sueandant wrote: > phpinfo() includes mysqli in its detailed output: > > mysqli > MysqlI Support enabled > Client API libr

Re: RES: [PHP] Class mysqli not found

2010-10-06 Thread sueandant
phpinfo() includes mysqli in its detailed output: mysqli MysqlI Support enabled Client API library version mysqlnd 5.0.7-dev - 091210 - $Revision: 300533 $ Active Persistent Links 0 Inactive Persistent Links 0 Active Links 0 Directive Local Value Master Value

Re: [PHP] Class mysqli not found

2010-10-06 Thread sueandant
I've tried this and get the same error message. - Original Message - From: "Alejandro Michelin Salomon" To: "'sueandant'" Cc: Sent: Wednesday, October 06, 2010 9:33 PM Subject: RES: [PHP] Class mysqli not found Sueandant : mysqli is set of functions not a class. The name to connect

Re: [PHP] Class mysqli not found

2010-10-06 Thread sueandant
Yes, I've run phpinfo() and mysqli is listed in the detailed output. - Original Message - From: "Jay Blanchard" To: "sueandant" ; Cc: "PHP" Sent: Wednesday, October 06, 2010 9:31 PM Subject: RE: [PHP] Class mysqli not found [snip] When I run this small program I get a Fatal Error:

Re: [PHP] Class mysqli not found

2010-10-06 Thread chris h
mysqli is set of functions not a class. The name to connect is mysqli_connect mysqli can be used as either a set of functions ( mysqli_connect(..) ) OR it can be used an an object ( new mysqli(...) ). When used as an object you just use the various functions as methods. http://www.php.net/manua

Re: RES: [PHP] Class mysqli not found

2010-10-06 Thread Simon J Welsh
http://php.net/manual/en/class.mysqli.php definitely says MySQLi is a class. It looks like PHP was complied without MySQLi support. Does running a phpinfo() show the MySQLi module? On 7/10/2010, at 9:33 AM, Alejandro Michelin Salomon wrote: > Sueandant : > > mysqli is set of functions not a cla

RES: [PHP] Class mysqli not found

2010-10-06 Thread Alejandro Michelin Salomon
Sorry, but it is a class... C:\php\ext folder has the php_mysql.dll and php_mysqli.dll ? Alejandro M.S. -Mensagem original- De: Alejandro Michelin Salomon [mailto:amichel...@hotmail.com] Enviada em: quarta-feira, 6 de outubro de 2010 17:34 Para: 'sueandant' Cc: 'php-general@lists.php.ne

RES: [PHP] Class mysqli not found

2010-10-06 Thread Alejandro Michelin Salomon
Sueandant : mysqli is set of functions not a class. The name to connect is mysqli_connect /** * * * @version $Id$ * @copyright 2010 */ $mysqli = mysqli_connect ("localhost", "root", "woodcote", "testDB"); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error());

RE: [PHP] Class mysqli not found

2010-10-06 Thread Jay Blanchard
[snip] When I run this small program I get a Fatal Error: Class mysqli not found error message. [/snip] Have you run a simple phpinfo(); to see if you have the mysqli module? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class mysqli not found

2010-10-06 Thread sueandant
Thanks Steve. Here's the php file: When I run this small program I get a Fatal Error: Class mysqli not found error message. - Original Message - From: "Steve Staples" To: "sueandant" Cc: "PHP" Sent: Wednesday, October 06, 2010 9:09 PM Subject: Re: [PHP] Class mysqli not found

Re: [PHP] Class mysqli not found

2010-10-06 Thread Steve Staples
On Wed, 2010-10-06 at 21:00 +0100, sueandant wrote: > I'm still fighting a losing battle in my attempts to get PHP speak to mysqli. > I can access MySql via the prompt. Apache and PHP are installed and > working. In Apache's config file PHPIniDir is set to "C:\php", which is > where I unzipp

[PHP] Class mysqli not found

2010-10-06 Thread sueandant
I'm still fighting a losing battle in my attempts to get PHP speak to mysqli. I can access MySql via the prompt. Apache and PHP are installed and working. In Apache's config file PHPIniDir is set to "C:\php", which is where I unzipped the binary download files, and set LoadModule php5_module

Re: [PHP] Casting from parent class to child

2010-10-06 Thread David Harkness
Casting does not change an object. You must copy the relevant value(s) from the object returned into a new DateTimePlus. Since DateTime's constructor takes only a string, and I assume it won't accept your format directly, you're better off converting the string into a Unix timestamp and creating a

[PHP] PHP Unconference Europe

2010-10-06 Thread Tom Calpin
I'm not affiliated with the PHP Unconference in any way but saw this on another mailing list, so just passing it on here in case anyone is interested. -Tom We are delighted to announce that PHP Unconference Europe will take place on: 19th & 20th February 2011 in: Manchest

[PHP] Casting from parent class to child

2010-10-06 Thread Teto
Hi, I'm trying to extends the base class DateTime. parent::createFromFormat("H.i d.m.Y", $string); returns a DateTime and I want to convert it into a DateTimePlus (my own extended class). What's the best way to do this plz ? Some code: class DateTimePlus extends DateTime { static functio

Re: [PHP] which one is faster

2010-10-06 Thread Steve Staples
On Wed, 2010-10-06 at 15:43 +0200, Peter Lind wrote: > On 6 October 2010 15:31, Andy McKenzie wrote: > > *snip* > > > Double quotes are the only example given: in most documentation if > > there are two allowed forms, there are two examples, or at least a > > note in the text. I haven't read e

Re: [PHP] which one is faster

2010-10-06 Thread Peter Lind
On 6 October 2010 15:31, Andy McKenzie wrote: *snip* > Double quotes are the only example given:  in most documentation if > there are two allowed forms, there are two examples, or at least a > note in the text.  I haven't read enough of this particular document > to know if they follow that f

Re: [PHP] which one is faster

2010-10-06 Thread Andy McKenzie
On Wed, Oct 6, 2010 at 9:25 AM, Peter Lind wrote: > On 6 October 2010 15:21, Andy McKenzie wrote: >> On Wed, Oct 6, 2010 at 9:03 AM, Robert Cummings wrote: >>> On 10-10-06 08:52 AM, Peter Lind wrote: Where exactly do you get the part about double quotes from? Can't seem to locate

Re: [PHP] which one is faster

2010-10-06 Thread Andy McKenzie
On Wed, Oct 6, 2010 at 9:03 AM, Robert Cummings wrote: > On 10-10-06 08:52 AM, Peter Lind wrote: >> >> Where exactly do you get the part about double quotes from? Can't seem >> to locate it in the any of the relevant specs (xhtml or xml). Also, >> never seen an xml or xhtml validator choke on sing

Re: [PHP] which one is faster

2010-10-06 Thread Robert Cummings
On 10-10-06 09:06 AM, Peter Lind wrote: On 6 October 2010 15:03, Robert Cummings wrote: On 10-10-06 08:52 AM, Peter Lind wrote: Where exactly do you get the part about double quotes from? Can't seem to locate it in the any of the relevant specs (xhtml or xml). Also, never seen an xml or xhtml

Re: [PHP] which one is faster

2010-10-06 Thread Robert Cummings
On 10-10-06 08:52 AM, Peter Lind wrote: Where exactly do you get the part about double quotes from? Can't seem to locate it in the any of the relevant specs (xhtml or xml). Also, never seen an xml or xhtml validator choke on single quotes. http://www.w3.org/TR/xhtml1/#h-4.2 Cheers, Rob. -- E-M

Re: [PHP] which one is faster

2010-10-06 Thread Peter Lind
On 6 October 2010 14:40, Bob McConnell wrote: > From: Steve Staples > >> On Tue, 2010-10-05 at 20:53 +0100, Ashley Sheridan wrote: >>> On Tue, 2010-10-05 at 15:46 -0400, Steve Staples wrote: >>> >>> > On Tue, 2010-10-05 at 20:35 +0100, Ashley Sheridan wrote: >>> > > On Tue, 2010-10-05 at 15:28 -04

RE: [PHP] which one is faster

2010-10-06 Thread Bob McConnell
From: Steve Staples > On Tue, 2010-10-05 at 20:53 +0100, Ashley Sheridan wrote: >> On Tue, 2010-10-05 at 15:46 -0400, Steve Staples wrote: >> >> > On Tue, 2010-10-05 at 20:35 +0100, Ashley Sheridan wrote: >> > > On Tue, 2010-10-05 at 15:28 -0400, chris h wrote: >> > > >> > > > Benchmark and find