[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2009-06-30 Thread Evert | Filemobile
On 4-Sep-08, at 12:06 AM, Andi Gutmans wrote: Btw, contrary to what many believe, 32bit PHP tends to perform better than 64bit PHP. So unless there's a really good reason why you want 64bit I wouldn't waste too much time on that. I have heard this before, but CPU hasn't really been our bottl

Re: [PHP] included file var scope

2008-04-07 Thread Evert Lammerts
I'm not sure what you mean. If you're saying you want to include a file from inside a function but for all parts of it to behave as if it were being included at the global scope then I don't believe there's a way to do it. Maybe it would be better if you tell us exactly what you're trying to

Re: [PHP] included file var scope

2008-04-07 Thread Evert Lammerts
In index.php rather than declaring vars like so... $var = 'value'; ...declare them in the $GLOBALS array like so... $GLOBALS['var'] = 'value'; $var is then in the global scope regardless of where it was set. -Stut That would work. However I'm looking for a more generic solution, indepen

Re: [PHP] Search engines and cookies

2008-04-07 Thread Evert Lammerts
Search engines won't come past that page. How about setting a default region when a user enters a different page then your main page? Daniel Brown wrote: On Mon, Apr 7, 2008 at 9:29 AM, Emil Edeholt <[EMAIL PROTECTED]> wrote: Hi, Do you guys how search engines like cookies? One site I'm w

[PHP] included file var scope

2008-04-07 Thread Evert Lammerts
nside of the function context. How to go upon this? Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Fatal error: Call to undefined function preg_match()

2006-03-20 Thread Evert
M. Sokolewicz wrote: > Barry wrote: >> Evert wrote: >> >>> Hi all! >>> >>> Recently I am getting the following error on some of my PHP-enabled >>> websites. I think it started when I went from PHP4 -> PHP5. >>> >>> Here

[PHP] Fatal error: Call to undefined function preg_match()

2006-03-20 Thread Evert
ses/ConfigData.php on line 114 What causes this? How can I fix it? FYI: I use Cherokee (not Apache...) Regards, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions, Constructors, and Destructors - Oh my!

2005-08-29 Thread Evert | Rooftop
Or you can save the the session in the database [ works good for me ] Sharing the cookie is easy when you have multiple boxes on the same tld [ or FQDN ] Evert Dan Trainor wrote: Nathan Tobik wrote: I've never looked into some of the open-source load balancing solutions, but I know

Re: [PHP] just a php/mysql logic question

2005-08-28 Thread Evert | Rooftop
ht now an anomaly only occured once and I had a recovery script running to try to fix the situation (it worked!). But there's a good chance this was the cause. Evert Satyam wrote: "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Sun, 200

Re: [PHP] Weird results of "=="

2005-08-23 Thread Evert | Rooftop
; } Then use float_equals($x, $y) instead of $x == $y. Jasper Couldn't have said it better! Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Evert | Rooftop
I switched from 4.3 to 4.4 on a server with a huge web application using both foreach loops with and without the keys.. No problem whatsoever.. Evert Larry Brown wrote: I found that the only way to get the function to behave is to add the key... foreach($multiarray as $key=>$subArray)

[PHP] Files passing through

2005-08-22 Thread Evert | Rooftop
through php but apache does the job? there's also readfile Another question, how seriously does this affect the performance in comparison to let apache handle it. Is the difference big at MB+ files? or only significant when dealing with a lot of tiny files? Thanks for your help! Evert -- PHP

Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2

2005-08-16 Thread Evert | Rooftop
INDIA Just wondering, Why arent you upgrading to PHP 4.4 or PHP 5.0.4? Right now you are upgrading from a very old version to an old verion. Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2

2005-08-16 Thread Evert | Rooftop
Burhan Khalid wrote: Tim Burgan wrote: Can I extend this.. On a live server I have PHP 4.1. If I upgrade to PHP 5, is something likely to stop working? 99% yes. Especially if you really mean 4.1.0 -- that's quite old. I'd say 90% no :) Evert -- PHP General Mailing

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

2005-08-14 Thread Evert | Rooftop Solutions
t now the only ones I can think of are: * New reserved words * If you rely on PHP4's object passing behaviour, your code will break Anything else? Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CPU Usage

2005-08-11 Thread Evert | Rooftop
Hi All, Is there a way to determine the current cpu usage using PHP. I'm mainly looking for a linux solution, but I would like to expand it to windows later on. Any ideas? The archives weren't any good =( Thanks, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] PHP, SSL and private keys

2005-08-11 Thread Evert | Rooftop
Hi, I would like to give my users the possibility to authenticate through a private certificate to confirm their identity. I'm not really sure where to start. Has anyone seen a website explaining this? Some pointers would be very welcome. Thanks! Evert -- PHP General Mailing List

Re: [PHP] application-wide shared data/object

2005-07-28 Thread Evert | Rooftop
Rasmus Lerdorf wrote: Not much documentation is needed: if(!$dict = apc_fetch('dict')) { $dict = function_that_returns_a_dictionary_array_or_object(); apc_store('dict',$dict); } That's all. [snip] -Rasmus Wow, I should have tried harder to make it wor

