php-general Digest 17 May 2007 17:01:23 -0000 Issue 4796

Topics (messages 255043 through 255067):

Re: Random SELECT SQL list
        255043 by: Paul Novitski
        255044 by: Larry Garfield
        255046 by: Zoltán Németh

Re: Extracting Variables From URL
        255045 by: Zoltán Németh

Re: pdo-oracle + nls_lang environment variable...
        255047 by: "Miguel J. Jiménez"
        255049 by: Javier Ruiz

Re: Static methods have access to private members
        255048 by: "Miguel J. Jiménez"

Re: Mysqli insert / OO Design Problem - Call to a member function bind_param() 
on a non-object in...
        255050 by: Robin Vickery

Confused about how exactly to output image using imagepng function
        255051 by: Dave M G
        255053 by: Tijnema !
        255054 by: Stephen
        255055 by: Zoltán Németh

reading Paradox (.db) files
        255052 by: Bosky, Dave

Setting Up A Simple Shopping Cart
        255056 by: revDAVE

A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP
        255057 by: Richard Davey
        255058 by: Daniel Brown
        255059 by: Robert Cummings
        255060 by: Richard Davey
        255061 by: Greg Donald
        255062 by: Richard Davey
        255063 by: Robert Cummings
        255064 by: Jon Anderson
        255065 by: Greg Donald
        255066 by: Richard Davey
        255067 by: Richard Davey

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
At 5/16/2007 09:40 PM, Eduardo Vizcarra wrote:
I would like to know if a SELECT SQL query list of records can be unsorted.
SELECT statement retrieves a list of records from a certain table starting
from record # 1 till record #N and when publishing the records, this is how
it is presented, in a sequential way, is there any way to not present them
in a sequential way ? e.g. if a user accesses a web page then he will see
record #3 and then #7 and so on, another user accesses the same web page and
he might see record #8 and then record#2..... etc


Found on this page:
http://dev.mysql.com/doc/refman/5.1/en/select.html
"
Posted by Boris Aranovich on June 9 2004 2:33pm

I am using this way to select random row or rows:

SELECT * [or any needed fileds], idx*0+RAND() as rnd_id FROM tablename ORDER BY rnd_id LIMIT 1 [or the number of rows]

Meanwhile, I didn't stumble in any problems with this usage.
I picked this method in some forum, don't remember when, where or by who was it introduced :)
"

--- End Message ---
--- Begin Message ---
On Wednesday 16 May 2007, Eduardo Vizcarra wrote:
> Hi
>
> I would like to know if a SELECT SQL query list of records can be unsorted.
> SELECT statement retrieves a list of records from a certain table starting
> from record # 1 till record #N and when publishing the records, this is how
> it is presented, in a sequential way, is there any way to not present them
> in a sequential way ? e.g. if a user accesses a web page then he will see
> record #3 and then #7 and so on, another user accesses the same web page
> and he might see record #8 and then record#2..... etc
>
> any experience on how to do this ?

This is really an SQL question, but it's quite easy.  Assuming MySQL:

$result = mysql_query("SELECT * FROM foo WHERE bar='baz' ORDER BY RAND()");
// Do stuff here.

-- 
Larry Garfield                  AIM: LOLG42
[EMAIL PROTECTED]               ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

--- End Message ---
--- Begin Message ---

2007. 05. 17, csütörtök keltezéssel 00.45-kor Larry Garfield ezt írta:
> On Wednesday 16 May 2007, Eduardo Vizcarra wrote:
> > Hi
> >
> > I would like to know if a SELECT SQL query list of records can be unsorted.
> > SELECT statement retrieves a list of records from a certain table starting
> > from record # 1 till record #N and when publishing the records, this is how
> > it is presented, in a sequential way, is there any way to not present them
> > in a sequential way ? e.g. if a user accesses a web page then he will see
> > record #3 and then #7 and so on, another user accesses the same web page
> > and he might see record #8 and then record#2..... etc
> >
> > any experience on how to do this ?
> 
> This is really an SQL question, but it's quite easy.  Assuming MySQL:
> 
> $result = mysql_query("SELECT * FROM foo WHERE bar='baz' ORDER BY RAND()");
> // Do stuff here.

ORDER BY RAND can be very unefficient on large tables.
some useful info here:
http://www.titov.net/2005/09/21/do-not-use-order-by-rand-or-how-to-get-random-rows-from-table/

greets
Zoltán Németh

