I did some similar micro-benchmarking a while back, too:
http://www.garfieldtech.com/blog/magic-benchmarks
On Tuesday 08 April 2008, Jason Knight wrote:
> I've been running some benchmarks on popular PHP functions. I would like
> to get some input on them from the community. So far I have run t
epp-example from dns.be:
fp = fsockopen ($addr, $port , $errno, $errstr, $timeout);
return 0;
}
function readInteger()
{
$buf = fread($this->fp, 4);
if (strlen($buf) < 4)
{
echo "failed to read 4 bytes \n";
exit;
}
$b0 = ord($buf[0]);
$b1 = ord($buf[
Does nobody have any other input?
On Tue, Apr 8, 2008 at 12:52 PM, Jason Knight <[EMAIL PROTECTED]> wrote:
> I've been running some benchmarks on popular PHP functions. I would like
> to get some input on them from the community. So far I have run tests on
> Arrays and PHP5's SPL ArrayObject, a
Top postinng due to sendng from my cell phone...
I'd suggest you lookl at doing the ssl to the server ip address not the host
name, and from reading your other note, it looks like ssl: isnlt needed,
merely the name/ip of the server.
HTH,
Wolf
-Original Message-
From: Alan Willsher <[E
I believe you can accomplish the same thing by just putting this in:
register_shutdown_function('session_write_close');
On 4/10/08, paragasu <[EMAIL PROTECTED]> wrote:
> it looks fine to me. but i want to share one bad experience with sessions.
> the code i wrote work just fine on my testing se
it looks fine to me. but i want to share one bad experience with sessions.
the code i wrote work just fine on my testing server (please note, the
phpinfo is same with
my production server).
after days of figuring out why the session do not work. finally, i found the
solutions.
the solutions is to
tedd wrote:
[1] http://www.webbytedd.com/x/index.php
[2] http://sperling.com/x/index.php
Both of these demos have the exact same code; and are on the same
server; with exactly the same php-info -- so, why do they behave
differently re sessions?
Strange. I've run into issues whenever I use
The sockets extension is a much "lower" level interface to sockets
than the fsockets/stream_ functions in PHP.
Unlike with the aforementioned, with the sockets extension, you can't
just expect to magically get an ssl connection by using "ssl://".
Your problem is that the sockets extension has no
A co-worker and I were talking about this again today, and I stumbled
upon this crazy idea.
What if this is Google providing people it's own preferred hosting and
backend solutions in the hopes that people make some cool apps they
can easily just buy and not even have to convert to land in their o
Manuel Lemos wrote:
Hello,
Google App Engine was launched but it does not support PHP. This article
presents some ideas that can help Google adding PHP support sooner
rather than later.
http://www.phpclasses.org/blog/post/77-Google-App-Engine-needs-PHP-support.html
-1 Redundant :-)
--
PHP Ge
Hello,
Google App Engine was launched but it does not support PHP. This article
presents some ideas that can help Google adding PHP support sooner
rather than later.
http://www.phpclasses.org/blog/post/77-Google-App-Engine-needs-PHP-support.html
--
Regards,
Manuel Lemos
PHP professionals look
Shawn McKenzie wrote:
Dan wrote:
That would be a pretty interesting app to make. If you actually
followed Osborn's Brainstorming technique then you should be able to
develop a pretty cool real-time think tank where developers work in a
sort of chat room but with a place to post common code, w
Dan wrote:
That would be a pretty interesting app to make. If you actually
followed Osborn's Brainstorming technique then you should be able to
develop a pretty cool real-time think tank where developers work in a
sort of chat room but with a place to post common code, with markup,
share a vi
--- Alan Willsher <[EMAIL PROTECTED]> wrote:
> Hi how do you use socket_create with an ssl server
>
> ie I would do something like
>
> $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
> socket_bind($sock, $sourceip);
> socket_connect($sock, 'server.com', 2043);
>
> but if I do
>
> $sock =
On Thu, Apr 10, 2008 at 5:05 PM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Thu, Apr 10, 2008 at 4:29 PM, tedd <[EMAIL PROTECTED]> wrote:
> you might just dump out the session component of the php config on each
> site to ensure theyre the same.
>
on that last note, this could be useful,
-
On Thu, Apr 10, 2008 at 4:29 PM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> I'm stumped and in need of some expert explanation.
>
> I have prepared two demos (showing code) for your enjoyment:
>
> [1] http://www.webbytedd.com/x/index.php
> [2] http://sperling.com/x/index.php
>
> Both of these
Hi gang:
I'm stumped and in need of some expert explanation.
I have prepared two demos (showing code) for your enjoyment:
[1] http://www.webbytedd.com/x/index.php
[2] http://sperling.com/x/index.php
Both of these demos have the exact same code; and are on the same
server; with exactly the sam
Hi how do you use socket_create with an ssl server
ie I would do something like
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_bind($sock, $sourceip);
socket_connect($sock, 'server.com', 2043);
but if I do
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_bind($sock, $s
Dan <[EMAIL PROTECTED]> wrote:
> That would be a pretty interesting app to make. If you actually followed
> Osborn's Brainstorming technique then you should be able to develop a pretty
> cool real-time think tank where developers work in a sort of chat room but
> with a place to post com
That would be a pretty interesting app to make. If you actually followed
Osborn's Brainstorming technique then you should be able to develop a pretty
cool real-time think tank where developers work in a sort of chat room but
with a place to post common code, with markup, share a virtual whitebo
function sign_petition()
{
throw new Exception('I WANT PHP may use your email address to
personalize your experience on their website.');
}
try {
sign_petition();
} catch (Exception $e) {
echo 'No thank you: ', $e->getMessage(), "\n";
}
--
Homer: You know what?
Grampa: What?
Homer:
Thiago Pojda wrote:
Tina,
Is there any error message in php logs?
Can you reproduce manually what you're trying to do with PHP? I mean,
connect and put that file.
Enable E_ALL in PHP and try again.
I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL
issues.
Re
Paul van Brouwershaven wrote:
Have you seen the Google App Engine already, the guys from Google are
crazy! You now can host your application on the Google network,
including Big Table and GFS!
Ok, one problem... they currently only support Python for programming,
but the good news is that the
On Thu, Apr 10, 2008 at 1:05 AM, hce <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've installed lighty and php5 to a FC6 box for testing php code in my
> local machine, I set up www.mytest.com to the /etc/hosts. I can see a
> page of http://www.mytest.com/index.html, but a blank page to
> http://www.myte
Tina,
Is there any error message in php logs?
Can you reproduce manually what you're trying to do with PHP? I mean,
connect and put that file.
Enable E_ALL in PHP and try again.
I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL
issues.
Regards,
Atenciosamente,
Jason Norwood-Young wrote:
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote:
First post to this list! I'm trying to figure out how to evaluate a
string with a mathematical expression and get a result, but without
using eval() as I'm accepting user input into the string. I don't just
want a
What is 4 bytes ?
On Thu, Apr 10, 2008 at 3:35 PM, Paul van Brouwershaven <
[EMAIL PROTECTED]> wrote:
> don't forget to send the 4 bytes!
>
> Alan Willsher schreef:
>
> Hi im trying to connect to Nominets EPP server
> >
> > Details can be found here
> > http://www.nominet.org.uk/registrars/syste
Julian Kennedy schreef:
Looks like they extending their services to web hosting. Wonder when they'll
offer VPS accounts?
No they will not, you may upload your application. They have created a very nice system, but there
are some restrictions because of security Bigtable and GFS. But your appli
On Thursday 10 April 2008 16:32, Paul van Brouwershaven wrote:
> Have you seen the Google App Engine already, the guys from Google are
> crazy! You now can host your application on the Google network, including
> Big Table and GFS!
>
> Ok, one problem... they currently only support Python for progr
On Thu, Apr 10, 2008 at 4:54 AM, Luca Paolella <[EMAIL PROTECTED]> wrote:
> How do I install/activate the GD library with my existing PHP version? I'm
> quite sure it isn't already, since I got this error:
>
> Fatal error: Call to undefined function imagecreate() in
> /Volumes/Data/Users/luca/Libr
Quoting Robin Vickery <[EMAIL PROTECTED]>:
On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
Quoting Robin Vickery <[EMAIL PROTECTED]>:
> On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
>
> > Quoting Luca Paolella <[EMAIL PROTECTED]>:
> >
> >
> > > How do I install/activat
don't forget to send the 4 bytes!
Alan Willsher schreef:
Hi im trying to connect to Nominets EPP server
Details can be found here http://www.nominet.org.uk/registrars/systems/epp/
Im trying to send a login request the example can be found here
http://www.nominet.org.uk/registrars/systems/epp/l
Have you seen the Google App Engine already, the guys from Google are crazy! You now can host your
application on the Google network, including Big Table and GFS!
Ok, one problem... they currently only support Python for programming, but the good news is that
they will add more languages like P
On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> Quoting Robin Vickery <[EMAIL PROTECTED]>:
>
>
> > On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> >
> > > Quoting Luca Paolella <[EMAIL PROTECTED]>:
> > >
> > >
> > > > How do I install/activate the GD library with my existi
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote:
> > First post to this list! I'm trying to figure out how to evaluate a
> > string with a mathematical expression and get a result, but without
> > using eval() as I'm accepting user input into the string. I don't just
> > want addition, subtr
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote:
> > First post to this list! I'm trying to figure out how to evaluate a
> > string with a mathematical expression and get a result, but without
> > using eval() as I'm accepting user input into the string. I don't just
> > want addition, subt
First post to this list! I'm trying to figure out how to evaluate a
string with a mathematical expression and get a result, but without
using eval() as I'm accepting user input into the string. I don't just
want addition, subtraction, multiplication and division - I'd like to
take advantage of oth
Hi all
First post to this list! I'm trying to figure out how to evaluate a
string with a mathematical expression and get a result, but without
using eval() as I'm accepting user input into the string. I don't just
want addition, subtraction, multiplication and division - I'd like to
take advantage
Quoting Robin Vickery <[EMAIL PROTECTED]>:
On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
Quoting Luca Paolella <[EMAIL PROTECTED]>:
> How do I install/activate the GD library with my existing PHP version?
> I'm quite sure it isn't already, since I got this error:
>
> Fatal error:
On Thu, Apr 10, 2008 at 12:55 PM, Alain Roger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to do a little CMS for managing Newsletter for 1 of my customers.
> as i never worked on such thing in the past, i would be glad to have your
> feedback.
>
> basically, web site users are registered into DB.
Alain Roger wrote:
Hi,
I need to do a little CMS for managing Newsletter for 1 of my customers.
as i never worked on such thing in the past, i would be glad to have your
feedback.
basically, web site users are registered into DB.
my customer would like to send them a newsletter to promote new p
Hi,
I need to do a little CMS for managing Newsletter for 1 of my customers.
as i never worked on such thing in the past, i would be glad to have your
feedback.
basically, web site users are registered into DB.
my customer would like to send them a newsletter to promote new products and
services.
On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> Quoting Luca Paolella <[EMAIL PROTECTED]>:
>
>
> > How do I install/activate the GD library with my existing PHP version?
> > I'm quite sure it isn't already, since I got this error:
> >
> > Fatal error: Call to undefined function imagecr
Quoting Luca Paolella <[EMAIL PROTECTED]>:
How do I install/activate the GD library with my existing PHP version?
I'm quite sure it isn't already, since I got this error:
Fatal error: Call to undefined function imagecreate() in
/Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/ima
How do I install/activate the GD library with my existing PHP version?
I'm quite sure it isn't already, since I got this error:
Fatal error: Call to undefined function imagecreate() in /Volumes/Data/
Users/luca/Library/WebServer/Documents/reloadTest/image.php on line 6
Please forgive my igno
Ryan S wrote:
Hey everyone,
A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or
just me.
(My money is on the last one :p )
Here's what I am trying to do:
In a form I have a listbox with the values 1-5, and under the listbox i have a with the id of
"recips" (like
Hello,
on 04/09/2008 03:07 PM steve said the following:
>>> FastCGI is *the* way to run PHP, but I think Apache is not the
>>> platform for it anymore.
>> If need more than one server, Apache pre-forked model may limited.
>> Otherwise it is just fine. Other than that, I think there are some
>> fea
Hello,
on 04/09/2008 02:27 AM [EMAIL PROTECTED] said the following:
> Sir
> I want to create combo-boxes/list-boxes from a table which is available in
> MS-Sql server database. I have established connectivity with ms-sql server
> database using odbc.
> how can i create combo-boxes in my php scri
Hello,
on 04/06/2008 12:28 PM news.php.net said the following:
> Which are the good books for learning php?
Here you may find several PHP books that got good reviews:
http://www.phpclasses.org/reviews/latest/latest.html
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://
Hi,
I've installed lighty and php5 to a FC6 box for testing php code in my
local machine, I set up www.mytest.com to the /etc/hosts. I can see a
page of http://www.mytest.com/index.html, but a blank page to
http://www.mytest.com/index.php. I've run an command "php -l
index.php", the result was "No
50 matches
Mail list logo