Re: [PHP] Re: Rate to charge

2005-07-21 Thread Evert | Rooftop
Jasper Bryant-Greene wrote: Evert | Rooftop wrote: Jasper Bryant-Greene wrote: I'm in New Zealand and charge NZ$50/hour as a base rate for PHP web development. I don't know what that is in your currency, try www.xe.com/ucc to find out. That's almost probably as cheap as

Re: [PHP] Re: Rate to charge

2005-07-20 Thread Evert | Rooftop
as much time as expected. One thing I learned. It's better to charge 100 dollars per hour and say you need 50 hours, instead of charging 50 hours and say it will take 100. Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP from CLI with SAPI

2005-07-18 Thread Evert | Rooftop
ent I would strongly discourage you to do it. In any case, if you want it to be fast, you want to do it 'SAPI-style'.. Enjoy! Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Tracking a mobile phone

2005-07-18 Thread Evert | Rooftop
). Evert Ethilien wrote: I think that would require tapping the cellphone network, which I doubt they would let you do since it be a major violation of privacy, because you could track the general location of anyone on their network. Thomas wrote: Hi there, I was wondering if anybody has

Re: [PHP] connecting to MySQL from a Mac

2005-07-12 Thread Evert | Rooftop
in Finder grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-11 Thread Evert | Rooftop
l and escaping them. Maybe someone has the time to benchmark this? Whatever the outcome will be, I would still prefer over [i] because I'm a standards guy =) regards, Evert Jonathan Kart wrote: I've been loosely following this thread, and have a question now. Isn't one advant

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

2005-06-23 Thread Evert | Rooftop Solutions
e 'references in constructor'-issue) excellent stuff! grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Extra (persistant) tier

2005-06-22 Thread Evert | Rooftop
at kind of solution I´m looking for, because this seems like a big advantage of java over php, or am I mistaken? If you have any ideas, let me know :) grt, Evert Collab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Evert | Rooftop
My guess would be looking for how to use PHP as a CGI in tomcat. So check out the manual for CGI stuff. grt, Evert Chris Holden wrote: Hi, I hope this is the right place to ask... I am running Tomcat 5.5.7 (jdk 1.5) on Windows XP quite happily. I have MySQL set up and that all works fine too

Re: [PHP] PHP Applications?

2005-05-18 Thread Evert | Rooftop
or me, segmentation faults all around =( suprisingly this doesn't occur the first time I load a page, only the second time ! grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cache

2005-05-16 Thread Evert | Rooftop
collision between filenames. Thank you Rory, Richard and Jason you really helped me out. grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Components

2005-05-16 Thread Evert | Rooftop
Jason Wong wrote: On Tuesday 17 May 2005 07:27, Evert | Rooftop wrote: Thank you I will look into it ;) but right now I'm also looking for the php-developers' opinions. So, what are your ideas about this? I strongly suggest that you look at the existing projects, see which

Re: [PHP] Components

2005-05-16 Thread Evert | Rooftop
ed =) I'll dig into it deeper. grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] extension development

2005-05-16 Thread Evert | Rooftop
Jason Barnett wrote: Evert | Rooftop wrote: Basicly I want very rapid and easy information sharing between multiple processes. I'm not totally sure about the implementation yet. The most simple implementation would be using a $_APP global which is shared accross servers and processes, but

Re: [PHP] Components

2005-05-16 Thread Evert | Rooftop
Jason Wong wrote: On Tuesday 17 May 2005 03:24, Evert | Rooftop wrote: I'm working on a component system and started with a component class. [...] I want to give PHP to have a natural application-programming feel, along with events and all (which is implemented by the PseudeModule

Re: [PHP] Re: Cache

2005-05-16 Thread Evert | Rooftop
cking issues, and have taken care of that) regards, Evert H... well, file_get_contents() doesn't lock the file so I'm interested in how you're accomplishing this feat. Perhaps you're creating a temporary directory (atomic IIRC) for the filename and then flocking th

[PHP] Cache