> 
> -- 
> Larry Garfield                        AIM: LOLG42
> [EMAIL PROTECTED]             ICQ: 6817012
> 
> "If nature has made any one thing less susceptible than all others of 
> exclusive property, it is the action of the thinking power called an idea, 
> which an individual may exclusively possess as long as he keeps it to 
> himself; but the moment it is divulged, it forces itself into the possession 
> of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
> Jefferson
> 

--- End Message ---
--- Begin Message ---
I think you should try:

http://php.net/parse_url

greets
Zoltán Németh

2007. 05. 16, szerda keltezéssel 19.40-kor CK ezt írta:
> Hi All,
> 
> The following code works just fine for outputting links from an  
> array. The next goal, is parsing the $thisPage variable from the URL 
> (http://bushidodeep.com/contact.html/) so as <?php  
> $thisPage=strtolower("contact");?>, this variable could also be  
> assigned to the $links[] $key.
> 
> Moving to a dynamic link generator class, what PHP function(s) could  
> be used to parse the URL?
> 
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <meta http-equiv="Content-Type" content="text/html;  
> charset=ISO-8859-1" />
> <title>Generate Links</title>
> <?php $thisPage=strtolower("contact"); ?>
> </head>
> 
> <body>
> <?php
> 
> $links=array("Home","Work","Contact");
> $count =0;
> echo "<ul id=\"navlist\"> \n";
> foreach($links as $key){
>       if(strtolower($key)!= $thisPage){
> echo ("<li><a href=\"./$key\" tabindex=\"$count;\" title=\"link to  
> $key\">$key</a></li>\n");
> $count ++;
>      }else{
> echo ("<li id=\"current\">$key</li>");
>     }
> }
> echo "</ul> \n";
> 
> 
> /*prints key as tabindex......
> $links=array("home","work","contact");
> $count =0;
> echo "<ul id=\"navlist\"> \n";
> foreach($links as $key){
> echo ("<li><a href=\"./$key\" tabindex=\"$count;\" title=\"link to  
> $key\">$key</a></li>\n");
> $count ++;
> }
> echo "</ul> \n";
> */
> 
> ?>
> 
> <!--<a href="" tabindex="" title=""></a>-->
> 
> </body>
> </html>
> 

--- End Message ---
--- Begin Message ---
Javier Ruiz escribió:
Hi,

I'm using pdo-oci on php-5.2.2 against an oracle-10g server, using
oracle-instantclient (compiled oracle with
'--with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib').

The problem...:
I make a simple php script that makes a select from a table. The table
contains spanish characters so I set the enviroment variable NLS_LANG to
SPANISH_SPAIN.AL32UTF8 before running apache (also tried other values that use iso8859-1...). If I run the script in console (using the CLI version of php) the returned data is in the desired collation, so I can see the spanish
special characters like "ñ", "ó" and so on... The problem is that running
exactly the same script via HTTP (apache2) I always get question marks
replacing the special characters...

I tried many things... I export the enviroment variable as root and as the user running the apache daemon, I modified the apache init script to export the variables just before starting apache, I tried using the putenv function
in php code and no luck at all...

I realized about something that maybe is related... a php script running in
CLI can access any environmental variable, but no any env-var running in
apache... for example the following code: <?php echo getenv("LC_ALL"); ?>
will return my locale setting in CLI but returns nothing via http... is it
normal?

TIA!



Maybe you have the AddDefaultCharset directive from Apache2 set to ISO-8859-15 instead of UTF-8 (or even off)? I have worked with php-oci8 and php5.2 without any collation problem this far (using ñ € ans so on...)

--
Miguel J. Jiménez
Programador Senior
Área de Internet/XSL/PHP
[EMAIL PROTECTED]

----------------------------------------------------

ISOTROL
Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta.
Parque Tecnológico Cartuja '93, 41092 Sevilla (ESP).
Teléfono: +34 955 036 800 - Fax: +34 955 036 849
http://www.isotrol.com

"You let a political fight  come between you and your best friend you have in all 
the world. Do you realize how foolish that is? How ominous? How can this country survive 
if friends can't rise above the quarrel".
Constance Hazard, North & South (book I)


--- End Message ---
--- Begin Message ---
sorry, forgot to CC to the list...

---------- Forwarded message ----------
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: May 17, 2007 9:46 AM
Subject: Re: [PHP] pdo-oracle + nls_lang environment variable...
To: "Miguel J. Jiménez" <[EMAIL PROTECTED]>

Thanks for the answer.

Nah I checked and apache has support for both latin1 and utf8 charsets, I
tried anyway forcing the output of apache to iso8859-1 and to utf8 but no
luck...

I'm almost convinced it's something about php reading the NLS_LANG
environment variable because if I just unset this variable php-cli (and even
oracle's sqlplus directly) behaves the same way as php-apache does (displays
special characters as question marks).

gracias miguel :-D


On 5/17/07, "Miguel J. Jiménez" <[EMAIL PROTECTED] > wrote:

Javier Ruiz escribió:
> Hi,
>
> I'm using pdo-oci on php-5.2.2 against an oracle-10g server, using
> oracle-instantclient (compiled oracle with
> '--with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib').
>
> The problem...:
> I make a simple php script that makes a select from a table. The table
> contains spanish characters so I set the enviroment variable NLS_LANG to
> SPANISH_SPAIN.AL32UTF8 before running apache (also tried other values
> that
> use iso8859-1...). If I run the script in console (using the CLI
> version of
> php) the returned data is in the desired collation, so I can see the
> spanish
> special characters like "ñ", "ó" and so on... The problem is that
running
> exactly the same script via HTTP (apache2) I always get question marks
> replacing the special characters...
>
> I tried many things... I export the enviroment variable as root and as
> the
> user running the apache daemon, I modified the apache init script to
> export
> the variables just before starting apache, I tried using the putenv
> function
> in php code and no luck at all...
>
> I realized about something that maybe is related... a php script
> running in
> CLI can access any environmental variable, but no any env-var running in
> apache... for example the following code: <?php echo getenv("LC_ALL");
?>
> will return my locale setting in CLI but returns nothing via http...
> is it
> normal?
>
> TIA!
>


Maybe you have the AddDefaultCharset directive from Apache2 set to
ISO-8859-15 instead of UTF-8 (or even off)? I have worked with php-oci8
and php5.2 without any collation problem this far (using ñ € ans so on...)

--
Miguel J. Jiménez
Programador Senior
Área de Internet/XSL/PHP
[EMAIL PROTECTED]

----------------------------------------------------

ISOTROL
Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta.
Parque Tecnológico Cartuja '93, 41092 Sevilla (ESP).
Teléfono: +34 955 036 800 - Fax: +34 955 036 849
http://www.isotrol.com

"You let a political fight  come between you and your best friend you have
in all the world. Do you realize how foolish that is? How ominous? How can
this country survive if friends can't rise above the quarrel".
Constance Hazard, North & South (book I)




--- End Message ---
--- Begin Message ---
Theodore Root escribió:
I have a question regarding static methods in PHP5.x. Specifically, it seems that one can access member variables declared private from static methods, just as you can from instance methods. I was wondering if this is by design, or if this "feature" might go away. I have worked up an example, hopefully it won't get mangled:

<?php

class TestClass
{
   private $myVar;
     public static function loadAllObjects()
   {
       $vars = array();
       $tempVar = new TestClass();
       $tempVar->myVar = "Example";
       $vars[] = $tempVar;
       return $vars;      }
}


$test = TestClass::loadAllObjects();

print_r($test);


?>


This code executes fine on PHP 5.2.0 with no errors or warnings, even though one might say that I have accessed the private $myVar from "outside" the instance of TestClass created in $tempVar. This "feature" is useful to me because I'd like to create a static method on my DB-persisted objects that lets me load an array of all of a given type of object from a database, building each one without having to use setters/getters for each member variable (not because thats difficult, but because its nice to be able to have private members that can't be accessed at all from the outside world), while avoiding "lazy loading". So essentially, my questions is, is the above functionality intended?


