Re: [PHP] use strict or similar in PHP?

2009-02-26 Thread Lewis Wright
Yes you can use: error_reporting(E_ALL); Which will enable notices. You can even do: error_reporting(E_ALL | E_STRICT); To enable strict messages. Lewis. 2009/2/26 Hans Schultz h.schult...@yahoo.com: Hello, I am beginner with PHP and prior to PHP I have worked with java for some time and

Re: [PHP] help installing phpDocumentor

2009-02-24 Thread Lewis Wright
Forgot to click reply all! Sorry. -- Forwarded message -- From: Lewis Wright lewiswri...@gmail.com Date: 2009/2/24 Subject: Re: [PHP] help installing phpDocumentor To: a...@ashleysheridan.co.uk Turn on notices and maybe even strict messages (in your development environment

Re: [PHP] help installing phpDocumentor

2009-02-24 Thread Lewis Wright
I'm sorry, Gmail makes me do it! 2009/2/24 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2009-02-24 at 20:18 +, Lewis Wright wrote: Forgot to click reply all! Sorry. -- Forwarded message -- From: Lewis Wright lewiswri...@gmail.com Date: 2009/2/24 Subject: Re: [PHP

Re: [PHP] help installing phpDocumentor

2009-02-24 Thread Lewis Wright
2009/2/24 Bob McConnell r...@cbord.com: From: Lewis Wright Turn on notices and maybe even strict messages (in your development environment), and PHP should warn you of any deprecated code. Easier said than done. I don't have an IDE available. I have tried the Komodo editor and am now

Re: [PHP] php cli memory leak error

2009-02-19 Thread Lewis Wright
2009/2/19 Jochem Maas joc...@iamjochem.com: Thodoris schreef: seems to work fine here. What are your php.ini (memory related) settings? run: /usr/local/bin/php --ini and get the location of the php.ini file that is getting used. Check our the memory settings in that file. Some

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Lewis Wright
But that's where mistakes are often made. It also means you need to maintain a different live version to that of your development version. If find it much easier to have relative paths and then there's no build process needed to go live, I can just upload it. 2009/2/17 Michael A. Peters

Re: [PHP] function array problem

2009-02-17 Thread Lewis Wright
What about: function addEvent($values='') { !is_array($values) $values = Array('name' = '', 'venue' = '', 'description' ='', 'errors' = Array()); //rest of the code } It's nice and sort. 2009/2/17 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2009-02-17 at 15:21 -0500, Andrew Ballard

Re: [PHP] Re: Reverse IP lookup

2009-02-16 Thread Lewis Wright
This may be a little more accurate: http://www.domaintools.com/reverse-ip/ But I think you have to pay if you want to use it a lot. 2009/2/16 Jonesy gm...@jonz.net: On Mon, 16 Feb 2009 10:26:17 -0500, Robert Cummings wrote: On Mon, 2009-02-16 at 10:11 -0500, tedd wrote: At 9:17 PM -0500

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-16 Thread Lewis Wright
I'd personally say that PHP was originally intended to essentially be a framework for the web, but has since evolved in to its own language. It's just my opinion though... 2009/2/16 Thodoris t...@kinetix.gr: Hello list. Recently we had some serious discussion on local boards. I prefer

Re: [PHP] Re: Reverse IP lookup

2009-02-16 Thread Lewis Wright
I don't think you can unfortunately. 2009/2/16 Brian Dunning br...@briandunning.com: And an equally important question: How do you prevent your servers from showing up in searches like this? On Feb 16, 2009, at 7:51 AM, Lewis Wright wrote: This may be a little more accurate: http