Re: [PHP] php5 - possible bug discovered

2007-10-09 Thread David Restall - System Administrator
Hi Robert, Stut & List Thanks for your replies which arrived after I had gone to bed |-Z Robert :- > In PHP5 objects are no longer copied when assigned. Instead the object's > handle is assigned (similar to a reference but not quite). So the > behaviour is as expected. Stut :- > > I think I ha

[PHP] php5 - possible bug discovered

2007-10-08 Thread David Restall - System Administrator
Hi, I think I have discovered a bug in php5. If I haven't, I've discovered a bug in the documentation or a bug in my brain. php -v :- PHP 5.2.3 (cli) (built: Jun 26 2007 15:38:48) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies I've attached

Re: [PHP] Includes eating up my time

2007-07-31 Thread David Restall - System Administrator
Hi Dave, > PHP general list, > > This is probably obvious to people who are good at PHP, but I'm > > I have a PHP based CMS (content management system) built, which has > grown and become quite robust. It's now spread out over about 30 files, > and each file represents one class within the obj

Re: [PHP] Getting WAY OT now Re: PHP Brain Teasers

2007-07-06 Thread David Restall - System Administrator
Hi, Tedd Wrote :- > At 11:00 PM -0400 7/5/07, Robert Cummings wrote: > >On Thu, 2007-07-05 at 22:44 -0400, tedd wrote: > >> At 4:48 PM -0400 7/5/07, Daniel Brown wrote: > >> >On 7/5/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > >> >>On Thu, 2007-07-05 at 15:04 -0500, Kaleb Pomeroy wrote: >

[PHP] Re: PHP Brain Teasers

2007-07-03 Thread David Restall - System Administrator
Hi, there are two in this one :- function Cat($Danger = "") { static int $Lives = 9; if (preg_match("/^curiosity$/i", $Danger)) die("Cat Killed"); $Threats = array("dog", "flu", "fall", "drowning"); if (in_array(strtolower($Danger), $Thre

[PHP] Re: PHP Brain Teasers

2007-06-27 Thread David Restall - System Administrator
Hi, > Colin Guthrie wrote: > > Daniel Brown wrote: > >>What the hell? Why not start a thread that can be fun and > >> challenging for all of us. It's something I haven't seen done > > > > Here's another quickie: Dead simple one! > > > > > > > function x($x) > > { > > switch ($x) > >

[PHP] R: Re: [PHP] Which PHP-script crashes my server?

2006-12-19 Thread David Restall - System Administrator
Hi Phil, > Linux, of course. :-) > It is a Gentoo server with Confixx Pro on it. The PHP safe mode is > disabled for some accounts, so it is clear that problems like this > happen. But I can not enable it because of several scripts. > > Thats all I know. I dit not setup the server. If you need

Re: [PHP] RE: non-text data

2006-08-14 Thread Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem
On Mon, Aug 14, 2006 at 02:40:53PM +1000, Chris wrote: > John Meyer wrote: > >Gd, > >BTW, came into this late, have we gotten the old "store your images in the > >filesystem and save the file name in the database" argument yet? > > Nope, haven't done that one yet, do you want to start it off or sh

[PHP] install issue (affects 4.4.0 and 5.0.5) [/usr/include/rpc/rpc_msg.h, /usr/include/rpc/rpc.h, /usr/include/crypt.h, standard/crypt.c

2005-10-20 Thread Administrator
Running FreeBSD 5.4/RELEASE on Sparc64 and Apache 1.3.33 When attempting to install 4.4.0 and 5.0.5, from ports or from source, I am getting the following error: (This specific error is from 4.4.0 from ports [/usr/ports/lang/php4] /bin/sh /usr/ports/lang/php4/work/php-4.4.0/libtool --silent --pre

[PHP] Delivery failed

2005-07-07 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Report

2005-07-03 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Mail System Error - Returned Mail

2005-06-26 Thread Mail Administrator
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Returned mail: see transcript for details

2005-06-20 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Delivery failed

2005-06-13 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Returned mail: Data format error

2005-06-11 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Message could not be delivered

2005-06-07 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] about PHP Graphic .

2005-06-04 Thread NeginGostar.com :: Administrator
Hello Dear I want know about PHP Graphic . I want use graphic in php but i cant setup GD library , in my server My Server is Windows 2003 and i want install graphic in php please help me, thanks

[PHP] Returned mail: Data format error

2005-06-03 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] delivery failed

2005-05-26 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] OT - HTML Terminal ?

2004-09-26 Thread Dave Restall - System Administrator,,,
Hi, this is severely off topic so please feel free to ignore it :-) I have an intranet application that currently is accessed using a browser, no problems there, however I have been asked if I can get rid of the browser so that the user's are not encouraged to surf so readily. I initially thought

