Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Evert | Rooftop Solutions
Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : why php6 and not php5? look how long it took to get to php4 (with php5 just starting to rolling out) and people are already talking about php6?

Re: [PHP] Re: Strange notation to create object

2005-06-23 Thread Evert | Rooftop Solutions
Robert Cummings wrote: On Thu, 2005-06-23 at 13:36, Matthew Weier O'Phinney wrote: * Robert Cummings [EMAIL PROTECTED] : On Thu, 2005-06-23 at 11:32, Matthew Weier O'Phinney wrote: The above notation is unnecessary when developing in PHP5, as objects in PHP5 are passed by

Re: [PHP] Fastest templating mechanism

2005-05-08 Thread Evert | Rooftop Solutions
Joe Wollard wrote: Evert, Have you looked at smarty (http://smarty.php.net) ? It doesn't do exactly what you're talking about but it seems to be the Fastest templating mechanism that I've tested; probably one of the most versatile as well. Cheers! -Joe www.joewollard.com Evert | Rooftop

Re: [PHP] Fastest templating mechanism

2005-05-08 Thread Evert | Rooftop Solutions
[EMAIL PROTECTED] wrote: On 8 May 2005 Evert | Rooftop Solutions wrote: What I really need is a fast lookup mechanism, to 'translate' statements. For example: setOutputType('xhtml'); echo(translate('authorstart')); the function translate opens xhtml.data, which contains: authorstart : span

[PHP] Fastest templating mechanism

2005-05-07 Thread Evert | Rooftop Solutions
Hi all, I'm working on a template system which works a bit like a text translation block. The data looks for example like: beginblock div class=block endblock /div beginauthor span class=author endauthor /div The list is going to be very large, it will have several overlays and not all pages

[PHP] automatic PHP Template engine

2005-05-01 Thread Evert | Rooftop Solutions
Hi, I'm working on a template engine, and I want my template engine to be automaticly started when a .stl file is called from the browser. I know this can be done with mod_rewrite, but I really need a platform-independant solution. Has anybody some ideas on how to make it work everywhere

Re: [PHP] automatic PHP Template engine

2005-05-01 Thread Evert | Rooftop Solutions
Richard Lynch wrote: On Sun, May 1, 2005 12:54 pm, Evert | Rooftop Solutions said: I'm working on a template engine, and I want my template engine to be automaticly started when a .stl file is called from the browser. I know this can be done with mod_rewrite, but I really need a platform

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Ryan A wrote: So just because you use smarty you think you are smart and have the right to be smart..who the hell do you think you are?? Sorry, just giving an example of how a jackass with extreme opinions would write on this holy war's volatile topic. no offense meant :-) Cheers, Ryan I

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Andre Dubuc wrote: On Thursday 28 April 2005 02:05 pm, John Nichel wrote: Jason Barnett wrote: snip Humor is on my TODO list. Making a TODO list is on my TODO list. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] Just out of curiosity, are there any

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Ryan A wrote: I would go for a xml-style template engine (start flaming right below this thread) Hey Rob, I sorry for the mix up but the above (however obvious) was *not* meant to be a flame, I was *only* joking with the guy. Is it just me or is joking becoming outlawed on the list?

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Hi Ryan, The XML basics are really simple and can be learned in 15 minutes, so I suppose you already know this. I personally think www.xml.com has some good resources, and they don't just keep it with theory and translate the stuff to practical situations. Also google for stuff like namespaces

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Jason Barnett wrote: Evert | Rooftop Solutions wrote: Yes, and that's how I read this reply =) About the subject, I'm working on a xml-based templating system, which caches all the steps it does, so it overcomes the slowness =) And ofcource because I like xml and all the neith things you can do

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Jason Barnett wrote: Evert | Rooftop Solutions wrote: Yes, and that's how I read this reply =) About the subject, I'm working on a xml-based templating system, which caches all the steps it does, so it overcomes the slowness =) And ofcource because I like xml and all the neith things you can do

[PHP] Classes, Constructors, References and Recursion