Thanks!

-TJ

Mmm pardon me if I am wrong but I think you have accessed the private variable using an instanced object inside the static method and what you are returning is fine... You did not access the private variable using $this->myVar ...

--
Miguel J. Jiménez
Programador Senior
Área de Internet/XSL/PHP
[EMAIL PROTECTED]

----------------------------------------------------

ISOTROL
Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta.
Parque Tecnológico Cartuja '93, 41092 Sevilla (ESP).
Teléfono: +34 955 036 800 - Fax: +34 955 036 849
http://www.isotrol.com

"You let a political fight  come between you and your best friend you have in all 
the world. Do you realize how foolish that is? How ominous? How can this country survive 
if friends can't rise above the quarrel".
Constance Hazard, North & South (book I)


--- End Message ---
--- Begin Message ---
On 16/05/07, Lee PHP <[EMAIL PROTECTED]> wrote:
    /** Insert record. */
    public function insert() {
        $sql = "INSERT INTO table (" .
                "field_1, " .
                "field_2, " .
                "field_3) " .
                "?, " .
                "?, " .
                "?)";
        echo "Server version: " .  self::$conn->server_info;
        $stmt = self::$conn->prepare($sql);
        $stmt->bind_param('sssssssssssss',
                $this->getField1(),
                $this->getField2(),
                $this->getField3());

Server version: 5.0.21-Debian_3ubuntu1-log
Fatal error: Call to a member function bind_param() on a non-object in
C:\blah\blah\blah

You've missing an open bracket in your INSERT statement. This is
causing your prepare() to fail, returning FALSE rather than a
statement object. You then call bind_param() on that and because it's
not an object you get the fatal error.

-robin

--- End Message ---
--- Begin Message ---
PHP list,

I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system.

However, I'm clearly messing up, as what I'm outputting is a bunch of ASCII gibberish to the screen.

What I think I need to do in principle is first create the image with imagecreatetruecolor(), then define it as a PNG (?), then display it.

So I've got something like this:

$image = ImageCreate($width, $height);
ImageFill($image, 0, 0, $black);
echo '<img " src="' . Imagepng($image) . '" height="' . $height . '" width="' . $width .'" alt="captcha" />' . "\n";
ImageDestroy($image);

As mentioned, this isn't working, so there's a fundamental concept about how PHP creates and displays images that I'm not getting.

I'm trying to output an image that, ideally, won't be stored as a file. Or, if it has to be a temporary file, to delete it immediately after displaying it.

What part am I not understanding?

Thank you for any advice or information.

--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-15-386

--- End Message ---
--- Begin Message ---
On 5/17/07, Dave M G <[EMAIL PROTECTED]> wrote:
PHP list,

I've looked at the manual entries for imagepng() and
imagecreatetruecolor() functions for helping me to create a temporary
image for a CAPTCHA system.

However, I'm clearly messing up, as what I'm outputting is a bunch of
ASCII gibberish to the screen.

What I think I need to do in principle is first create the image with
imagecreatetruecolor(), then define it as a PNG (?), then display it.

So I've got something like this:

$image = ImageCreate($width, $height);
ImageFill($image, 0, 0, $black);
echo '<img " src="' . Imagepng($image) . '" height="' . $height . '"
width="' . $width .'" alt="captcha" />' . "\n";
ImageDestroy($image);

As mentioned, this isn't working, so there's a fundamental concept about
how PHP creates and displays images that I'm not getting.

I'm trying to output an image that, ideally, won't be stored as a file.
Or, if it has to be a temporary file, to delete it immediately after
displaying it.

What part am I not understanding?

Thank you for any advice or information.


It's quite simple, a second PHP script should generate the image, not
the same as that isn't gonna work.

as src expects an url where the source is located, and what you are
doing is that you're giving the source right there.

so you should have a second script called image.php or such with code:
$image = ImageCreate($width, $height);
ImageFill($image, 0, 0, $black);
Imagepng($image);
ImageDestroy($image);

and then in your first page like
echo '<img " src="image.php" height="' . $height . '"
width="' . $width .'" alt="captcha" />' . "\n";


Tijnema

--- End Message ---
--- Begin Message ---
Save the image as a file. Then html src="filename"

Dave M G <[EMAIL PROTECTED]> wrote:  PHP list,

I've looked at the manual entries for imagepng() and 
imagecreatetruecolor() functions for helping me to create a temporary 
image for a CAPTCHA system.

However, I'm clearly messing up, as what I'm outputting is a bunch of 
ASCII gibberish to the screen.

What I think I need to do in principle is first create the image with 
imagecreatetruecolor(), then define it as a PNG (?), then display it.

So I've got something like this:

$image = ImageCreate($width, $height);
ImageFill($image, 0, 0, $black);
echo '' . "\n";
ImageDestroy($image);

As mentioned, this isn't working, so there's a fundamental concept about 
how PHP creates and displays images that I'm not getting.

I'm trying to output an image that, ideally, won't be stored as a file. 
Or, if it has to be a temporary file, to delete it immediately after 
displaying it.

What part am I not understanding?

Thank you for any advice or information.

-- 
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-15-386

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
2007. 05. 17, csütörtök keltezéssel 14.49-kor Tijnema ! ezt írta:
> On 5/17/07, Dave M G <[EMAIL PROTECTED]> wrote:
> > PHP list,
> >
> > I've looked at the manual entries for imagepng() and
> > imagecreatetruecolor() functions for helping me to create a temporary
> > image for a CAPTCHA system.
> >
> > However, I'm clearly messing up, as what I'm outputting is a bunch of
> > ASCII gibberish to the screen.
> >
> > What I think I need to do in principle is first create the image with
> > imagecreatetruecolor(), then define it as a PNG (?), then display it.
> >
> > So I've got something like this:
> >
> > $image = ImageCreate($width, $height);
> > ImageFill($image, 0, 0, $black);
> > echo '<img " src="' . Imagepng($image) . '" height="' . $height . '"
> > width="' . $width .'" alt="captcha" />' . "\n";
> > ImageDestroy($image);
> >
> > As mentioned, this isn't working, so there's a fundamental concept about
> > how PHP creates and displays images that I'm not getting.
> >
> > I'm trying to output an image that, ideally, won't be stored as a file.
> > Or, if it has to be a temporary file, to delete it immediately after
> > displaying it.
> >
> > What part am I not understanding?
> >
> > Thank you for any advice or information.
> >
> 
> It's quite simple, a second PHP script should generate the image, not
> the same as that isn't gonna work.
> 
> as src expects an url where the source is located, and what you are
> doing is that you're giving the source right there.
> 
> so you should have a second script called image.php or such with code:
> $image = ImageCreate($width, $height);
> ImageFill($image, 0, 0, $black);
> Imagepng($image);
> ImageDestroy($image);

don't forget to send proper content-type header before the image data

header("content-type: image/png");

or something like that

greets
Zoltán Németh

> 
> and then in your first page like
> echo '<img " src="image.php" height="' . $height . '"
> width="' . $width .'" alt="captcha" />' . "\n";
> 
> 
> Tijnema
> 

--- End Message ---
--- Begin Message ---
Has anyone had any experience opening and reading Paradox (.db) files
using PHP?

Are there any plug-ins/extensions available that someone can recommend?

 

Thanks,

Dave

 


**********************************************************************
HTC Disclaimer:  The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.
**********************************************************************


--- End Message ---
--- Begin Message ---
Hello folks, 

I am a PHP NEWBIE. 

- I have the following three choices for shopping carts on my server:

CubeCart
OS Commerce
Zen Cart

Q: Does anybody have any preferences for creating a simple store?



--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]