Re: RE: [PHP] convert degrees to heading

2004-09-15 Thread Dave Restall - System Administrator,,,
Hi Trevor, > Very nice solution, Dave. I like simple, elegant and effective > solutions like this. I was wracking my brain yesterday to come up with > something like this, but my brain wasn't working. Hah. Good job! Thanks for the compliments - my head is now a bit bigger :-) I thought 0 deg

Re: [PHP] convert degrees to heading

2004-09-14 Thread Dave Restall - System Administrator,,,
Hi, > Alternatively, try :- > > $Compass = array('West', 'North Westerly', 'North', 'North Easterly', > 'East', 'South Easterly', 'South', > 'South Westerly'); > > print $Compass[round($Degrees / 45)] . "\n"; > > This can be expanded easily by adding

Re: [PHP] convert degrees to heading

2004-09-14 Thread Dave Restall - System Administrator,,,
Hi, Alternatively, try :- $Compass = array('West', 'North Westerly', 'North', 'North Easterly', 'East', 'South Easterly', 'South', 'South Westerly'); print $Compass[round($Degrees / 45)] . "\n"; This can be expanded easily by adding 'North North W

Re: [PHP] Is a PECL a black whole?

2004-09-03 Thread Dave Restall - System Administrator,,,
> It took me a while to find an explanation of what a PECL is. I kept reading > comments about things being moved to a PECL but I saw nothing about what is > in a PECL or how to get anything out of a (the?) PECL. As far as I knew, > there is a danger of all of PHP being in a PECL. > > I could

[PHP] Mime type and PECL::Fileinfo.

2004-08-29 Thread Dave Restall - System Administrator,,,
Hi, PHP 4.3.8, Apache 1.3.31, Debian/GNU Linux Is anybody using PECL extensions ? I want to let people upload data to a site I'm building and want to avoid using mime_content_type because from the manual :- "This extension has been deprecated as the PECL extension fileinfo provides the same fun

Re: [PHP] looking for php talent...

2004-03-05 Thread Dave Restall - System Administrator,,,
Hi, > we're looking for some PHP development talent. however, we don't want to > post here if this is not the right group/list. please let us know if it > is/isn't appropriate to post our requirements. if it is, we'll go ahead and > post what we're looking for. There seem to be a few lists availa

[PHP] Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows.

2003-10-02 Thread Dave Restall - System Administrator
Hi, not sure if this is the right place to ask but does anybody have any ideas how long it will be before PHP/Apache 2 is considered stable enough to be used in a production environment ?. I set up a test box with them both on nearly a year ago and the online documentation still cautions against

RE: [PHP] If you ever had a Vic20

2003-08-15 Thread Dave Restall - System Administrator
Hi, > $found =3D 0; > while ($mydata =3D mysql_fetch_object($news)) > { > if ($mydata->StudentId =3D=3D $StudentId) > {$found =3D 1; break;} > } > > if ($found=3D=3D1){do this}else{do that} Why not re-oganise your SQL statement s

[PHP] Is there an RTFM for 'use strict' ?

2003-06-23 Thread Dave Restall - System Administrator
Hi, Done a lot of Perl & PHP coding over the years and one thing I _really_ liked about Perl is its 'use strict;' directive. For those of you not familiar with Perl, this made the script die if you don't (among other things) declare your variables before using them. Once the fingers are flying,

[PHP] exif_read_data to read, and to write ...?

2002-07-09 Thread OISS Administrator
Hi, I am making a script to generate counter image on the fly for the office web site, and i have noticed that my dynamically generated jpeg images bears following comment: "CREATOR: gd-jpeg v2.0 (using IJG JPEG v62), quality = 100" Does anyone know how to insert user defined comments into gene

[PHP] A weird problem / bug with concatenation operator in a class

2002-02-01 Thread Administrator
Yesterday I presented this problem to a local usergroup... // the following lines are contained in a class // although I am echoing the value of $age from within the class // this is only for testing during development. // $age will be assigned to [$this->age_Range] later in the code $a

[PHP] Re: Getting started - what do I need?

2001-12-08 Thread administrator
Hi there, I found this site very useful for lots of "help-me-up-the-learning-curve" tutorials. http://perl.about.com/cs/beginningphp/ C:o) Indera wrote: > Hello, > > I have never used php or mysql before and want to know what tools I should use so >that I can start > learning php and mysql

[PHP] Problem with enctype=multipart/form-data forms

2001-02-12 Thread System Administrator
and with the same exact versions of Apache/PHP. I don't exactly know if this a PHP issue or Apache problem. Maybe some of you could enlighnten me on this question. TIA. --- System Administrator ([EMAIL PROTECTED]) ZBit - Software, Lda. (http://www.zbit.pt) Rua Ponte de Pau, N.ยบ 19 3510-1