2005-05-16 Thread Evert | Rooftop
he file? * Is serialize the fastest way to serialize ;) ? * Are there any other things I should consider? (I'm aware of file-locking issues, and have taken care of that) regards, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Components

2005-05-16 Thread Evert | Rooftop
based on skins, to give an idea about how I want to do this, i'll show you an example list: xhtml_default xhtml_fire xhtml_storm wml_default xul_default xul_pimping mxml_default xforms_default xhtml_ajax_default xhtml_ajax_fire Any ideas or suggestions are welcome =) grt, Evert | -- PHP General

Re: [PHP] extension development

2005-05-16 Thread Evert | Rooftop
but I am willing to make the clustering system open source, because I love PHP and I would like making it grow. If there are more people who would like to work on this project, drop me a line so we can get a discussion started! grt, Evert Devraj Mukherjee wrote: Can you discuss the implementati

Re: [PHP] Re: Repost: mod_rewirte loses POST data

2005-05-15 Thread Evert | Rooftop
Bart Seresia wrote: Evert from collan thouht it wy have to do with the rewrite rules or the script and asked to post both of them Yea I replied with the wrong e-mail address so it didn't end up here.. this are the rewrite rules i use: [snip] In IE i get this output for post and get: [sni

Re: [PHP] what am I missing..interpolation?

2005-05-15 Thread Evert | Rooftop
Shouldn't that be: eval("echo \"$string\""); its pretty insecure though, be sure your users are not allowed to change the db field, because they can do some serious damage. grt, Evert Krid wrote: Hi! Try eval("echo $string"); blackwater dev wrote: Hello, thi

[PHP] extension development

2005-05-15 Thread Evert | Rooftop
Hi people, I want to write a PHP extension that allows clustering and simple information sharing between processes and hosts. What would be the prober mailing list subscribe to for my questions about the zend engine? grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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.dat

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.joewo

[PHP] Fastest templating mechanism

2005-05-07 Thread Evert | Rooftop Solutions
tfile, but if I need to loop through it at every lookup it will be slow.. What are your suggestions? regards, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 pla

[PHP] automatic PHP Template engine

2005-05-01 Thread Evert | Rooftop Solutions
where (preferable also on hosts where you don't have access to configuration/shared hosting). regards, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
ards instead of just the W3c RDF/RSS standard). In ways of communicating between webservices it's the future (either that or microsofts vision, I fear the longhorn). grt, Evert Ryan A wrote: /* I'm working on a xml-based templating system, which caches all the steps it does, so it over

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
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 with it. grt, Evert -- PHP General Mailing List (http://www.php.net/) T

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: 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 templati

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
I would go for a xml-style template engine (start flaming right below this thread) grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] component template questions

2005-04-26 Thread Evert | Rooftop
r input on this, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flash integration with PHP

2005-04-25 Thread Evert | Rooftop
You should check out the CVS, I think you will be suprised. Evert Dan Rossi wrote: Its been in active freeze for two years ? Besides PHPObject is AS2 compatible now. On 25/04/2005, at 8:41 PM, Evert | Rooftop wrote: I'm sure they would tell something about that on the mailing list or we

Re: [PHP] Flash integration with PHP

2005-04-25 Thread Evert | Rooftop
I'm sure they would tell something about that on the mailing list or website. From what I know it is still active and there's almost a 1.0 coming out grt, Evert Dan Rossi wrote: From my knowledge amfphp is now vapourware, I am assuming lawsuits etc . PHPObject is the alter

Re: [PHP] Flash integration with PHP

2005-04-25 Thread Evert | Rooftop
khuram noman wrote: I want to develop a shopping car in flash using php so there any good tutorial or sample code that explain the flash integration with php Check out amfphp (http://www.amfphp.org). Flash people tend to love it =) grt, Evert -- PHP General Mailing List (http://www.php.net/) To

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

2005-04-20 Thread Evert | Rooftop Solutions
un (and is already running) at various places, I have to use PHP4 :( thanx man, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Classes, Constructors, References and Recursion

2005-04-20 Thread Evert | Rooftop Solutions
yoyo [root] => *RECURSION* ) ) I know there are some difficulties using references in constructors, but I think this should be right.. I'm using PHP/4.3.11. Can anyone tell me what is wrong with this code or why PHP behaves this way? regards, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] secure document : solution wanted

2005-04-07 Thread Evert - Rooftop Solutions
n 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 Applicatio

[PHP] Possible problem with EXPAT functions

2005-03-28 Thread Evert | Rooftop Solutions
.. I just wanted to make sure it is one :) regards, Evert class sParser { function onStartElement($parser,$name,$attribs) { return false; } function onEndElement($parser,$name) { return false; } function onCDATA($parser,$data) {

Re: [PHP] world write access

2005-03-27 Thread Evert | Rooftop Solutions
re, so I need a good reason not to build in the auto-updater. I can tell the server is a dedicated server for my project, only has a webserver running (apache). Argue with me :) grt, Evert Johannes Findeisen wrote: Hello, It is generally not a good idea to make scripts to everybody writeable. I

[PHP] world write access

2005-03-27 Thread Evert - Rooftop Solutions
ipt your stuff right, 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.rooftopsolut

[PHP] auto appending .php extension

2005-03-25 Thread Evert | Rooftop Solutions
ewsgroups. I'm using slackware packages for php and apache. regards, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class and global

2005-03-19 Thread Evert - Rooftop Solutions
ch($array) { 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 [EMAI

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

2005-03-14 Thread Evert | Rooftop Solutions
a way to check when the next version is expected to be released. Thanx for your great work, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Imap and attachments

2005-03-11 Thread Evert | Rooftop Solutions
t's a big script, so I won't post it here) grt, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Imap and attachments

2005-03-10 Thread Evert | Rooftop Solutions
generated by a modern nokia (7650 I think) I additionaly found a problem calling imap_fetchbody with a non-existent msg number. This will result in a segfault. grt, Evert -- 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
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&#

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

[PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
thanks 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