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
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
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
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
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
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
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
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
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
;
}
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
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)
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
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
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
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
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
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
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
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
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
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
).
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
in Finder
grt,
Evert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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
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
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
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
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
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
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
r input on this,
Evert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
.. 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, 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
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
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
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
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
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
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
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
,
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
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
69 matches
Mail list logo