--- End Message ---
--- Begin Message ---
Hi all,

I'm very happy to announce that I've just released my comprehensive
guide to installing, configuring and running Apache 2, PHP 4.4.7 and
PHP 5.2.2 on Windows XP. The guide is broken down into small
manageable sections and contains over 50 screen shots of the entire
process, so you won't go wrong while following it.

It covers everything from installing Apache, to setting up a Virtual
host to switching between PHP 4 and 5. A troubleshooting section and
further advice rounds-off the guide.

You can read the guide here: http://wamp.corephp.co.uk

Please send comments / suggestions / typos to me.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--- End Message ---
--- Begin Message ---
On 5/17/07, Richard Davey <[EMAIL PROTECTED]> wrote:

Hi all,

I'm very happy to announce that I've just released my comprehensive
guide to installing, configuring and running Apache 2, PHP 4.4.7 and
PHP 5.2.2 on Windows XP. The guide is broken down into small
manageable sections and contains over 50 screen shots of the entire
process, so you won't go wrong while following it.

It covers everything from installing Apache, to setting up a Virtual
host to switching between PHP 4 and 5. A troubleshooting section and
further advice rounds-off the guide.

You can read the guide here: http://wamp.corephp.co.uk

Please send comments / suggestions / typos to me.

Cheers,