2005-04-20 Thread Evert | Rooftop Solutions
Hi, I have this piece of code: class test1 { var $data = 'hi', $node = false; function test1() { $this-node = new test2($this); } } class test2 { var $data = 'yoyo', $root = false;

Re: [PHP] Classes, Constructors, References and Recursion

2005-04-20 Thread Evert | Rooftop Solutions
Jochem Maas wrote: also I believe print_r() and var_dump() have a few odditities regarding display of recursion with regard to objects... internals mailinglist archive might tell you more on that. I think I have the answer, when I pass a var to print_r it isn't passed by reference, so there

Re: [PHP] secure document : solution wanted

2005-04-07 Thread Evert - Rooftop Solutions
in the first place? Oh well. Actually, the reason they did is because of fishing. A malicious guy could construct an url like http://www.mybank.com/[EMAIL PROTECTED]/ Firefox prompts before it opens an url like this, a much better way to handle it =) grt, Evert -- Rooftop Solutions - Web Applications

[PHP] Possible problem with EXPAT functions

2005-03-28 Thread Evert | Rooftop Solutions
Hi People, I'm working on some complex PHP4 OOP Scripts and at a really unusual point I'm getting the following error in my apache errorlog: *** glibc detected *** double free or corruption (!prev): 0x0828c510 *** [Tue Mar 29 07:09:27 2005] [notice] child pid 9110 exit signal Aborted (6) This

[PHP] world write access

2005-03-27 Thread Evert - Rooftop Solutions
, there shouldn't be any problem. The numerous places I read that I shouldn't do that gives me certain doubts though. any comments on this? regards, Evert -- Rooftop Solutions - Web Applications on Demand tel. (+31)628962319 fax. (+31)842242474 http://www.rooftopsolutions.nl -- PHP General Mailing

Re: [PHP] world write access

2005-03-27 Thread Evert | Rooftop Solutions
Thanx Johannes, how about making the webserver the owner of the files? Would that be a good idea? The problem is that I have a framework deployed at several clients. Because this are some big clients and demand high security they won't give me a login to their ftp or consoles. Understandable,

[PHP] auto appending .php extension

2005-03-25 Thread Evert | Rooftop Solutions
Hi Folks, I'm using PHP 4.3.10, the Zend Optimizer and Apache 1.3.33. Somehow, if I want to open for example /dikkerapper.php, it is also possible to access it through /dikkerapper (without the .php extension) I haven't seen this before, but when I checked it also occurs on my other servers. The

Re: [PHP] class and global

2005-03-19 Thread Evert - Rooftop Solutions
) { global $freedb; [snip] $freedb-freedb_search($txt); I don't see an error in this code, perhaps you should give us a bit more information. grt, Evert -- Rooftop Solutions - Web Applications on Demand tel. (+31)628962319 fax. (+31)842242474 [EMAIL PROTECTED] http

Re: [PHP] PHP 5.0.4RC1 and PHP 4.3.11RC1 rolled

2005-03-14 Thread Evert | Rooftop Solutions
Zeev Suraski wrote: Everyone, We've rolled initial release candidates for PHP 5.0.4 and 4.3.11. As usual, these 3rd digit releases include a variety of bug fixes and minor updates. PHP 5.0.4RC1 source: http://downloads.php.net/zeev/php-5.0.4RC1.tar.bz2

Re: [PHP] Re: Imap and attachments

2005-03-11 Thread Evert | Rooftop Solutions
Jim Plush wrote: here is a script I use to get jpg attachments with IMAP.. good luck ?php [snip] Thanx Jim, Unfortunaly some e-mail clients send the headers in ways the imap-functions can't read. So I figured something out using regular expressions. If anyone needs this, mail me (in total

[PHP] Imap and attachments

2005-03-10 Thread Evert | Rooftop Solutions
Hi, I started using the IMAP functions and ran into a problem with some headers for attachments. The first one is: Content-type: image/psd; x-unix-mode=0644; name=FinalVersion6.psd Content-transfer-encoding: base64 Content-disposition: inline; filename=FinalVersion6.psd Generated by Mac Mail.

[PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
in forward, Evert -- Rooftop Solutions - Web Applications on Demand tel. (+31)628962319 fax. (+31)842242474 http://www.rooftopsolutions.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
, so be careful. Thanks I will check it out. Hope this helps, Chris Smith Ninja Labs http://www.ninjalabs.co.uk/ greetings, Evert -- Rooftop Solutions - Web Applications on Demand tel. (+31)628962319 fax. (+31)842242474 [EMAIL PROTECTED] http://www.rooftopsolutions.nl -- PHP General Mailing List (http

Re: [PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
Mark Charette wrote: Evert - Rooftop Solutions wrote: I heard that shared memory is actually slower than writing and reading a file and it is not available on windows systems. Hmmm ... that's an interesting thing you heard concerning shared memory. Care to share _who_ told you that? I'd like