Re: [PHP] Plugin systems

2005-05-31 Thread Marcus Bointon
t of the point. With the mechanism I'm thinking of, I don't have to be too precise about what exactly a plugin might do - I only need to define the different plugin interfaces (which can be very strict) that it might conform to - implementation is wide open. I'd welcome a discus

Re: [PHP] php + cvs

2005-05-31 Thread Marcus Bointon
s you would any other webdav file system. I guess you could check out a version remotely, then mount that area via webdav. Not sure what you'd gain though. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- P

Re: [PHP] php + cvs

2005-05-31 Thread Marcus Bointon
interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PR

[PHP] Plugin systems

2005-05-31 Thread Marcus Bointon
andled through a single mechanism. Does this sound like a solid structure and mechanism? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xml

2005-05-31 Thread Marcus Bointon
,..., read its contents and put it in an associative array. You have described exactly what the pear config package does: http:// pear.php.net/package/config/ Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General

[PHP] PHP5 binaries

2005-05-20 Thread Marcus Bointon
or current releases. Even in the various rpm repositories PHP5 is a rare beast - for example rpmforge's members don't include it. rpmbone provides some very basic rpms, but they suffer from dependency problems (even when accessed via apt-get). Any other ideas? Marcus -- Marcus B

Re: [PHP] Seeking decent domain registrar

2005-05-16 Thread Marcus Bointon
than to have to translate into the English "dumbing down" of their language - that you might find it harder is not a consideration. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seeking decent domain registrar

2005-05-13 Thread Marcus Bointon
On 13 May 2005, at 01:11, Richard Lynch wrote: On Thu, May 12, 2005 3:40 am, Marcus Bointon said: Multilingual domain support e.g. café.com Er. Maybe they changed the rules, but I don't think that's a valid domain name AT ALL. So maybe the reason you are having trouble is you a

[PHP] Seeking decent domain registrar

2005-05-12 Thread Marcus Bointon
elp of course! I've been googling for registrars, but as yet I've not found anyone that offers all this. Can anyone recommend a registrar that has a clue and a decent web interface? Thanks, Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] |

Re: [PHP] Re: Valid email address syntax script?

2005-05-04 Thread Marcus Bointon
On 3 May 2005, at 19:18, Matthew Weier O'Phinney wrote: * Jm <[EMAIL PROTECTED]>: Does anyone have a nice email address syntax checking script they'd like to share? Regular expression-based anyone? TIA. I use the following regex: preg_match('/[EMAIL PROTECTED]@([-a-z0-9]+\.)+[a-z]{2,}$/i', $ema

[PHP] Mac OS X compilation problem

2005-04-27 Thread Marcus Bointon
I need some modules that are not supported in any of the pre-built fink PHP5 packages, and I'm used to compiling it without difficulty on Linux and OpenBSD. Anyone else run into this or have any idea how I might fix it? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the pi

Re: [PHP] strtotime time zone trouble

2005-01-18 Thread Marcus Bointon
ts is that it allows for correct daylight savings calculations (assuming that locale data is correct on the server). Let me rephrase the question - how can I get the current time in a named time zone using strtotime and without using a numeric offset? Marcus -- Marcus Bointon Synchromedia Limited: P

[PHP] strtotime time zone trouble

2005-01-18 Thread Marcus Bointon
doesn't work at all: print date('Y-m-d H:i:s', strtotime('now UTC-0800'))."\n"; 1970-01-01 00:59:59 using 08:00 doesn't work either Ideas? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia

Re: [PHP] oop too slow

2004-08-19 Thread Marcus Bointon
With a product factory class, you might do this instead: $products = product_factory::get($productids); Which achieves the same result, but using only a single DB query (hidden inside the factory class, which does NOT call the product class in the same way!). The next problem is keeping your p

[PHP] PHP 5 - $_REQUEST undefined???

2004-08-08 Thread Marcus Bointon
it off. I'm in the process of upgrading from PHP4 to 5, and this script works ok in 4 - the error is just in 5. Any ideas? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (htt

[PHP] mysql and mysqli

2004-07-27 Thread Marcus Bointon
I installed all of mysql from official RPMs, except for devel and shared modules which I compiled from the source RPM (These 4.1.13 binary RPMs are hard-wired to OpenSSL 0.9.6 so you can't use them on any recent OS). Any ideas to fix this? Marcus -- Marcus Bointon Synchromedia Limited: P

[PHP] Creating a PHP5 RPM

2004-07-27 Thread Marcus Bointon
. However, I have no idea how to do this - can anyone give me some pointers? Is it as simple as adding a configure switch like --build-rpm? Thanks, Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List

Re: [PHP] run perl script with php

2004-07-22 Thread Marcus Bointon
ual/en/function.exec.php http://uk2.php.net/manual/en/function.passthru.php E.g. system('myperlscript.pl'); Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Re: Preventing static method calls in PHP4

2004-07-22 Thread Marcus Bointon
t work - it is exactly the case that fails in my example. $this IS set in a static method that's called from any object instance (even one of a different class), and it's a PHP feature, not a bug. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture

[PHP] Preventing static method calls in PHP4

2004-07-22 Thread Marcus Bointon
ow that this problem goes away in PHP5, and that the setting of $this in static calls from other instances is not a bug (though it's the root of this problem)! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk --

Re: [PHP] Zend Enc and 0T Q

2004-07-21 Thread Marcus Bointon
ion is not the same as encoding. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Preventing static method calls in PHP4

2004-07-21 Thread Marcus Bointon
that the setting of $this in static calls from other instances is not a bug (though it's the root of this problem)! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2