Rich
--
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


   Congratulations on a job well done, Rich.  I took a glance through and
checked every link (including download/page links and previous/next/index
links) on the site, and it all looks good.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--- End Message ---
--- Begin Message ---
On Thu, 2007-05-17 at 16:26 +0100, Richard Davey wrote:
> Hi all,
> 
> I'm very happy to announce that I've just released my comprehensive
> guide to installing, configuring and running Apache 2, PHP 4.4.7 and
> PHP 5.2.2 on Windows XP. The guide is broken down into small
> manageable sections and contains over 50 screen shots of the entire
> process, so you won't go wrong while following it.
> 
> It covers everything from installing Apache, to setting up a Virtual
> host to switching between PHP 4 and 5. A troubleshooting section and
> further advice rounds-off the guide.
> 
> You can read the guide here: http://wamp.corephp.co.uk
> 
> Please send comments / suggestions / typos to me.

Suggestion: get rid of Windows XP and use a real OS

Comment: Vista doesn't count

Typo: http://wamp.corephp.co.uk/help_01.php
      "If Apache HAS worked previously in the past"

      You have "previously" and "the past" redundancy since
      previous implies the past and past implies previous.

:)

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

--- End Message ---
--- Begin Message ---
Hi Robert,

Thursday, May 17, 2007, 4:43:14 PM, you wrote:

