Hi,
I use a (externally developed) library within my application which
used to work fine. However, after a recent update (which unfortunately
we can't roll back due to dependencies) I have crazy CPU loads - there
are ~20 cores in total on the webservers and they have gone from an
average
On Sat, 2009-01-17 at 20:45 +0100, Jochem Maas wrote:
Skip Evans schreef:
Tony Marston wrote:
It's NOT just so we can blast each other and show off our highly
dubiously assumed superiority.
If I was Robbert Cummings I'd nail you on your grammar at this point,
I don't want to steal his
Nathan Rixham wrote:
Per Jessen wrote:
Nathan Rixham wrote:
Tony Marston wrote:
If you really *need* to used a staticly typed language then don't
use PHP, and don't try to change PHP to match your needs.
why not?
Because your desired functionality is already satisfied by other
...
This may be of some use, enabling you to find the areas that are
taking longer than others:
http://www.phpguru.org/downloads/Timer/Timer.phps
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated January 17th)
--
PHP General Mailing List
Nathan Rixham wrote:
point is..
Java let's me easily do 70% of what I need to
PHP let's me easily do 95% of what I need to
I'm curious - can you list what the 25% are?
If we could get that 5% added then PHP would be perfect, not only that
but me and the rest of the team at work would be
Skip Evans s...@bigskypenguin.com wrote in message
news:49723137.2010...@bigskypenguin.com...
Wow, Tony, do you think in the future you could try to express yourself
with just a bit more civility and in a less condescending tone?
Nathan expressed some thoughts he had, politely, and when out
hi all,
I want to send email using SMTP Authentication with PHPMailer,
I searched more and more but I can't find anything of my problem
///
include_once('class.phpmailer.php');
include(class.smtp.php); // optional, gets called
Nathan Rixham nrix...@gmail.com wrote in message
news:49723749.4070...@gmail.com...
Tony Marston wrote:
Nathan Rixham nrix...@gmail.com wrote in message
a: Optional Static Typing
I'm finding an ever increasingly need to be able to staticly type
properties, parameters, return types etc (in
2009/1/18 shahrzad khorrami shahrzad.khorr...@gmail.com:
$mail-Port = 80;
Invalid mail port
--
WBR, Dmitrii
+375 29 40-LINUX
+375 29 60-LINUX
icq: 193-74-771
www.varvashenia.ru
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas joc...@iamjochem.com wrote in message
news:4972365b.4060...@iamjochem.com...
Daniel Brown schreef:
Well, since Nathan asked especially for the opinions of those who
would disagree with him, I thought all was well
On Sat, Jan 17, 2009 at 13:33, Tony Marston
I will be brief. Tony is a dick.
Peace Love,
Skip
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
news:49723137.2010...@bigskypenguin.com...
Wow, Tony, do you think in the future you could try to express yourself
with just a bit more civility and in a less
Hey all (except Tony),
I've been using dotProject for a few years now and have been
quite happy with it, and have written my own invoicing module,
and a few other mods for the way I track hours for
subcontractors, etc.
But it has trouble with MySQL 5 and from the Googling I've
done it
On Sun, Jan 18, 2009 at 3:16 AM, Alex Davies a...@davz.net wrote:
Hi,
I use a (externally developed) library within my application which
used to work fine. However, after a recent update (which unfortunately
we can't roll back due to dependencies) I have crazy CPU loads - there
are ~20 cores
Skip Evans s...@bigskypenguin.com wrote in message
news:49733d18.6080...@bigskypenguin.com...
I will be brief. Tony is a dick.
To quote your own words: There's just no need to insult other list members
like this.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Peace
There are a number on sourceforge.net that are worth looking at
Bastien
Sent from my iPod
On Jan 18, 2009, at 9:43 AM, Skip Evans s...@bigskypenguin.com wrote:
Hey all (except Tony),
I've been using dotProject for a few years now and have been quite
happy with it, and have written my own
You're right, and as soon as you apologize to Nathan for
calling him feeble minded (and promise to adjust your
attitude) I will apologize to you.
I also think it would be a good idea for you to address the
rest of the list and assure everyone you will try to be more
polite in the future.
Hey Pfffster all,
D'oh! Should have gone there first. Found this one that looks
interesting.
IT Project Guide- Project Management
http://sourceforge.net/projects/itpgpm/
Web based Client and Team project management tool. Utilizes
PHP, MySQL and JQuery. Has Company, Project, Task, Forum
Per Jessen wrote:
Nathan Rixham wrote:
Per Jessen wrote:
Nathan Rixham wrote:
Tony Marston wrote:
If you really *need* to used a staticly typed language then don't
use PHP, and don't try to change PHP to match your needs.
why not?
Because your desired functionality is already satisfied
$mail-Port = 80;
Invalid mail port
Further to that, the normal port for SMTP is 25.
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated January 17th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Nathan Rixham wrote:
You can't have your cake and eat it. You can't/shouldn't have strong
and loose typing in the same language. In my opinion.
Instead of providing programmers with a black or white choice between
static or dynamic typing, we should instead strive for softer type
Per Jessen wrote:
Nathan Rixham wrote:
point is..
Java let's me easily do 70% of what I need to
PHP let's me easily do 95% of what I need to
I'm curious - can you list what the 25% are?
it lacks dynamic typing, the ability to procedural code and its
precompiled not interpreted; all in a
Per Jessen wrote:
Nathan Rixham wrote:
You can't have your cake and eat it. You can't/shouldn't have strong
and loose typing in the same language. In my opinion.
Instead of providing programmers with a black or white choice between
static or dynamic typing, we should instead strive for
Nathan Rixham wrote:
If we could get that 5% added then PHP would be perfect, not only
that but me and the rest of the team at work would be able to make
our multi-million pound enterprise projects in PHP instead of java;
as would so many others (that can't be a bad thing for PHP)
But why?
At 10:36 AM -0600 1/16/09, Shawn McKenzie wrote:
mysql_num_rows() may make more sense, however mysql_affected_rows() will
work the same with a select. The PHP mysql_affected_rows() calls the
MySQL mysql_affected_rows(), which states:
For SELECT statements, mysql_affected_rows() works like
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
news:49723137.2010...@bigskypenguin.com...
Wow, Tony, do you think in the future you could try to express yourself
with just a bit more civility and in a less condescending tone?
Nathan expressed some thoughts he had,
Nathan Rixham nrix...@gmail.com wrote in message
news:497354c3.9090...@gmail.com...
Per Jessen wrote:
Nathan Rixham wrote:
point is..
Java let's me easily do 70% of what I need to
PHP let's me easily do 95% of what I need to
I'm curious - can you list what the 25% are?
it lacks
Nathan Rixham wrote:
Per Jessen wrote:
Nathan Rixham wrote:
You can't have your cake and eat it. You can't/shouldn't have
strong
and loose typing in the same language. In my opinion.
Instead of providing programmers with a black or white choice
between static or dynamic typing, we
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
news:49723137.2010...@bigskypenguin.com...
Wow, Tony, do you think in the future you could try to express yourself
with just a bit
Per Jessen schreef:
Nathan Rixham wrote:
Per Jessen wrote:
Nathan Rixham wrote:
You can't have your cake and eat it. You can't/shouldn't have
strong
and loose typing in the same language. In my opinion.
Instead of providing programmers with a black or white choice
between static or
Tony Marston wrote:
Nathan Rixham nrix...@gmail.com wrote in message
news:497354c3.9090...@gmail.com...
Per Jessen wrote:
Nathan Rixham wrote:
point is..
Java let's me easily do 70% of what I need to
PHP let's me easily do 95% of what I need to
I'm curious - can you list what the 25% are?
Tony Marston wrote:
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
news:49723137.2010...@bigskypenguin.com...
Wow, Tony, do you think in the future you could try to express yourself
Jochem Maas wrote:
Per Jessen schreef:
Nathan Rixham wrote:
Per Jessen wrote:
Nathan Rixham wrote:
You can't have your cake and eat it. You can't/shouldn't have
strong
and loose typing in the same language. In my opinion.
Instead of providing programmers with a black or white choice
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
news:49723137.2010...@bigskypenguin.com...
Wow, Tony, do you think in the future
Nathan Rixham nrix...@gmail.com wrote in message
news:49737051.9080...@gmail.com...
Tony Marston wrote:
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
Stuart stut...@gmail.com wrote in message
news:a5f019de0901181015g5e2db21fn2782839ab9648...@mail.gmail.com...
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip Evans
Tony Marston wrote:
Nathan Rixham nrix...@gmail.com wrote in message
news:49737051.9080...@gmail.com...
Tony Marston wrote:
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip Evans s...@bigskypenguin.com wrote in message
Tony Marston wrote:
Stuart stut...@gmail.com wrote in message
news:a5f019de0901181015g5e2db21fn2782839ab9648...@mail.gmail.com...
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
Nathan Rixham nrix...@gmail.com wrote in message
news:497366f5.2030...@gmail.com...
Tony Marston wrote:
Skip
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
In case you have forgotten what this thread is about, the OP gave a list of
suggested improvements to PHP and asked for opinions. I merely gave my
opinion that these improvements would be a waste of time as they would add
nothing to the
Hi All,
preface: Having discussed at great length previously and probably
completely misnaming and thus misleading the conversation here goes again.
question: Would anybody else like to see, or feel the need for,
*optional* type hinting of variables and class properties in PHP?
examples
Hi Eric, Richard,
Thank-you for your suggestions. I had already tried xdebug - the problem
that I had is that because of the CPU overload it was showing pretty much
everything as screwed! However by using absolute CPU time measures I managed
to work out what method was involved, and on removing
Merlin Morgenstern wrote:
Hi guys..
here comes the last question for today :-)
Everything works fine. My Apps run beautiful with php5. The only thing
now left which does not work ist phpmyadmin. I googled the error msg,
but could only find servers which had the same problem. No solution to
Skip Evans wrote:
Hey all (except Tony),
treat others how you want them to treat you *passes all his biscuits* -
yet lol.
I've been using dotProject for a few years now and have been quite happy
with it, and have written my own invoicing module, and a few other mods
for the way I track
Nathan Rixham schreef:
Hi All,
preface: Having discussed at great length previously and probably
completely misnaming and thus misleading the conversation here goes again.
question: Would anybody else like to see, or feel the need for,
*optional* type hinting of variables and class
I see a problem with this. Scalars are automatically casted by PHP based on
a set of rules. In case of a scalar type hint, would jo issue an error, or
make the automatic type cast? both approaches have there advantages, but
the automatic cast, would go better with the actual features of the
Jochem Maas wrote:
Nathan Rixham schreef:
Hi All,
preface: Having discussed at great length previously and probably
completely misnaming and thus misleading the conversation here goes again.
question: Would anybody else like to see, or feel the need for,
*optional* type hinting of variables
Stuart stut...@gmail.com wrote in message
news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com...
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
In case you have forgotten what this thread is about, the OP gave a list
of
suggested improvements to PHP and asked for
Török Alpár wrote:
I see a problem with this. Scalars are automatically casted by PHP based on
a set of rules. In case of a scalar type hint, would jo issue an error, or
make the automatic type cast? both approaches have there advantages, but
the automatic cast, would go better with the
Tony Marston wrote:
Stuart stut...@gmail.com wrote in message
news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com...
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
In case you have forgotten what this thread is about, the OP gave a list
of
suggested improvements to PHP and
2009/1/19 Nathan Rixham nrix...@gmail.com
Török Alpár wrote:
I see a problem with this. Scalars are automatically casted by PHP based
on
a set of rules. In case of a scalar type hint, would jo issue an error,
or
make the automatic type cast? both approaches have there advantages, but
Hey Nathan and all, (even Tony, kisses big T!)
I decided, rather quickly, on this one.
http://itprojectguide.org/
It's dotProject based with apparent upgrades to work with
MySQL 5 and jQuery so that it has some nice AJAX functionality
where dP would keep you waiting on whole page refreshes.
Nathan Rixham nrix...@gmail.com wrote in message
news:4973b738.3010...@gmail.com...
Tony Marston wrote:
Stuart stut...@gmail.com wrote in message
news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com...
2009/1/18 Tony Marston t...@marston-home.demon.co.uk:
In case you have
Graham Anderson schreef:
Hi
I am having problems getting GD to convert a transparent PNG-8 to a
transparent GIF
The below WILL produce a GIF...but leaves a white background
# Convert the PreExisting PNG Image to a GIF
$img = imagecreatefrompng($pngPath);
# Set the GIF to be
On Sun, Jan 18, 2009 at 2:00 PM, Alex Davies a...@davz.net wrote:
Hi Eric, Richard,
Thank-you for your suggestions. I had already tried xdebug - the problem
that I had is that because of the CPU overload it was showing pretty much
everything as screwed! However by using absolute CPU time
I've just released the first public version of xLog, a PHP extension that
allows extended logging of PHP errors, including Fatal errors. Output
typically includes referral, GET values, URL, and a full backtrace. Additional
information can be included via custom variables by the developer at
On 16/1/09 23:41, Shawn McKenzie wrote:
Again, I say that it won't work on URLs with spaces, like my web
page.html. When I get a minute I'll fix it. I thought spaces in URLs
weren't valid markup, but it seems to validate.
Some small points of information:
An HTML4 validator will only check
Hi everyone,
I am working on putting together my Curriculum Vitae (Cv/Resume for
those not the US and not in the academic world) and wanted to get some
opinions on how you would list a long term project? You know,
something like where you may only work a little each month but are
Depending on the goal, using the base tag in the head section might help:
http://www.w3.org/TR/REC-html40/struct/links.html#h-12.4
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Edmund Hertle wrote:
Hey,
I want to parse a href-attribute in a given String
Thanks for the reply
I tried the example (below) from the link and still get a gif with
white background. Maybe, you can only do this with PNG-24s...not
PNG-8s?
Anyone else know if this can work?
# Convert the PreExisting PNG Image to a GIF
$img = imagecreatefrompng($pngPath);
Hi, using ob_gzhandler produces a 5-8 characters,
�“×2���, before the document header.
Using ob_start() does not produce the text garbage.
Is there a way to get ob_start(ob_gzhandler) to behave?
Many thanks in advance
Abridged Code:
ob_start(ob_gzhandler); //produces initial text
I got it to work :)
Like you had recommended, I found a script in http://php.net/imagecolortransparent
from: fmkaiba at optonline dot net
07-Feb-2008 08:05. The function is called, createthumb
Cheers
Graham
On Jan 18, 2009, at 4:46 PM, Jochem Maas wrote:
Graham Anderson schreef:
Hi
I am
Is there a way to specify an already existing file to use as the
background, instead of a specific color, such as what
http://ca.php.net/manual/en/function.imagefill.php illustrates? Ron
Maybe I'm asking for trouble here, but, is there any way to make PHP
5.2.8 understand the old $HTTP variables? Like:
$HTTP_SESSION_VARS
$HTTP_GET_VARS
$HTTP_POST_VARS
$HTTP_SESSION_VARS
$HTTP_COOKIE_VARS
etc., etc.
I have an old application for which development has stopped back
$HTTP_GET_VARS = $_GET;
etc. :)
On Sun, Jan 18, 2009 at 9:12 PM, Ashley M. Kirchner ash...@pcraft.com wrote:
Maybe I'm asking for trouble here, but, is there any way to make PHP 5.2.8
understand the old $HTTP variables? Like:
$HTTP_SESSION_VARS
$HTTP_GET_VARS
$HTTP_POST_VARS
mike wrote:
$HTTP_GET_VARS = $_GET;
etc. :)
I know what they are. I'm not about to change a couple of thousand
lines of someone else's code unless there's no other way. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Jan 18, 2009 at 9:18 PM, Ashley M. Kirchner ash...@pcraft.com wrote:
mike wrote:
$HTTP_GET_VARS = $_GET;
etc. :)
I know what they are. I'm not about to change a couple of thousand lines
of someone else's code unless there's no other way. :)
no i mean define that at the top
I tested with port 25, but it didn't work.
I confuse, I don't know what problem is
it works well with gmail...
thanks for reply :)
shahrzad khorrami wrote:
I tested with port 25, but it didn't work.
I confuse, I don't know what problem is
it works well with gmail...
http://phpmailer.codeworxtech.com/index.php?pg=sfp=ml
The phpmailer users/developers will be able to help you debug this better.
--
Postgresql php
thanks chris :)
On Sunday 18 January 2009 11:12:28 pm Ashley M. Kirchner wrote:
Maybe I'm asking for trouble here, but, is there any way to make PHP
5.2.8 understand the old $HTTP variables? Like:
$HTTP_SESSION_VARS
$HTTP_GET_VARS
$HTTP_POST_VARS
$HTTP_SESSION_VARS
$HTTP_COOKIE_VARS
etc., etc.
Larry Garfield wrote:
http://us3.php.net/manual/en/ini.core.php#ini.register-long-arrays
Bingo. That's what I needed.
Although you should probably take the time to upgrade the app anyway, as those
variables are deprecated and won't be around forever.
Yeah, that would be nice, except
70 matches
Mail list logo