Hi gang:
I'm using the class.phpmailer.php code to send email -- it works neat -- very
classy (no pun intended).
I can send an email from my sperling.com domain and it arrives almost
immediately.
However, when I use the exact same code (except for the FROM address) from
kvyv.com (another
Daevid Vincent dae...@daevid.com hat am 22. Juni 2012 um 04:27 geschrieben:
Huh? Why is this equal??!
http://de2.php.net/manual/en/language.types.type-juggling.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Huh? Why is this equal??!
php $id = '444-4';
php var_dump($id, intval($id));
string(9) 444-4
int(444)
php if (intval($id) == $id) echo 'equal'; else echo 'not equal';
equal
or in other words:
php if (intval('444-4') ==
On 12-06-21 10:27 PM, Daevid Vincent wrote:
Huh? Why is this equal??!
php $id = '444-4';
php var_dump($id, intval($id));
string(9) 444-4
int(444)
php if (intval($id) == $id) echo 'equal'; else echo 'not equal';
equal
or in other
Using == will compare the two values after type juggling is performed. === will
compare based on value and type (identical).
PHP Will type juggle the string to an integer.
Your if/else is just like saying:
php if (444 == 444) echo 'equal'; else echo 'not equal';
equal
--
Mike Mackintosh
PHP
I'm currently seeing this in 5.3.10, although it's an intermittent
problem I've seen earlier versions too. Occasionally I get a maximum
execution time error when calling fclose() on a parallel port file
descriptor. Code looks like this:
$fp = fopen('/dev/lp0','w');
if ($fp){
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
The script below is designed to be able to WHILE it's way through
a MySQL query result set, and process each row.
However, it runs out of memory a little after a quarter million
rows. The schema fields total to about 200 bytes per row, so
On Fri, Oct 28, 2011 at 12:38 PM, Jim Long p...@umpquanet.com wrote:
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
The script below is designed to be able to WHILE it's way through
a MySQL query result set, and process each row.
However, it runs out of memory a little after a
On Fri, Oct 28, 2011 at 01:21:36PM -0400, Eric Butera wrote:
On Fri, Oct 28, 2011 at 12:38 PM, Jim Long p...@umpquanet.com wrote:
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
The script below is designed to be able to WHILE it's way through
a MySQL query result set, and process
Original Message
From: Eric Butera eric.but...@gmail.com
To: Jim Long p...@umpquanet.com
Cc: php-general@lists.php.net
Sent: Fri, Oct 28, 2011, 1:22 PM
Subject: Re: [PHP] Why does this script run out of memory?
On Fri, Oct 28, 2011 at 12:38 PM, Jim Long p...@umpquanet.com wrote:
I'm
On Fri, 2011-10-28 at 13:32 -0400, James wrote:
Original Message
From: Eric Butera eric.but...@gmail.com
To: Jim Long p...@umpquanet.com
Cc: php-general@lists.php.net
Sent: Fri, Oct 28, 2011, 1:22 PM
Subject: Re: [PHP] Why does this script run out of memory?
On Fri, Oct 28
On Fri, Oct 28, 2011 at 01:32:32PM -0400, James wrote:
On Fri, Oct 28, 2011 at 12:38 PM, Jim Long p...@umpquanet.com wrote:
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
The script below is designed to be able to WHILE it's way through
a MySQL query result set, and process
If all you want to do is count the records, why are you not letting sql do
it for you instead of doing the while loop? That's all that script is
doing, if that is the exact code you ran.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Oct 28, 2011 at 14:05, Jim Long p...@umpquanet.com wrote:
the tail end of the output becomes:
274695 134202232
274696 134202672
274697 134203112
274698 134203552
274699 134203992
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
On Fri, Oct 28, 2011 at 13:25, Jim Long p...@umpquanet.com wrote:
Eric:
Thanks for your reply.
process row here is a comment. It doesn't do anything. The
script, exactly as shown, runs out of memory, exactly as shown.
My response presumes that you're planning on placing something
On Fri, Oct 28, 2011 at 03:24:37PM -0400, Jim Giner wrote:
If all you want to do is count the records, why are you not letting sql do
it for you instead of doing the while loop? That's all that script is
doing, if that is the exact code you ran.
Hi, Jim.
Thank you for replying.
One of
On Fri, Oct 28, 2011 at 3:29 PM, Daniel Brown danbr...@php.net wrote:
On Fri, Oct 28, 2011 at 13:25, Jim Long p...@umpquanet.com wrote:
Eric:
Thanks for your reply.
process row here is a comment. It doesn't do anything. The
script, exactly as shown, runs out of memory, exactly as shown.
On Fri, Oct 28, 2011 at 16:21, Jim Long p...@umpquanet.com wrote:
I will try experimenting with Daniel's idea of unbuffered
queries, but my understanding is that while an unbuffered result
resource is in use, no other SQL transactions can be conducted.
Maybe I can get around that by using one
On Fri, Oct 28, 2011 at 03:42:48PM -0400, Eric Butera wrote:
On Fri, Oct 28, 2011 at 3:29 PM, Daniel Brown danbr...@php.net wrote:
On Fri, Oct 28, 2011 at 13:25, Jim Long p...@umpquanet.com wrote:
Eric:
Thanks for your reply.
process row here is a comment. ??It doesn't do anything.
On Fri, Oct 28, 2011 at 9:38 AM, Jim Long p...@umpquanet.com wrote:
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
Jim,
Installed from packages or standard port tree build? Did you do any tweak
for the ports build? Any special compiler parameters in your make.conf?
I've noticed
On Fri, Oct 28, 2011 at 1:38 PM, Jim Long p...@umpquanet.com wrote:
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
The script below is designed to be able to WHILE it's way through
a MySQL query result set, and process each row.
However, it runs out of memory a little after a
On Fri, Oct 28, 2011 at 18:13, Paul Halliday paul.halli...@gmail.com wrote:
Whats the difference between fetch_assoc and fetch_row?
I use:
while ($row = mysql_fetch_row($theQuery)) {
doCartwheel;
}
on just under 300 million rows and nothing craps out. I have
memory_limit set to 4GB
On Fri, Oct 28, 2011 at 02:57:02PM -0700, Tommy Pham wrote:
On Fri, Oct 28, 2011 at 9:38 AM, Jim Long p...@umpquanet.com wrote:
I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55.
Jim,
Installed from packages or standard port tree build? Did you do any tweak
for the ports build?
On Fri, Oct 28, 2011 at 7:19 PM, Daniel Brown danbr...@php.net wrote:
On Fri, Oct 28, 2011 at 18:13, Paul Halliday paul.halli...@gmail.com wrote:
Whats the difference between fetch_assoc and fetch_row?
I use:
while ($row = mysql_fetch_row($theQuery)) {
doCartwheel;
}
on just under 300
On Fri, Oct 28, 2011 at 06:19:56PM -0400, Daniel Brown wrote:
On Fri, Oct 28, 2011 at 18:13, Paul Halliday paul.halli...@gmail.com wrote:
Whats the difference between fetch_assoc and fetch_row?
I use:
while ($row = mysql_fetch_row($theQuery)) {
? ?doCartwheel;
}
on just under
On Fri, Oct 28, 2011 at 18:48, Jim Long p...@umpquanet.com wrote:
I'm not seeing any numeric keys in my mysql_fetch_assoc() arrays.
You're absolutely correct, that's my mistake: substitute
mysql_fetch_row() for mysql_fetch_assoc(). Duh.
Time to call it a week
--
/Daniel P. Brown
I had a spider written in PHP long ago. I had similar problems.
because there were millions of rows of urls and I was fetching them in
one single query. See inline, could this modification help you. Please
test.
On Fri, Oct 28, 2011 at 10:38 PM, Jim Long p...@umpquanet.com wrote:
I'm running
For example when I do:
strlen(array(1,2,3));
php shows: Warning: strlen() expects parameter 1 to be string, array
given in...
but when I do:
count('string');
It simply returns 1 like nothing happened. I would expect such
behavior if I write:
count((array)'string')
but otherwise such
Le 16/08/2011 16:29, rs...@live.com a écrit :
For example when I do:
strlen(array(1,2,3));
php shows: Warning: strlen() expects parameter 1 to be string, array
given in...
but when I do:
count('string');
It simply returns 1 like nothing happened. I would expect such
behavior if I
Le 16/08/2011 16:32, Florian Lemaitre a écrit :
Le 16/08/2011 16:29, rs...@live.com a écrit :
For example when I do:
strlen(array(1,2,3));
php shows: Warning: strlen() expects parameter 1 to be string, array
given in...
but when I do:
count('string');
It simply returns 1 like nothing
Hello Florian,
Tuesday, August 16, 2011, 4:32:39 PM, you wrote:
manual : function.count.php
Returns the number of elements in/var/. If/var/is not an array or an
object with implementedCountable
http://www.php.net/manual/en/class.countable.phpinterface,/1/will be
returned. There is one
Le 16/08/2011 16:50, rs...@live.com a écrit :
Hello Florian,
Tuesday, August 16, 2011, 4:32:39 PM, you wrote:
manual : function.count.php
Returns the number of elements in/var/. If/var/is not an array or an
object with implementedCountable
Hi
I've installed pdt and zend debugger.
But when I start debugging as web page it takes a long time to start
the debugging for each page. Browser remains in waiting status for
farther than 10 or 20 seconds before loading a page. But after that
debugging seems to be comfortable. I think there is a
For needing a constants=array, I have to use
'public static $a = array(...)'
instead.
Why the language could not relax the restriction of constants?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday, 30 April 2011 at 10:51, Walkinraven wrote:
For needing a constants=array, I have to use
'public static $a = array(...)'
instead.
Why the language could not relax the restriction of constants?
As I understand it constants must be declarations not evaluations because
they're
Original message
From: Walkinraven walkinra...@gmail.com
To: php-general@lists.php.net
Date created: , 12:51:15 PM
Subject: [PHP] Why Constants could Not be Array?
For needing a constants=array, I have to use
'public static $a = array(...)'
instead.
Why the language
://3ft9.com/
Original message
From: Walkinraven walkinra...@gmail.com
To: php-general@lists.php.net
Date created: , 12:51:15 PM
Subject: [PHP] Why Constants could Not be Array?
For needing a constants=array, I have to use
'public static $a = array
Feln, Richard, Jim,
Thank you for responding.
I understand now that the problem wasn't with variable scope, but with
my lack of understanding of what array_walk_recursive returns.
Thank you all for your explanations.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To
PHP users,
I obviously don't understand what array_walk_recursive does.
Can someone break down in simple terms why the following doesn't work?
- - -
$karamohOutput['test'] = ;
function test_print($item, $key)
{
return $key holds $item\n;
}
$karamohOutput['test'] .=
Hi,
How does the input array look like (the contents of the $karamohArray
variable) ? Is your script generating any errors? What do you expect to
happen when you call array_walk_recursive?
On Thu, Feb 24, 2011 at 1:01 PM, Dave M G mar...@autotelic.com wrote:
PHP users,
I obviously don't
FeIn,
Thank you for responding.
what did you expect to happen when you call array_walk_recursive?
What I don't understand is why it did not append to the string as it
walked through each key/value pair.
It seems like even though the variable inside the function called by
Hi,
Well, first array_walk_recursive returns a boolean so what you are doing in
you script is append a boolean (true or false) that will be converted to
string. So if array_walk_recursive will return true you will have the string
1 in $karamohOutput['test'], and if array_walk_recursive will
On 24 February 2011 15:15, Dave M G mar...@autotelic.com wrote:
FeIn,
Thank you for responding.
what did you expect to happen when you call array_walk_recursive?
What I don't understand is why it did not append to the string as it
walked through each key/value pair.
It seems like even
On 2/24/2011 3:01 AM, Dave M G wrote:
PHP users,
I obviously don't understand what array_walk_recursive does.
Can someone break down in simple terms why the following doesn't work?
- - -
$karamohOutput['test'] = ;
function test_print($item, $key)
{
return $key holds $item\n;
http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/
I'm still pretty new to PHP. Why the hate for PEAR? I've used a couple of PEAR
modules without any issues.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Tue, Nov 16, 2010 at 11:54, Hansen, Mike mike.han...@atmel.com wrote:
http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/
I'm still pretty new to PHP. Why the hate for PEAR? I've used a couple of
PEAR modules without any issues.
Some of the PEAR
On Tue, 16 Nov 2010 09:54:30 -0700
Hansen, Mike mike.han...@atmel.com wrote:
http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/
I'm still pretty new to PHP. Why the hate for PEAR? I've used a
couple of PEAR modules without any issues.
The few times I have
-Original Message-
From: Hansen, Mike
Sent: Tuesday, November 16, 2010 10:24 AM
To: 'Daniel Brown'
Subject: RE: [PHP] Why the PEAR hate?
-Original Message-
From: paras...@gmail.com [mailto:paras...@gmail.com] On
Behalf Of Daniel Brown
Some of the PEAR stuff
On 16 November 2010 17:25, Hansen, Mike mike.han...@atmel.com wrote:
-Original Message-
From: Hansen, Mike
Sent: Tuesday, November 16, 2010 10:24 AM
To: 'Daniel Brown'
Subject: RE: [PHP] Why the PEAR hate?
-Original Message-
From: paras...@gmail.com [mailto:paras
On Tue, Nov 16, 2010 at 12:25, Hansen, Mike mike.han...@atmel.com wrote:
Is PEAR supposed to be the CPAN for PHP, or is there another repository of
PHP modules that is used by the typical PHP developer?
PEAR is to PHP what CPAN is to Perl, yes but there's really no
such thing as PHP
On Tue, 2010-11-16 at 10:25 -0700, Hansen, Mike wrote:
-Original Message-
From: Hansen, Mike
Sent: Tuesday, November 16, 2010 10:24 AM
To: 'Daniel Brown'
Subject: RE: [PHP] Why the PEAR hate?
-Original Message-
From: paras...@gmail.com [mailto:paras...@gmail.com
On 12 June 2010 01:17, Daevid Vincent dae...@daevid.com wrote:
I'm trying to clean up some code and have been looking at error_log output
and they all look like this:
[11-Jun-2010 23:04:54] font color='red'bIn
/var/www/my_notifications.php, line 40: WARNING/b
Invalid argument supplied for
On 12 June 2010 11:23, Peter Lind peter.e.l...@gmail.com wrote:
On 12 June 2010 01:17, Daevid Vincent dae...@daevid.com wrote:
I'm trying to clean up some code and have been looking at error_log output
and they all look like this:
[11-Jun-2010 23:04:54] font color='red'bIn
I'm trying to clean up some code and have been looking at error_log output
and they all look like this:
[11-Jun-2010 23:04:54] font color='red'bIn
/var/www/my_notifications.php, line 40: WARNING/b
Invalid argument supplied for foreach()
/font
I can't figure out:
[a] why the logs are in
I was wondering why CURLOPT_FOLLOWLOCATION requires open_basedir and
safe_mode to be turned off.
The following was found in the
changelog(http://www.php.net/ChangeLog-5.php):
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode
are enabled. (Stefan E., Ilia)
Also I read
Hi,
I was wondering why CURLOPT_FOLLOWLOCATION requires open_basedir and
safe_mode to be turned off.
The following was found in the changelog(http://www.php.net/ChangeLog-5.php):
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled. (Stefan E., Ilia)
I'm
I can't see any conceivable benefit to this restriction when using
open_basedir, as I thought that related to the local file system - unless CURL
can use file:// URLs to access the local system?
That's the problem.
I always use open_basedir (not all the sites on my servers are safe
enough).
-function.php
It's a known problem but I can't see why this can't be fixed
From: Ashley Sheridan a...@ashleysheridan.co.uk
To: Raymond Irving xwis...@yahoo.com
Cc: PHP-General List php-general@lists.php.net
Sent: Thu, November 5, 2009 6:09:19 AM
Subject: Re: [PHP] Why
On 8/26/09 10:08 AM, tedd tedd.sperl...@gmail.com wrote:
I had a client say to me once If you're so smart, then why aren't
you rich?
how about: i'm smart enough that i know not to waste my allotted time on
this planet amassing riches.
i know plenty of rich people, many of whom earned their
Hi,
time is really what i want more of.
Personally I'd settle for a Ferrari. Or two. It would be hard, but I
think I could just about manage.
--
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 8th August)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller
Richard Heyes wrote:
Hi,
time is really what i want more of.
Personally I'd settle for a Ferrari. Or two. It would be hard, but I
think I could just about manage.
Might look nice in your driveway...
But without the time to drive it... :|
;)
--
http://www.interjinn.com
Application and
Hi,
time is really what i want more of.
Personally I'd settle for a Ferrari. Or two. It would be hard, but I
think I could just about manage.
Might look nice in your driveway...
But without the time to drive it... :|
;)
I actually don't have a driving license either... :-/
--
Richard
On Aug 26, 2009, at 1:23 PM, Tom Worster wrote:
On 8/26/09 10:08 AM, tedd tedd.sperl...@gmail.com wrote:
I had a client say to me once If you're so smart, then why aren't
you rich?
how about: i'm smart enough that i know not to waste my allotted
time on
this planet amassing riches.
i
2009/7/19 Paul M Foster pa...@quillandmouse.com:
On Sun, Jul 19, 2009 at 07:18:34PM +0100, Stuart wrote:
2009/7/19 Paul M Foster pa...@quillandmouse.com:
On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote:
You do realize that PHP does not parse HTML files, right? The web server
2009/7/19 Jim Lucas li...@cmsws.com:
Govinda wrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over this
already in the past.. but it is eluding me just now..
I can't figure out why files with the .html extension ARE being parsed by
PHP when they are in the
On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote:
You do realize that PHP does not parse HTML files, right? The web server
does that. In fact, the web server also parses PHP files, using a
different library.
Kindly elaborate If you are saying that PHP cant parse files with
On Sun, 2009-07-19 at 14:07 -0400, Paul M Foster wrote:
On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote:
You do realize that PHP does not parse HTML files, right? The web server
does that. In fact, the web server also parses PHP files, using a
different library.
Kindly
2009/7/19 Paul M Foster pa...@quillandmouse.com:
On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote:
You do realize that PHP does not parse HTML files, right? The web server
does that. In fact, the web server also parses PHP files, using a
different library.
Kindly elaborate If you
Hi all,
..sitting here thinking this is so easy, and I must have been over
this already in the past.. but it is eluding me just now..
I can't figure out why files with the .html extension ARE being parsed
by PHP when they are in the main doc root dir/, or in one subdirectory
down from
On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote:
On Sat, Jul 18, 2009 at 7:01 PM, Govinda
govinda.webdnat...@gmail.com wrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over
this already in the past.. but it is eluding me just now..
I can't figure out why
On Sat, Jul 18, 2009 at 7:54 PM, Govinda govinda.webdnat...@gmail.comwrote:
On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote:
On Sat, Jul 18, 2009 at 7:01 PM, Govinda govinda.webdnat...@gmail.comwrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over this
On Sat, Jul 18, 2009 at 7:01 PM, Govinda govinda.webdnat...@gmail.comwrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over this
already in the past.. but it is eluding me just now..
I can't figure out why files with the .html extension ARE being parsed by
PHP
On Sat, Jul 18, 2009 at 06:01:14PM -0600, Govinda wrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over
this already in the past.. but it is eluding me just now..
I can't figure out why files with the .html extension ARE being parsed
by PHP when they are in the
i never used x-mapp-php5, but most of a forums say it is specific to
1and1 hosting service. php recommends application/x-httpd-php
http://us2.php.net/manual/en/install.unix.apache2.php
try adding AddType application/x-httpd-php .html in your root htaccess
if that dosent help you'll have to add
Just add this to your root .htaccess
AddType x-mapp-php5 .html
Thanks Adam. But still no luck. I did add that line to
the .htaccess file in my doc root, but my file.html in subdir/ is
still not being parsed by PHP.
??
Try to put that same line of .htaccess into the sub directory. Your
You do realize that PHP does not parse HTML files, right? The web
server
does that. In fact, the web server also parses PHP files, using a
different library.
I understand. I just was saying it that way. Actually I rarely think
too deeply about that specifically, but now that you pointed
Govinda wrote:
Hi all,
..sitting here thinking this is so easy, and I must have been over this
already in the past.. but it is eluding me just now..
I can't figure out why files with the .html extension ARE being parsed
by PHP when they are in the main doc root dir/, or in one subdirectory
Sorry this is isn't good 'ninja' material.. but I gotta start where I
am.
this:
echo 'is set (EditExistingClient) ='. isset($EditExistingClient).br /
\n;
is returning:
is set (EditExistingClient) =1br /
but this, later down the page:
elseif ((isset($EditExistingClient)) ||
Govinda wrote:
Sorry this is isn't good 'ninja' material.. but I gotta start where I am.
this:
echo 'is set (EditExistingClient) ='. isset($EditExistingClient).br
/\n;
I realize this is after the fact, but...
The above does not indicate WHAT it is set too. Just that it is set.
it
I realize this is after the fact, but...
The above does not indicate WHAT it is set too. Just that it is set.
it could be set to /null/, FALSE, or 0 and they would all return
false,
and fail, in your if condition later on.
I understand. I appreciate your taking the time to explain
2009/7/15 Govinda govinda.webdnat...@gmail.com:
Sorry this is isn't good 'ninja' material.. but I gotta start where I am.
this:
echo 'is set (EditExistingClient) ='. isset($EditExistingClient).br /\n;
is returning:
is set (EditExistingClient) =1br /
but this, later down the page:
elseif
Oops, clearly too early in the morning to be looking at code. Sorry.
-Stuart
2009/7/16 Stuart stut...@gmail.com:
2009/7/15 Govinda govinda.webdnat...@gmail.com:
Sorry this is isn't good 'ninja' material.. but I gotta start where I am.
this:
echo 'is set (EditExistingClient) ='.
this code:
?php
$testOutput = shell_exec(ls);
$where2cd2='testDir/';
$firstCMD=cd $where2cd2;
$firstOutput = shell_exec($firstCMD);
// $firstOutput = shell_exec('cd testDir/');
$testOutput2 = shell_exec(ls);
$secondCMD='ln -s
Make sure that:
- The user executing the script (apache I presume) has execute
permissions on ls and ln binaries.
- The user executing the script has write persmissions on the
directory you are trying to write, and read permissions where you do
ls.
- This will probably help: put the full binary
Repost as I got zero replies. Does anyone know why this is? Seems like a bug
to me, or at least should be documented as such whacky behavior. Are there
any solutions to this or work-arounds?
-Original Message-
From: Daevid Vincent [mailto:dae...@daevid.com]
Sent: Thursday, June 18, 2009
On Mon, Jun 22, 2009 at 2:13 PM, Daevid Vincent dae...@daevid.com wrote:
Repost as I got zero replies. Does anyone know why this is? Seems like a
bug
to me, or at least should be documented as such whacky behavior. Are there
any solutions to this or work-arounds?
-Original Message-
I'm trying to use
http://us2.php.net/manual/en/function.simplexml-load-string.php
$xml_url =
file_get_contents('http://myserver/cgi-bin/dart.cgi?request=c901c906e4d06a0d
4bd4e2932379d7c6');
try
{
$xml = simplexml_load_string($xml_url, 'SimpleXMLElement', LIBXML_NOBLANKS
LIBXML_COMPACT
On Thu, 2009-06-11 at 20:52 +0200, Jean-Pierre Arneodo wrote:
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 20:52 +0200, Jean-Pierre Arneodo wrote:
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06:36)
Linux ubuntu 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC 2008 x86_64
GNU/Linux
Conf [php.ini]
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06:36)
Linux ubuntu 2.6.24-19-server
On 11 June 2009 12:00, Ashley Sheridan advised:
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any
idea to solve? Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7
try set_time_limit(0) ?
On Thu, Jun 11, 2009 at 8:05 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote:
On 11 June 2009 12:00, Ashley Sheridan advised:
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my
Ford, Mike wrote:
On 11 June 2009 12:00, Ashley Sheridan advised:
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any
idea to solve? Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli)
any of these crazy ideas are helpful...
- Kyle
--
Kyle Smith
Unix Systems Administrator
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Thursday, June 11, 2009 8:25 AM
To: Ford, Mike
Cc: php-general@lists.php.net
Subject: Re: [PHP] Why [?php while (true
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06:36)
Linux
Jean-Pierre Arneodo wrote:
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7
Bastien Koert-3 wrote:
On Jun 2, 2009, at 21:13, Daevid Vincent dae...@daevid.com wrote:
I just noticed a horrible thing.
I have a query (report) that can take 15 minutes or more to generate
with
mySQL. We have 500 Million rows. This used to be done in real time
when we
had
I just noticed a horrible thing.
I have a query (report) that can take 15 minutes or more to generate with
mySQL. We have 500 Million rows. This used to be done in real time when we
had less rows, but recently we got a big dump of data that shot it up.
So, noticing via myTop the query taking
On Jun 2, 2009, at 21:13, Daevid Vincent dae...@daevid.com wrote:
I just noticed a horrible thing.
I have a query (report) that can take 15 minutes or more to generate
with
mySQL. We have 500 Million rows. This used to be done in real time
when we
had less rows, but recently we got a
1 - 100 of 1142 matches
Mail list logo