> Suggestion: get rid of Windows XP and use a real OS

There's always one ;)

>       You have "previously" and "the past" redundancy since
>       previous implies the past and past implies previous.

Fixed :)

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--- End Message ---
--- Begin Message ---
On 5/17/07, Richard Davey <[EMAIL PROTECTED]> wrote:
> Suggestion: get rid of Windows XP and use a real OS

There's always one ;)


No, there's more than one.


--
Greg Donald
http://destiney.com/

--- End Message ---
--- Begin Message ---
Hi Greg,

Thursday, May 17, 2007, 5:01:18 PM, you wrote:

>> There's always one ;)

> No, there's more than one.

Sure, but you're in the minority*, so what do I care? :)

* I just took the Zend PHP IDE research poll, and at the end it gives
you the chance to view the stats of everyone else who took the poll.
Interestingly, 70% of them use Windows XP for development.

I actually use a combination of Vista and OS X, which puts me in the
11% and 19% categories respectively.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--- End Message ---
--- Begin Message ---
On Thu, 2007-05-17 at 17:19 +0100, Richard Davey wrote:
> Hi Greg,
> 
> Thursday, May 17, 2007, 5:01:18 PM, you wrote:
> 
> >> There's always one ;)
> 
> > No, there's more than one.
> 
> Sure, but you're in the minority*, so what do I care? :)
> 
> * I just took the Zend PHP IDE research poll, and at the end it gives
> you the chance to view the stats of everyone else who took the poll.
> Interestingly, 70% of them use Windows XP for development.

http://en.wikipedia.org/wiki/Argumentum_ad_populum

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

--- End Message ---
--- Begin Message ---
Richard Davey wrote:
Sure, but you're in the minority*, so what do I care? :)

* I just took the Zend PHP IDE research poll, and at the end it gives
you the chance to view the stats of everyone else who took the poll.
Interestingly, 70% of them use Windows XP for development.

I actually use a combination of Vista and OS X, which puts me in the
11% and 19% categories respectively.

I find it funny that the addition of the numbers above would logically put me in the 0% category.

My $0.02...I use Linux almost 100% of the time at work, and consider myself to be a "linux guy". That said, I disagree with people who discard Windows as an option. If you develop in PHP, chances are pretty good that more than 85% of the people you're developing for will use Windows to view your end result. In my book, that makes a WAMP workstation/laptop a pretty good self-contained development environment.

"Argumentum ad populum" doesn't apply in the usage-for-development case. It's not asking "If everyone else jumped off a bridge would you jump too?" It's asking "If everyone else jumped off a bridge, would you design your bridge with a soft fluffy landing spot?"

jon

--- End Message ---
--- Begin Message ---
On 5/17/07, Richard Davey <[EMAIL PROTECTED]> wrote:
Sure, but you're in the minority*, so what do I care? :)

I'm not asking you to care.  Windoze still sucks, no matter how many
idiots use it.  The virus protection racket alone is enough to make me
throw up.


--
Greg Donald
http://destiney.com/

--- End Message ---
--- Begin Message ---
Hi Jon,

Thursday, May 17, 2007, 5:46:12 PM, you wrote:

> I find it funny that the addition of the numbers above would logically
> put me in the 0% category.

You could select multiple operating systems from the list. 50% of them
used Linux too. It didn't show how the results were mixed though, i.e.
of the 70%+ that used XP, did 10% or 90% of them also use Linux.

I thought it interesting none-the-less.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--- End Message ---
--- Begin Message ---
Hi Greg,

Thursday, May 17, 2007, 5:49:45 PM, you wrote:

>> Sure, but you're in the minority*, so what do I care? :)

> I'm not asking you to care.  Windoze still sucks, no matter how many
> idiots use it.  The virus protection racket alone is enough to make me
> throw up.

Viruses? God, that old bullshit ladened chestnut*. At least come up
with some kind of valid OS argument, please. If you'd gone for
'competent use of the CPU', or 'effective memory management', you'd be
worth taking seriously.

Unless you're not asking me to take you seriously of course.

Cheers,

Rich
* I've not had a virus -infect- a Windows box for over a decade.
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--- End Message ---

Reply via email to