p -q tmp.php
PRE CLASS=error
(2) Missing argument 1 for foo()
/PRE
Hello
br
bFatal error/b: Call to a member function on a non-object in
btmp.php/b on line b14/bbr
You can see that E_WARNING is getting shuffled to the user function, but
E_ERROR is not.
Thanks,
Chris Newbill
--
PHP Dev
From: "Zeev Suraski" [EMAIL PROTECTED]
At 08:14 14/1/2001, Chris Newbill wrote:
What would be the cons of having these type of errors simply causing
E_USER_ERROR instead of E_ERROR? That way they would be trapable and I
don't think it would cause a problem if the user does not hav
I think it may
have been my custom mail filters, trying once again to see if that is the
case.
Thanks for your
patience,
Chris NewbillOneWest.net
Inc.,Programmer/Analyst406.449.8056[EMAIL PROTECTED]
/*"...Microsoft Windows users are now covered under the Americans with
Disabilities
Ditto, poor design IMHO.
-Original Message-
From: Marten Gustafsson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 7:40 AM
To: PHP DEV
Subject: RE: [PHP-DEV] nested functions
Is there a need for nested funcitons? I don?t think so.
-Marten.
Icq# 38863127
-Original
A good start would be to make sure the user your web server is running as
cannot read the shadow file. Also that the permissions are set properly.
Chris
-Original Message-
From: Lou Spironello [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 2:17 PM
To: [EMAIL PROTECTED]
I talked to Hans, off the list, and it is something with his code. Sample
code I sent him works just fine.
I have no karma or anything for the bug system, maybe I should ask for this.
Anyways, this is a bogus report.
Thanks,
Chris Newbill
-Original Message-
From: [EMAIL PROTECTED
Path simply means the directory in which the file resides. Remove the
httpd.h from the --with-apache option and try again.
Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] PHP
null, adjective: having no value
IMHO, isset() should be left as is. Either way if you are looking for a
null value you will have to use '== NULL' or is_null().
if (isset($a) is_null($a))
if (isset($a))
if (is_null($a))
etc...
The only possible situation I can think(right now) of where
If you think you are going to be making more changes then you should
probably get CVS access.
http://bugs.php.net/cvs-php.php
Otherwise post the patch to the list, the maintainer will review it.
(eventually)
Chris Newbill
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
I'm not sure what all has been suggested, so sorry if this has been already.
Why not just make a simple form and avoid clutter completely? (ie all the
links)
Could allow them to choose source/binary, os, PHP version, compression
format, etc.
Chris Newbill
Zeev Suraski wrote:
About bzip2
The code written like so is ok:
?php
$datum = date("d.m.Y ")."br".date(" H:i:s");
echo $datum;
?
Something as simple as this will cause the segfault.
?php
date("rH");
?
Seems that anything placed _after_ "r", anything that will get turned into a
date-time format causes a crash.
Im using
documents and processed as such?
I'd really like to start using the Cocoon framework it would make allot of
things I do easier, but I heavily rely on PHP as well.
Thanks for any advice/direction,
Chris Newbill
OneWest.net Inc.,
Programmer/Analyst
406.449.8056
[EMAIL PROTECTED]
/*
Windows
-
) From: Chris Newbill [mailto:[EMAIL PROTECTED]]
) Sent: Sunday, 25 February, 2001 7-06 pM
) To: PHP DEV
) Subject: [PHP-DEV] Cocoon + PHP
)
)
) I haven't looked into it extensively yet, thought I'd post it to
) the list to
) see what other people have done.
)
) What is the possibility of making
http://www.php.net/manual/en/function.urlencode.php
-Chris
) -Original Message-
) From: Trevor Garrett [mailto:[EMAIL PROTECTED]]
) Sent: Sunday, 04 March, 2001 6-41 pM
) To: [EMAIL PROTECTED]
) Subject: [PHP-DEV] %20 IE vs Netscape, insert into location problem
)
)
) I have a page of
This would not be a bad idea IMHO and I would use it for some things.
The functionality would be inclusive not exclusive. So isset($var1, $var2,
$var3) would only return true if $var1, $var2, and $var3 are set and false
otherwise.
So If I had a form passing $name, $email, $phone:
example #1
much sense it makes :)
Today you're asking for isset(...,...,...). Tomorrow you will ask to know
which one was not set if it failed.
So I hope what youreally want is only the first.
Andi
At 09:42 PM 3/18/2001 -0500, Mike Robinson wrote:
Chris Newbill writes:
This would not be a bad idea
-04 aM
To: Phil Driscoll
Cc: Chris Newbill; Andi Gutmans; PHP DEV
Subject: Re: [PHP-DEV] feature request
Phil is right. The only thing that may be both useful and
practical would
be isset() on multiple variables, returning either true or false.
Zeev
At 11:31 19/3/2001, Phil Driscoll
Gutmans [mailto:[EMAIL PROTECTED]]
Sent: Monday, 19 March, 2001 1-12 pM
To: Jason Greene; Phil Driscoll; Chris Newbill; Zeev Suraski
Cc: PHP DEV
Subject: Re: [PHP-DEV] feature request
Ugh, that's exactly what I didn't want to get into. If you want
an array of
results you're better of doing a few
Those square boxes are shown when IE cannot find the character in the
particular font/language set. If you enable "Install on demand" it will
usually prompt you to download the language pack for whatever language you
are trying to view.
-Chris
-Original Message-
From: [EMAIL
As far as I know this is expected behavior.
Multiple dimensional arrays will cause a parse error no matter how you do
them if encapsulated inside a string. You would have to concatenate the
values like so.
$str = "This is a test, the value is " . $array["field"][0] . ". I repeat
this is a
First, you must meet these requirements.
PHP 3= 3.0.9, PHP 4 =
4.0RC2
PHP was compiled with
'--enable-calendar'.
Chris
-Original Message-From: Pierre François
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, 21 March, 2001 9-05
aMTo: [EMAIL PROTECTED]Subject: Re: [PHP-DEV] Bug
MSI is a microsoft installer file. It's their "new" installation format.
You can grab it from here.
http://www.microsoft.com/msdownload/platformsdk/instmsi.htm
Then run the .msi file after installation.
Chris
-Original Message-
From: wolle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
I reopened 5226. Don't need two tickets for the same problem.
-Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 03 April, 2001 11-36 pM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] PHP 4.0 Bug #10149 Updated: array_pop reorders array
keys
ID:
There are plenty of sinister and devious acts that can be done to those that
choose to defy our tranquility. (too wordy)
**cough** perl -e 'for ($i=0; $i$BIG_NUMBER; $i++) { `mail
[EMAIL PROTECTED] really_big_file`; }' **cough**
:)
-Chris
-Original Message-
From: [EMAIL PROTECTED]
+1
-Chris
-Original Message-
From: Alexander Feldman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 05 April, 2001 1-44 pM
To: Carsten Gehling
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when
register_globals = on
This makes sense. The
So I could
$str = mprint("(XXX) XXX.", "4064498056", "X");
print $str;
and would get
(406) 449.8056
Chris Newbill
OneWest.net Inc.,
Programmer/Analyst
406.449.8056
[EMAIL PROTECTED]
/*
Windows crashed.
I am the Blue Screen of Death.
No one hears your screams.
break;
case 'x':
$r.=$ev;
$ei++;
$fi++;
break;
default:
if ($ev==$fv){
$r.=$fv;
$ei++;
$fi++;
}
else {
$r.=$fv;
$fi++;
break;
}
}
}
return $r;
}
""Chris Newbill"" [EMAIL PROTECTED] wrote in message
[EMAIL
I will probably start using that as well, thanks, but the list should still
operate properly don't you think?
-Chris
-Original Message-
From: Joe Brown [mailto:[EMAIL PROTECTED]]
Sent: Monday, 16 April, 2001 7-51 pM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Bug #10355: PHP-DEV
.
Any thoughts?
Thanks,
Chris Newbill
OneWest.net Inc.,
Programmer/Analyst
406.449.8056
[EMAIL PROTECTED]
/*
Windows crashed.
I am the Blue Screen of Death.
No one hears your screams.
*/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED
On Fri, 4 May 2001, Zeev Suraski wrote:
IMHO, in a compatibility breaking upgrade, we should look into defaulting
to case sensitivity, while allowing case insensitivity as a non-default
option.
+1 from me too.
-Chris
--
PHP Development Mailing List http://www.php.net/
To unsubscribe,
laziness is getting the better of
me?
Chris Newbill
OneWest.net Inc.,
Programmer/Analyst
406.449.8056
[EMAIL PROTECTED]
/*
Windows crashed.
I am the Blue Screen of Death.
No one hears your screams.
*/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL
This is the incorrect list. This is for people developing the PHP language
not developing with PHP.
This is most likely your script and since you have not provided nearly
enough details about how exactly you are trying to accomplish this there
isn't much help we can give.
?php
the pop up window closes right away when trying to edit user notes.
Someone wrote fuckdir as their comment on
http://www.php.net/manual/en/class.dir.php and I tried to remove it, but no
luck.
-Chris
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
php-dev is for people who develop PHP not develop _with_ PHP. The list you
want is php-general.
And this error simply means one of two things.
1) You did not connect to the Postgresql server properly.
2) Your query failed for some reason
You do not need to recompile the source as you
How about a big warning on the bug creation page telling the to RTFM and
make sure their bug doesn't already exist. I've seen this one at least 10
times.
But they are end users, they never listen.
-Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
I say don't support them, to an extent; you don't want to force everyone to
have the latest and greatest. A few older versions should work; maybe back
to 1.3.12 or 15.
Anyone who runs a flawed product is asking for trouble, look at all the
NT/2K IIS machines :)
A lot of hosting companies are
It is the wrong place, you want php-general.
But the error is straight forward, you do NOT have permissions to write to
that file. With that said have your system administrator make sure the user
that the web server runs as has write access to the directory in which you
are attempting to store
Last message I got
was on July 13 @ 11am MST.
-Chris
Chris Newbill[EMAIL PROTECTED]
[Thies C. Arntzen [EMAIL PROTECTED]]
On Sat, Sep 29, 2001 at 06:00:24AM +0200, Stig Sæther Bakken
wrote:
Hi guys,
I'm proud to announce that our second daughter, Benedicte, was born
tonight 2001-09-29 at 0300 MEST. Technical data: 3380 grams, 50
centimeters, 4 days ahead of schedule.
Until they audit you and make you pay all the money back because you did not
look for work. :(
-Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 30, 2001 12:19 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
Not sure what discussion has been done on this subject before, but here it
goes.
I wan't to be able to use a function that does the same thing as include,
except instead of passing a file name I pass the actual string to be
processed. This differs from eval() because the string may be all HTML.
, October 01, 2001 5:55 PM
To: Chris Newbill; PHP DEV
Subject: Re: [PHP-DEV] include() like functionality for strings
There is no problem in getting it to work but the question is if we can do
it in a nice way.
How would eval() know if it's evaling something which should start in a PHP
or HTML context
Newbill; PHP DEV
Subject: RE: [PHP-DEV] include() like functionality for strings
I must have misunderstood you. Weren't you asking for an eval() which
starts PHP in HTML mode instead of PHP code mode?
Andi
At 06:06 PM 10/1/2001 -0600, Chris Newbill wrote:
Why would we have to pass it another
array_merge() doesn't work if there are objects in your array.
Here is a small test case.
?php
class test
{
var $one;
var $two;
function test($one, $two) {
$this-one = $one;
$this-two = $two;
}
}
$x = 6;
$a = new test(1, $x);
$b = new test(2, $x);
$c = new test(3,
Why not move the syntax to this?
array_init( array/mixed indexes, mixed value[, int num])
So then I could do
$a = array_init(array(key1, key2, key3), apple);
or
$a = array_init(5, apple, 6);
-Chris
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Monday,
No.
He means when compiling PHP you must run 'configure'.
[me@somehost /php-source]# ./configure --enable-ftp
-Chris
-Original Message-
From: JIM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 2:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] ftp_connect()???
are
PHP-Dev is not the list for these questions.
You should read the MySQL manual. (assuming your using MySQL)
Your query should be
SELECT * FROM TABLENAME ORDER BY RAND() LIMIT 1
-Chris
-Original Message-
From: HEW Staff [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 9:19
Works just fine with 4.2.0-dev. However I can verify it on 4.0.6, so I'm
guessing this problem was fixed.
-Chris
-Original Message-
From: Wolfram Kriesing [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 11:25 AM
To: list; list
Subject: [PHP-DEV] class xxx extends
Nahh I think md5_file() isn't very good.
However, overloading md5() doesn't really seem like a good idea either.
md5sum() is pretty appropriate, anybody who is going to use this function is
probably going to be familiar with the md5sum program.
Plus md5sum() is fewer keystrokes. ;)
-Chris
What ever came of this issue? Im running into a lot of instances
lately where this is very annoying. Ill
check the archives latter just thought Id ask.
-Chris
But Thursday is TURKEY DAY!!! :)
-Chris
-Original Message-
From: James Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 4:06 PM
To: [EMAIL PROTECTED]; Zeev Suraski
Cc: [EMAIL PROTECTED]
Subject: [PHP-DEV] Re: [PHP-QA] 4.1.0 Final RC
Not sure if people are aware of this, but Borland is
offering their C++ compiler for free. (not the IDE)
http://www.borland.com/bcppbuilder/freecompiler/
For those people who do not have an insanely expensive copy
of Visual C++ (or dont use Cygwin) maybe the
build process should
This list is not for people developing
WITH PHP it is for people developing PHP itself.
The list you want is [EMAIL PROTECTED].
-Chris
-Original Message-
From: Kannan Soundararajan
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001
10:38 PM
To: [EMAIL PROTECTED]
I CANNOT GET IT TO CRASH WITH enable-debug!
Program received signal SIGSEGV, Segmentation fault.
0x080f43bc in zend_hash_copy () at
eval.c:41
41 eval.c: No such file or directory.
in eval.c
Log info from enable-debug
---
array.c(1263) : Block
;',$string);
print
$string;
}
The entire function has to be commented out;
only commenting out part of it still allows it to crash.
-Chris
-Original Message-
From: Chris Newbill
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 12:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP
extract($GLOBALS);
?
Guess extract() doesn't like the recursion of $GLOBALS??
-Chris
-Original Message-
From: Derick Rethans [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 12:30 AM
To: Chris Newbill
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] strange crash
On Wed, 21
Hehe I love questions like these.
This is the wrong list for these types of questions; you want
[EMAIL PROTECTED] This list is about developing PHP not
developing WITH PHP.
Anyways, short answer is in an HTML document when the browser comes to
an IMG tag it makes another HTTP request to the
What is as great as sex is of course multiple inheritance and object
dereferencing.
My God man! I develop for a living and I wouldn't go that far! ;)
-Chris
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Zend Engine 2 will have multiple-inheritance among other nice toys.
No I don't know when it will be part of PHP)
There is a mailing list for the engine, I just don't remember what it
is.
-Chris
-Original Message-
From: Matthew J Gray [mailto:[EMAIL PROTECTED]]
Sent: Friday, December
Yeah, Yeah I jumped the gun...but you know you wanna include it :)
-Chris
-Original Message-
From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 5:16 PM
To: Chris Newbill
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DEV] multiple inheritance
Aren't we all :)
But that's certainly no reason to give you CVS access.
-Chris
-Original Message-
From: Fred Koopmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 4:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] CVS Account Request: 101973
Hello!
I am working with
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14
This would be a good document to look over for possible workarounds.
You should also try http://support.microsoft.com/ and see if they have a
KB issue on it.
-Chris
-Original Message-
From: Fred B [mailto:[EMAIL
Just a nit-picky thing but maybe you should have the year with all of
the dates.
-Chris
-Original Message-
From: Jim Winstead [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 06, 2002 1:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] new bug viewing/editing form
as threatened after i
Before closing this lobbin see if [EMAIL PROTECTED] can try the CVS.
Speaking of which how is the new bug system going to handle this? Do
they honestly expect everyone who gives feedback and isn't the original
poster to subscribe to PHP-DEV or is it mailing everyone involved with
the ticket
Would anybody object to me making changes to the Advanced Bug
Search page?
One of the things I want to do is make some of the drop
downs multi-selects, so for example on Status I could look for Open, Analyzed,
AND Assigned Bugs all in one shot instead of doing multiple searches or
Looking at the source it seems this is
already done to an extent, but Id still like to make these changes if its
okay.
-Chris
-Original Message-
From: Chris Newbill
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 10:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV
Ehh...from manual
n - month without leading zeros; i.e. 1 to 12
So yeah it would print 2th. Cause today is the 10th.
-Chris
-Original Message-
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 10, 2002 12:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] FWD:
Why not make an alias for php-general called php-support/php-dev-support?
Maybe people would be more inclined to
go there before php-dev.
And I already replied to this person.
-Chris
-Original Message-
From: Honey House Designs
[mailto:[EMAIL PROTECTED]]
Sent: Thursday,
http://news.com.com/2100-1001-847092.html
Look at the authors last name, sounds familiar doesnt
it? J
(Yes, this is about PHP)
-Chris
This is really the wrong list for this. PHP-DEV is about developing
PHP, not developing WITH PHP. BUT since I like your username 'phpmonkey'
here's how ya'd do it. (untested of course, but the general idea) :)
?php
$handle=opendir('/path/to/files');
while (false !== ($file =
PHP already has mcrypt support so doing this in userland wouldn't be
much of a challenge at all.
See pear.php.net.
-Chris
-Original Message-
From: Keyser Soze [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 5:58 PM
To: PHP-DEV
Subject: [PHP-DEV] New Module
Hi all,
I have
Except is should be side-effect, not side of effect. :)
-Chris
-Original Message-
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 1:23 AM
To: Zeev Suraski
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] RFC: Small changes in CODING_STANDARD
Zeev Suraski wrote:
Please close my CVS account cnewbill and unsubscribe me from
php-bugs, Ive already unsubscribed from php-dev.
-Chris
73 matches
Mail list logo