OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
php-general Digest 15 Feb 2008 21:32:05 -0000 Issue 5295

php-general-digest-helplists.php.net
Date: Fri Feb 15 2008 - 15:32:05 CST


php-general Digest 15 Feb 2008 21:32:05 -0000 Issue 5295

Topics (messages 269361 through 269391):

Re: Create collections of objects
        269361 by: Peter Ford
        269367 by: Emilio Astarita
        269370 by: Peter Ford

stream_select problem with signals
        269362 by: Marcos Lois Bermúdez
        269363 by: Nathan Rixham

Re: XSLTProcessor without validation
        269364 by: Andrew Ballard

Question about cURL, and iFrames...
        269365 by: Jason Pruim

Re: Gzipped output
        269366 by: Eric Butera

Re: Sending XML to MSIE7
        269368 by: Brian Dunning
        269369 by: Stut
        269371 by: Peter Ford
        269372 by: Shawn McKenzie

https forced redirect question
        269373 by: nihilism machine
        269374 by: Robert Cummings
        269375 by: Robert Cummings
        269390 by: Jim Lucas

check if website has www. in front of domain
        269376 by: nihilism machine
        269377 by: Daniel Brown
        269381 by: Daniel Brown
        269389 by: Daniel Brown

www. check still not working
        269378 by: nihilism machine
        269379 by: Anjan Upadhya
        269384 by: Nathan Rixham
        269385 by: nihilism machine

www. not working
        269380 by: nihilism machine
        269382 by: Daniel Brown
        269383 by: Daniel Brown

Posting Summary for Week Ending 15 February, 2008: php-generallists.php.net
        269386 by: PostTrack [Dan Brown]
        269391 by: Nathan Rixham

Re: question about database field-types and special characters
        269387 by: tedd
        269388 by: tedd

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

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

attached mail follows:


Emilio Astarita wrote:
> Hi people,
>
> I want a class that allows create objects that get the information
> consulting the DB. So, I am thinking to do something like this:
>
> class element {
> public __construct($id,$type = 'id') {
> switch($type) {
> case 'id':
> $where = sprintf(" id = %d ",$id);
> break;
> case 'name':
> $where = sprintf(" name = %s ",escape($id));
> break;
> //...
> // get the row and call setName($row['name'])...
> }
> }
> }
>
> This works fine, but also I want a good way (efficient) of getting a
> collection of these objects. I can't figure a convenient way. A static
> function its a good posibility? I have some ideas but they imply public
> setters of the class `element'.
>
> Thanks for any help.
>

A static method should still be able to set values of private members. I do
something like:

class Element
{
  private $id;
  private $name;

  public __construct()
  {
    // Do general construction tasks...
  }

  public static bulkLoad($id,$type='id')
  {
    $ret = Array();
    $sql = 'SELECT id,name FROM Table ';
    switch ($type)
    {
      case 'id':
        $sql .= 'WHERE id ILIKE $1'; // Use ILIKE to allow for wildcards
        break;
      case 'name':
        $sql .= 'WHERE ILIKE $1'; // Use ILIKE to allow for wildcards
        break;
      //...
    }
    $params = Array($id);
    // I use postgreSQL parameterised queries a lot - saves lots of quoting etc.
    // Note: NO ERROR CHECKING in this example...
    $data = pg_fetch_all(pg_query_params($sql,$params));
    foreach ($data as $row)
    {
      $elem = new Element(); // No-args constructor
      $elem->id = $row['id'];
      $elem->name = $row['name'];
      $ret[$id] = $elem;
    }
    return $ret;
  }
}

Then you get an array of elements which match the (possibly wild-carded)
condition, indexed by the element Id (useful for making HTML <select> lists, for
example).

In fact, I have a base class which implements this by class introspection -
filling the properties of objects which extend it by mapping them to the
database fields...

--
Peter Ford phone: 01580 893333
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent

attached mail follows:


Peter Ford <petejustcroft.com> writes:

> Emilio Astarita wrote:
>> Hi people,
>>
>
> A static method should still be able to set values of private members. I do
> something like:
> ...
>

Thank you, I was not sure how to implement it.

Another question. It would be a better approach, making the constructor
private?

> Then you get an array of elements which match the (possibly wild-carded)
> condition, indexed by the element Id (useful for making HTML <select> lists, for
> example).
>
> In fact, I have a base class which implements this by class introspection -
> filling the properties of objects which extend it by mapping them to the
> database fields...
>

Good idea. Do you use a script to do mapping or you ask by the fields
to the database with the name of the table?

Thanks again

--

Emilio Astarita <emilio.astaritagmail.com>

attached mail follows:


Emilio Astarita wrote:
> Peter Ford <petejustcroft.com> writes:
>
>> Emilio Astarita wrote:
>>> Hi people,
>>>
>> A static method should still be able to set values of private members. I do
>> something like:
>> ...
>>
>
> Thank you, I was not sure how to implement it.
>
> Another question. It would be a better approach, making the constructor
> private?

Maybe: I use the constructor in other places, so in my case, no.
>
>> Then you get an array of elements which match the (possibly wild-carded)
>> condition, indexed by the element Id (useful for making HTML <select> lists, for
>> example).
>>
>> In fact, I have a base class which implements this by class introspection -
>> filling the properties of objects which extend it by mapping them to the
>> database fields...
>>
>
> Good idea. Do you use a script to do mapping or you ask by the fields
> to the database with the name of the table?
>
> Thanks again
>

I have the classes which extend my BaseData class provide the SQL statement they
will use (or at least the bit between 'SELECT' and 'WHERE'), and also an array
of database field -> class property mappings.

This is really overkill, since you can use something like "SELECT foo AS id, bar
AS name ..." to do the mapping to field names directly from the SQL.

Letting the Element class define the SQL to get itself also lets you do some
processing of the database, such as using JOINS across tables, COALESCE to
provide default values where NULL is stored, and all sorts of useful database
tricks. That makes the database share the work and cuts out some of the PHP
processing...

--
Peter Ford phone: 01580 893333
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent

attached mail follows:


I'm rewriting an API to access OneWire Net, i have a problem with select
and signals. The class will support both types of sockets, trought BSD
sockets and with streams.

My problem is that when the PHP app is in socket select and a signal
arrives it threat it as a error, so i can fix in socket_select using
socket_last_error in this form:

     $n = socket_select($_read, $_write, $_except, $sec, $usec);
                if($n === false) {
                    if(socket_last_error($this->_sock) == 0) {
                        // signal break the select
                        $timeout -= (microtime(true) - $start);
                    } else {
                        // Error, not interrupted by signal
                        return false;
                    }
                } else {
                    return $n;
                }

This work, but i can't determine if a signal interrupted the
stream_select, there is a way to detect this?

Regards.

attached mail follows:


Marcos Lois Bermúdez wrote:
> I'm rewriting an API to access OneWire Net, i have a problem with select
> and signals. The class will support both types of sockets, trought BSD
> sockets and with streams.
>
> My problem is that when the PHP app is in socket select and a signal
> arrives it threat it as a error, so i can fix in socket_select using
> socket_last_error in this form:
>
> $n = socket_select($_read, $_write, $_except, $sec, $usec);
> if($n === false) {
> if(socket_last_error($this->_sock) == 0) {
> // signal break the select
> $timeout -= (microtime(true) - $start);
> } else {
> // Error, not interrupted by signal
> return false;
> }
> } else {
> return $n;
> }
>
>
> This work, but i can't determine if a signal interrupted the
> stream_select, there is a way to detect this?
>
> Regards.

socket_strerror(socket_last_error()) maybe?

attached mail follows:


On Fri, Feb 15, 2008 at 3:31 AM, Zoltån Németh <znemethalterationx.hu>
wrote:

> 2008. 02. 15, péntek keltezéssel 07.54-kor Siegfried Gipp ezt írta:
> > Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch:
> >
> > > You could also consider filing a "Feature Request" in
> > > http://bugs.php.net/
> > Well, the bug reporting page has a bug. A graphical captcha is needed,
> but
> > there is no such captcha. Repetitive loading does not change this.
> >
> > From an accessibility point of view graphical captchas are a bad idea.
> Not
> > existing, but required graphical captchas are an even worse idea. This
> way
> > the bug report mechanism is essentially 100% inaccessible :)
>
> you mean this page?
> http://bugs.php.net/report.php
>
> the captcha is clearly there for me (firefox, ubuntu linux)... however
> if it is not there in every browser that's a bug which should be
> reported :)
>
> greets
> Zoltån Németh
>
> >
> > Regards
> > Siegfried
> >
>
>
It's there for me as well. (Firefox and IE6, Windows XP). Any chance you've
got a browser plugin or other "feature" that is blocking the image?

Andrew

attached mail follows:


Happy friday to all of you!

May the Beer[1] flow freely from the kegs to your lips after work!

I am trying to think through something, I am writing a simple proxy
script for my own knowledge and to simplify my life :)

What I want to do is bring in multiple website by going to 1 webpage
(Think RSS for the entire website) have all the links work properly,
login to the pages etc. etc. etc. I think I can do this with cURL
which can pull the page in and display it properly, but I'm wondering
if I should be displaying in an iFrame to keep my navigation links at
the top to go around my site?

Another thing that I'm trying to figure out, is if you can
automacially fill in usernames/passwords if you can find the name of
the box it goes in? simply put... txtUsername = "$_POST['Username'];
will that fill it in on the remote site?

Anyone ever done anything like this that I could look at some code for?

I keep searching for stuff like PHP Proxy, and get all of these sites
that ARE proxy's... Not quite what I want...

Thanks for looking!

[1]Or coke, Pepsi, Liquor, etc. etc. etc....
--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruimraoset.com

attached mail follows:


On Thu, Feb 14, 2008 at 3:52 PM, Richard Lynch <ceol-i-e.com> wrote:
>
>
> On Mon, February 11, 2008 9:59 am, Eric Butera wrote:
> > On Feb 11, 2008 10:44 AM, Per Jessen <percomputer.org> wrote:
> >> Eric Butera wrote:
> >>
> >> >> I like it from a coding point of view (it's neat and elegant),
> >> but I
> >> >> don't think it achieves anything else than my initial suggestion
> >> of
> >> >> using exec(gzip -c).
> >> >>
> >> >
> >> > Except for that little thing where you shouldn't be using execs in
> >> > public facing code.
> >>
> >> Why not?
> >
>
> > You should never use exec & friends when there is another way around
> > the problem. It is a security concern.
>
> The only security concern I am aware of is if you pass in user
> supplied data to the exec() arg...
>
> And if you filter it properly, it is no more risky than anything else.
>
> If you don't filter properly, then you're in trouble no matter what
> external lib you are using...
>
>
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/from/lynch
> Yeah, I get a buck. So?
>
>

Okay so let's just take a look at how many applications across the
internet have SQL vulns.

Look at secunia.

http://secunia.com/search/?search=sql

"Found: 2625 Secunia Security Advisories, displaying 1-25"

Oh crap! So let's just assume we're all idiots and we can't secure
our applications. Since we can't secure our applications we need to
take the next step which is damage control. At least against sql
injection we can re-roll our backup and be online in a few minutes
with the appropriate patch.

Let us look at XSS now. http://sla.ckers.org/forum/list.php?2 Looks
like there are quite a few of those too. If Google/Yahoo can't stop
this stuff how are us mere mortals supposed to?

With the ability to run raw executable commands, you're going to have
a lot harder time fixing that situation. So yes, it is possible to
run stuff safely and secure like, but not it is not easy and is very
error prone. That is why I recommend to never even attempt it.

attached mail follows:


I just tried that, and unfortunately the MSIE7 toolkit behavior was
the same. Darn, I had high hopes for your suggestion as soon as I read
it. I fear this means there's little we can do server-side in PHP,
except to choose something other than XML for the result.

On Feb 14, 2008, at 11:56 PM, Per Jessen wrote:

> Brian Dunning wrote:
>
>> Does anyone know if there's a way to send XML to MSIE7 and avoid
>> having MSIE mangle the XML with CSS to display it pleasantly as HTML?
>>
>
> Isn't it enough to send it with Content-Type: application/octet-
> stream ?

attached mail follows:


Brian Dunning wrote:
> I just tried that, and unfortunately the MSIE7 toolkit behavior was the
> same. Darn, I had high hopes for your suggestion as soon as I read it. I
> fear this means there's little we can do server-side in PHP, except to
> choose something other than XML for the result.

You should be able to put in your own XSLT that ensures the XML file is
presented unchanged. Dunno if IE7 will obey it but certainly worth a try.

-Stut

--
http://stut.net/

attached mail follows:


Stut wrote:
> Brian Dunning wrote:
>> I just tried that, and unfortunately the MSIE7 toolkit behavior was
>> the same. Darn, I had high hopes for your suggestion as soon as I read
>> it. I fear this means there's little we can do server-side in PHP,
>> except to choose something other than XML for the result.
>
> You should be able to put in your own XSLT that ensures the XML file is
> presented unchanged. Dunno if IE7 will obey it but certainly worth a try.
>
> -Stut
>

I came up against this a while ago, and my work-around was the XSLT solution you
suggest, Stut.
I have a stylesheet called 'copy.xsl', like this:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="UTF-8" standalone="yes"
media-type="text/html" doctype-public="-//W3C//DTD HTML 4.01//EN"/>
    <xsl:template match="/">
        <xsl:copy-of select='.'/>
    </xsl:template>
</xsl:stylesheet>

and then insert

<?xml-stylesheet type='text/xsl' href='copy.xsl'?>

into the XML I am returning - you'd have to make sure that the href actually
points to your file with an absolute URL, to be certain...

That seems to work - IE7 sees the xml-stylesheet PI and doesn't then try to
mangle the XML in it's own special way. Only problem is the extra hit on the
server to get the XSLT... :(

--
Peter Ford phone: 01580 893333
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent

attached mail follows:


Brian Dunning wrote:
> I just tried that, and unfortunately the MSIE7 toolkit behavior was the
> same. Darn, I had high hopes for your suggestion as soon as I read it. I
> fear this means there's little we can do server-side in PHP, except to
> choose something other than XML for the result.
>
>
> On Feb 14, 2008, at 11:56 PM, Per Jessen wrote:
>
>> Brian Dunning wrote:
>>
>>> Does anyone know if there's a way to send XML to MSIE7 and avoid
>>> having MSIE mangle the XML with CSS to display it pleasantly as HTML?
>>>
>>
>> Isn't it enough to send it with Content-Type: application/octet-stream ?

Do you want the user to download the file? Try using:
'Content-Disposition: attachment; filename="..."'

If you want to display the raw xml, you must uncheck an option in ie7 to
disable the style sheet.

-Shawn

attached mail follows:


why isnt this redirecting my page to https://www.mydomain.com instead
the page stays at my domain.com
<?php

class URL {

        // Public Variables
        public $HTTPS;
        public $ServerName;
        public $WWW;
        
        // Public Functions
        
        public function __construct() {
                $this->checkHTTPS();
                $this->checkWWW();
                $this->ServerName = $_SERVER['SERVER_NAME'];
        }
        
        // Check if HTTPS
        public function checkHTTPS() {
                if ($_SERVER['HTTPS'] != "on") {
                        $this->HTTPS = false;
                } else {
                        $this->HTTPS = true;
                }
        }
        
        // Redirect to HTTPS Site
        public function HTTPSRedirect() {
                if($this->HTTPS = false) {
                        $redir = "Location: https://" . $_SERVER['SERVER_NAME'];
                        echo $redir;
                        header($redir);
                }
        }
        
        // Check if site is preceeded by 'WWW'
        public function checkWWW() {
                 return true;
        }
        
        // Redirect to WWW
        public function WWWRedirect() {
                if ($this->WWW = false) {
                        $redir = "Location: http://www." . $_SERVER['SERVER_NAME'];
                        header($redir);
                }
        }

}

$myURL = new URL();
$myURL->HTTPSRedirect();

?>

attached mail follows:


On Fri, 2008-02-15 at 14:58 -0500, nihilism machine wrote:
> why isnt this redirecting my page to https://www.mydomain.com instead
> the page stays at my domain.com
> <?php
>
> class URL {
>
> // Public Variables
> public $HTTPS;
> public $ServerName;
> public $WWW;
>
> // Public Functions
>
> public function __construct() {
> $this->checkHTTPS();
> $this->checkWWW();
> $this->ServerName = $_SERVER['SERVER_NAME'];
> }
>
> // Check if HTTPS
> public function checkHTTPS() {
> if ($_SERVER['HTTPS'] != "on") {
> $this->HTTPS = false;
> } else {
> $this->HTTPS = true;
> }
> }
>
> // Redirect to HTTPS Site
> public function HTTPSRedirect() {
> if($this->HTTPS = false) {

Because you're assigning false. Some people switch the order of the
operands so that a typoe like this generates an order. Personally, I
just live on the edge ;)

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. |
`------------------------------------------------------------'

attached mail follows:


On Fri, 2008-02-15 at 15:05 -0500, Robert Cummings wrote:
> On Fri, 2008-02-15 at 14:58 -0500, nihilism machine wrote:
> > why isnt this redirecting my page to https://www.mydomain.com instead
> > the page stays at my domain.com
> > <?php
> >
> > class URL {
> >
> > // Public Variables
> > public $HTTPS;
> > public $ServerName;
> > public $WWW;
> >
> > // Public Functions
> >
> > public function __construct() {
> > $this->checkHTTPS();
> > $this->checkWWW();
> > $this->ServerName = $_SERVER['SERVER_NAME'];
> > }
> >
> > // Check if HTTPS
> > public function checkHTTPS() {
> > if ($_SERVER['HTTPS'] != "on") {
> > $this->HTTPS = false;
> > } else {
> > $this->HTTPS = true;
> > }
> > }
> >
> > // Redirect to HTTPS Site
> > public function HTTPSRedirect() {
> > if($this->HTTPS = false) {
>
>
> Because you're assigning false. Some people switch the order of the
> operands so that a typoe like this generates an order. Personally, I
                                                  ^^^^^
Should be "error".

For some reason my finger to brain connection has been experiencing an
inordinate number of erroneous packets today.

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. |
`------------------------------------------------------------'

attached mail follows:


Robert Cummings wrote:
> On Fri, 2008-02-15 at 15:05 -0500, Robert Cummings wrote:
>> On Fri, 2008-02-15 at 14:58 -0500, nihilism machine wrote:
>>> why isnt this redirecting my page to https://www.mydomain.com instead
>>> the page stays at my domain.com
>>> <?php
>>>
>>> class URL {
>>>
>>> // Public Variables
>>> public $HTTPS;
>>> public $ServerName;
>>> public $WWW;
>>>
>>> // Public Functions
>>>
>>> public function __construct() {
>>> $this->checkHTTPS();
>>> $this->checkWWW();
>>> $this->ServerName = $_SERVER['SERVER_NAME'];
>>> }
>>>
>>> // Check if HTTPS
>>> public function checkHTTPS() {
>>> if ($_SERVER['HTTPS'] != "on") {
>>> $this->HTTPS = false;
>>> } else {
>>> $this->HTTPS = true;
>>> }
>>> }
>>>
>>> // Redirect to HTTPS Site
>>> public function HTTPSRedirect() {
>>> if($this->HTTPS = false) {
>>
>> Because you're assigning false. Some people switch the order of the
>> operands so that a typoe like this generates an order. Personally, I
> ^^^^^
> Should be "error".
>
> For some reason my finger to brain connection has been experiencing an
> inordinate number of erroneous packets today.
>
> Cheers,
> Rob.

You should possibly try a reboot. I have found that this helps, once in
a while.

But also, in this case the OP could opt-out of assigning anything and
just use this instead.

if ( $this->HTTPS ) {
        ...
}

He is already assigning a value either way it gets called

Jim Lucas

attached mail follows:


here is my function:

        // Check if site is preceeded by 'WWW'
        public function checkWWW() {
                $myDomain = $_SERVER['SERVER_NAME'];
                $FindWWW = 'wwww.';
                $POS = strpos($myDomain, $FindWWW);
                if ($POS === false) {
                        return false;
                } else {
                        return true;
                }
        }

any idea why this is not working? just trying to test if the site is www.site.com
  and not site.com

-------------------------------
Edward H. Hotchkiss
Chief Technical Officer
Durgle, INC
edwarddurgle.com
http://www.durgle.com
-------------------------------

attached mail follows:


On Fri, Feb 15, 2008 at 3:18 PM, nihilism machine
<nihilismmachinegmail.com> wrote:
> here is my function:
>
> // Check if site is preceeded by 'WWW'
> public function checkWWW() {
> $myDomain = $_SERVER['SERVER_NAME'];
> $FindWWW = 'wwww.';
> $POS = strpos($myDomain, $FindWWW);
> if ($POS === false) {
> return false;
> } else {
> return true;
> }
> }

    Aside from the fact that $FindWWW contains 4 w's?

--
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

attached mail follows:


    Please don't start a new thread for every time you change a bit of
your code. It messes up the archives and fills people's inboxes.

    In any case, change the following two functions as shown. You
were setting $this->WWW to False (with only one = operator), and you
should also use $_SERVER['HTTP_HOST'] as that's the domain that was
accessed. If you use $_SERVER['SERVER_NAME'] it uses the
server-configured name. If the server is configured as www.blah.com
it will redirect to www.www.blah.com. Conversely, if
$_SERVER['SERVER_NAME'] == blah.com then the expression will always
evaluate to true, regardless of how it was accessed.

       // Check if site is preceeded by 'WWW'
       public function checkWWW() {
               $myDomain = $_SERVER['HTTP_HOST'];
               $FindWWW = 'www.';
               $POS = strpos($myDomain, $FindWWW);
               if ($POS === 1) {
                       $this->WWW = true;
               } else {
                       $this->WWW = false;
               }
       }

       // Redirect to WWW
       public function WWWRedirect() {
               if ($this->WWW == false) {
                       $redir = "Location:
http://www.".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
                       header($redir);
               }
       }

--
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

attached mail follows:


On Fri, Feb 15, 2008 at 3:55 PM, nihilism machine
<nihilismmachinegmail.com> wrote:
> Still doing the old behavior (www.www.domain.com)

    This code works. You can see it in action at
http://www.pilotpig.net/code-library/checkwww.php and see the source
at http://www.pilotpig.net/code-library/source.php?f=checkwww.php.

<?php

class URL {

       // Public Variables
       public $HTTPS;
       public $ServerName;
       public $WWW;

       // Public Functions

       public function __construct() {
               $this->checkWWW();
       }

       // Check if site is preceeded by 'WWW'
       public function checkWWW() {
               if(preg_match('/^www\./Ui',$_SERVER['HTTP_HOST'])) {
                       $this->WWW = true;
               } else {
                       $this->WWW = false;
               }
       }

       // Redirect to WWW
       public function WWWRedirect() {
               if ($this->WWW == false) {
                       $redir = "Location:
http://www.".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
                       header($redir);
               }
       }
}

$myURL = new URL();
$myURL->WWWRedirect();

?>

--
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

attached mail follows:


<?php

class URL {

        // Public Variables
        public $HTTPS;
        public $ServerName;
        public $WWW;
        
        // Public Functions
        
        public function __construct() {
                $this->checkWWW();
        }
        
        // Check if site is preceeded by 'WWW'
        public function checkWWW() {
                $myDomain = $_SERVER['SERVER_NAME'];
                $FindWWW = 'www.';
                $POS = strpos($myDomain, $FindWWW);
                if ($POS === 1) {
                        $this->WWW = true;
                } else {
                        $this->WWW = false;
                }
        }

        // Redirect to WWW
        public function WWWRedirect() {
                if ($this->WWW = false) {
                        $redir = "Location: http://www." . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'];
                        header($redir);
                }
        }
}

$myURL = new URL();
$myURL->WWWRedirect();

?>

attached mail follows:


    // Redirect to WWW
    public function WWWRedirect() {
        if ($this->WWW == false) {
            $redir = "Location: http://www." . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'];
            header($redir);
        }
    }

Regards,
Anjan Upadhya

nihilism machine wrote:
> <?php
>
> class URL {
>
> // Public Variables
> public $HTTPS;
> public $ServerName;
> public $WWW;
>
> // Public Functions
>
> public function __construct() {
> $this->checkWWW();
> }
>
> // Check if site is preceeded by 'WWW'
> public function checkWWW() {
> $myDomain = $_SERVER['SERVER_NAME'];
> $FindWWW = 'www.';
> $POS = strpos($myDomain, $FindWWW);
> if ($POS === 1) {
> $this->WWW = true;
> } else {
> $this->WWW = false;
> }
> }
>
> // Redirect to WWW
> public function WWWRedirect() {
> if ($this->WWW = false) {
> $redir = "Location: http://www." . $_SERVER['SERVER_NAME']
> . $_SERVER['REQUEST_URI'];
> header($redir);
> }
> }
> }
>
> $myURL = new URL();
> $myURL->WWWRedirect();
>
> ?>
>

attached mail follows:


Anjan Upadhya wrote:
> // Redirect to WWW
> public function WWWRedirect() {
> if ($this->WWW == false) {
> $redir = "Location: http://www." . $_SERVER['SERVER_NAME'] .
> $_SERVER['REQUEST_URI'];
> header($redir);
> }
> }
>
> Regards,
> Anjan Upadhya
>
>
>
> nihilism machine wrote:
>> <?php
>>
>> class URL {
>>
>> // Public Variables
>> public $HTTPS;
>> public $ServerName;
>> public $WWW;
>> // Public Functions
>> public function __construct() {
>> $this->checkWWW();
>> }
>> // Check if site is preceeded by 'WWW'
>> public function checkWWW() {
>> $myDomain = $_SERVER['SERVER_NAME'];
>> $FindWWW = 'www.';
>> $POS = strpos($myDomain, $FindWWW);
>> if ($POS === 1) {
>> $this->WWW = true;
>> } else {
>> $this->WWW = false;
>> }
>> }
>>
>> // Redirect to WWW
>> public function WWWRedirect() {
>> if ($this->WWW = false) {
>> $redir = "Location: http://www." . $_SERVER['SERVER_NAME']
>> . $_SERVER['REQUEST_URI'];
>> header($redir);
>> }
>> }
>> }
>>
>> $myURL = new URL();
>> $myURL->WWWRedirect();
>>
>> ?>
>>
and

public function checkWWW() {
$this->WWW = (strtolower(trim(substr($_SERVER['SERVER_NAME'],0,4))) ==
'www.');
}

attached mail follows:


thank you everyone!

On Feb 15, 2008, at 3:53 PM, Nathan Rixham wrote:

> Anjan Upadhya wrote:
>> // Redirect to WWW
>> public function WWWRedirect() {
>> if ($this->WWW == false) {
>> $redir = "Location: http://www." .
>> $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
>> header($redir);
>> }
>> }
>> Regards,
>> Anjan Upadhya
>> nihilism machine wrote:
>>> <?php
>>>
>>> class URL {
>>>
>>> // Public Variables
>>> public $HTTPS;
>>> public $ServerName;
>>> public $WWW;
>>> // Public Functions
>>> public function __construct() {
>>> $this->checkWWW();
>>> }
>>> // Check if site is preceeded by 'WWW'
>>> public function checkWWW() {
>>> $myDomain = $_SERVER['SERVER_NAME'];
>>> $FindWWW = 'www.';
>>> $POS = strpos($myDomain, $FindWWW);
>>> if ($POS === 1) {
>>> $this->WWW = true;
>>> } else {
>>> $this->WWW = false;
>>> }
>>> }
>>>
>>> // Redirect to WWW
>>> public function WWWRedirect() {
>>> if ($this->WWW = false) {
>>> $redir = "Location: http://www." .
>>> $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
>>> header($redir);
>>> }
>>> }
>>> }
>>>
>>> $myURL = new URL();
>>> $myURL->WWWRedirect();
>>>
>>> ?>
>>>
> and
>
> public function checkWWW() {
> $this->WWW = (strtolower(trim(substr($_SERVER['SERVER_NAME'],0,4)))
> == 'www.');
> }
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

attached mail follows:


this still does not work, if a domain has no preceeding www. it
redirects to http://www.www.site.com, if it has a www. it goes to www.www.mydomain.com
, any ideas?

<?php

class URL {

        // Public Variables
        public $ServerName;
        public $WWW;
        
        // Public Functions
        
        public function __construct() {
                $this->checkWWW();
                $this->ServerName = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
        }
        
        // Check if site is preceeded by 'WWW'
        public function checkWWW() {
                $myDomain = $_SERVER['SERVER_NAME'];
                $FindWWW = 'www.';
                $POS = strpos($myDomain, $FindWWW);
                if ($POS === 1) {
                        $this->WWW = true;
                } else {
                        $this->WWW = false;
                }
        }

        // Redirect to WWW
        public function WWWRedirect() {
                if ($this->WWW == false) {
                        $redir = "Location: http://www." . $this->ServerName;
                        header($redir);
                       }
           }

}

$myURL = new URL();
$myURL->WWWRedirect();

?>

attached mail follows:


    Go back to the original thread you started (https ....).

On Fri, Feb 15, 2008 at 3:46 PM, nihilism machine
<nihilismmachinegmail.com> wrote:
> this still does not work, if a domain has no preceeding www. it
> redirects to http://www.www.site.com, if it has a www. it goes to www.www.mydomain.com
> , any ideas?
>
> <?php
>
> class URL {
>
> // Public Variables
> public $ServerName;
> public $WWW;
>
> // Public Functions
>
> public function __construct() {
> $this->checkWWW();
> $this->ServerName = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
> }
>
> // Check if site is preceeded by 'WWW'
> public function checkWWW() {
> $myDomain = $_SERVER['SERVER_NAME'];
> $FindWWW = 'www.';
> $POS = strpos($myDomain, $FindWWW);
> if ($POS === 1) {
> $this->WWW = true;
> } else {
> $this->WWW = false;
> }
> }
>
> // Redirect to WWW
> public function WWWRedirect() {
> if ($this->WWW == false) {
> $redir = "Location: http://www." . $this->ServerName;
> header($redir);
> }
> }
>
> }
>
> $myURL = new URL();
> $myURL->WWWRedirect();
>
> ?>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

attached mail follows:


    I'm sorry, the thread to which I was referring is "check if
website has www. in front of domain".

On Fri, Feb 15, 2008 at 3:50 PM, Daniel Brown <parasanegmail.com> wrote:
> Go back to the original thread you started (https ....).
>
>
>
> On Fri, Feb 15, 2008 at 3:46 PM, nihilism machine
> <nihilismmachinegmail.com> wrote:
> > this still does not work, if a domain has no preceeding www. it
> > redirects to http://www.www.site.com, if it has a www. it goes to www.www.mydomain.com
> > , any ideas?
> >
> > <?php
> >
> > class URL {
> >
> > // Public Variables
> > public $ServerName;
> > public $WWW;
> >
> > // Public Functions
> >
> > public function __construct() {
> > $this->checkWWW();
> > $this->ServerName = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
> > }
> >
> > // Check if site is preceeded by 'WWW'
> > public function checkWWW() {
> > $myDomain = $_SERVER['SERVER_NAME'];
> > $FindWWW = 'www.';
> > $POS = strpos($myDomain, $FindWWW);
> > if ($POS === 1) {
> > $this->WWW = true;
> > } else {
> > $this->WWW = false;
> > }
> > }
> >
> > // Redirect to WWW
> > public function WWWRedirect() {
> > if ($this->WWW == false) {
> > $redir = "Location: http://www." . $this->ServerName;
> > header($redir);
> > }
> > }
> >
> > }
> >
> > $myURL = new URL();
> > $myURL->WWWRedirect();
> >
> > ?>
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> </Dan>
>
> Daniel P. Brown
> Senior Unix Geek
> <? while(1) { $me = $mind--; sleep(86400); } ?>
>

--
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

attached mail follows:


        Posting Summary for PHP-General List
        Week Ending: Friday, 15 February, 2008

        Messages | Bytes | Sender
        --------------------+--------------------+------------------
        394 (100%) 601925 (100%) EVERYONE
        31 (7.9%) 35696 (5.9%) Nathan Nobbe <quickshiftin at gmail dot com>
        31 (7.9%) 34504 (5.7%) Richard Lynch <ceo at l-i-e dot com>
        28 (7.1%) 23914 (4%) Per Jessen <per at computer dot org>
        26 (6.6%) 44143 (7.3%) Nathan Rixham <nrixham at gmail dot com>
        20 (5.1%) 22234 (3.7%) Daniel Brown <parasane at gmail dot com>
        17 (4.3%) 30201 (5%) Robert Cummings <robert at interjinn dot com>
        14 (3.6%) 22218 (3.7%) Stut <stuttle at gmail dot com>
        12 (3%) 17847 (3%) Shawn McKenzie <nospam at mckenzies dot net>
        10 (2.5%) 11824 (2%) mike <mike503 at gmail dot com>
        8 (2%) 15297 (2.5%) Jochem Maas <jochem at iamjochem dot com>
        8 (2%) 4854 (0.8%) Greg Donald <gdonald at gmail dot com>
        7 (1.8%) 7178 (1.2%) nihilism machine <nihilismmachine at gmail dot com>
        7 (1.8%) 7708 (1.3%) Eric Butera <eric dot butera at gmail dot com>
        7 (1.8%) 15841 (2.6%) Manuel Lemos <mlemos at acm dot org>
        6 (1.5%) 8709 (1.4%) Jason Pruim <japruim at raoset dot com>
        6 (1.5%) 9421 (1.6%) ZoltĂĄn NĂ©meth <znemeth at alterationx dot hu>
        6 (1.5%) 4574 (0.8%) admin at buskirkgraphics dot com
        6 (1.5%) 7170 (1.2%) Nirmalya Lahiri <nirmalyalahiri at yahoo dot com>
        6 (1.5%) 4589 (0.8%) Richard Heyes <richardh at phpguru dot org>
        6 (1.5%) 35566 (5.9%) Michael McGlothlin <michaelm at swplumb dot com>
        5 (1.3%) 7172 (1.2%) Andrew Ballard <aballard at gmail dot com>
        5 (1.3%) 9758 (1.6%) Ron Piggott <ron dot php at actsministries dot org>
        5 (1.3%) 9243 (1.5%) Xavier de Lapeyre <xavier at edsnetworks dot net>
        5 (1.3%) 4935 (0.8%) Sancar Saran <sancar dot saran at evodot dot com>
        5 (1.3%) 4714 (0.8%) Paul Scott <pscott at uwc dot ac dot za>
        4 (1%) 7010 (1.2%) Peter Ford <pete at justcroft dot com>
        4 (1%) 7595 (1.3%) Wolf <lonewolf at nc dot rr dot com>
        4 (1%) 7980 (1.3%) Jim Lucas <lists at cmsws dot com>
        3 (0.8%) 4207 (0.7%) at 4u <pz4u at vplace dot de>
        3 (0.8%) 8764 (1.5%) Ritesh Nadhani <riteshn at gmail dot com>
        3 (0.8%) 2037 (0.3%) Siegfried Gipp <siegfried at rorkvell dot de>
        3 (0.8%) 1102 (0.2%) Christoph Boget <christoph dot boget at gmail dot com>
        3 (0.8%) 2712 (0.5%) Jakub <ja dot cermi at centrum dot cz>
        2 (0.5%) 1289 (0.2%) Emil Edeholt <emil at knmedical dot se>
        2 (0.5%) 3040 (0.5%) David Giragosian <dgiragosian at gmail dot com>
        2 (0.5%) 1289 (0.2%) chetan rane <chetan dot d dot rane at gmail dot com>
        2 (0.5%) 1898 (0.3%) Emilio Astarita <emilio dot astarita at gmail dot com>
        2 (0.5%) 12436 (2.1%) BĂžrge Holen <borge at arivene dot net>
        2 (0.5%) 2176 (0.4%) srihari naidu <srihari_asd at yahoo dot com>
        2 (0.5%) 1270 (0.2%) Jay Blanchard <jblanchard at pocket dot com>
        2 (0.5%) 2656 (0.4%) LKSunny <ad at pc86 dot com>
        2 (0.5%) 1646 (0.3%) tedd <tedd dot sperling at gmail dot com>
        2 (0.5%) 2576 (0.4%) Michelle Konzack <linux4michelle at freenet dot de>
        2 (0.5%) 4420 (0.7%) Aleksandar Vojnovic <muadib at artrebel9 dot com>
        2 (0.5%) 1047 (0.2%) Floor Terra <floort at gmail dot com>
        2 (0.5%) 6397 (1.1%) miren at tinieblas dot com
        2 (0.5%) 2092 (0.3%) Angelo Zanetti <angelo at elemental dot co dot za>
        2 (0.5%) 1370 (0.2%) NotReally GonnaTell <lithlist at gmail dot com>
        2 (0.5%) 1099 (0.2%) Brian Dunning <brian at briandunning dot com>
        2 (0.5%) 4661 (0.8%) Hiep Nguyen <hiep at ee dot ucr dot edu>
        1 (0.3%) 1069 (0.2%) Marcos Lois BermĂșdez <marcos dot list at gmail dot com>
        1 (0.3%) 2377 (0.4%) Berkhimer Sterrett <hooliganize at bbbforum dot org>
        1 (0.3%) 563 (0.1%) pretty <anu4php at gmail dot com>
        1 (0.3%) 2153 (0.4%) BĂžrge Holen <borge at arivene dot net>
        1 (0.3%) 876 (0.1%) Arvids Godjuks <arvids dot godjuks at gmail dot com>
        1 (0.3%) 2174 (0.4%) Miguel J dot JimĂ©nez <MiguelJose dot Jimenez at isotrol dot com>
        1 (0.3%) 1287 (0.2%) Anjan Upadhya <anjan at sproutloud dot com>
        1 (0.3%) 1288 (0.2%) Daevid Vincent <daevid at daevid dot com>
        1 (0.3%) 8742 (1.5%) PostTrack [Dan Brown] <listwatch-php-general at pilotpig dot net>
        1 (0.3%) 542 (0.1%) Christoph Boget <jcboget at yahoo dot com>
        1 (0.3%) 1229 (0.2%) Brady Mitchell <mydarb at gmail dot com>
        1 (0.3%) 1436 (0.2%) Dax Solomon Umaming <knightlust at ubuntu dot com>
        1 (0.3%) 1805 (0.3%) David Robley <robleyd at aapt dot net dot au>
        1 (0.3%) 1327 (0.2%) Pastor Steve <smarquez at ccfortsmith dot com>
        1 (0.3%) 1049 (0.2%) Rob Gould <gouldimg at mac dot com>
        1 (0.3%) 488 (0.1%) julian <correojulian33-php at yahoo dot es>
        1 (0.3%) 1885 (0.3%) Aleksandar Vojnovic <muadib at consoriana dot com>
        1 (0.3%) 1004 (0.2%) ahlist <ahlist at gmail dot com>
        1 (0.3%) 524 (0.1%) Pauau <wakamonka747 at hotmail dot com>
        1 (0.3%) 557 (0.1%) Bruce Gilbert <webguync at gmail dot com>
        1 (0.3%) 1073 (0.2%) AndrĂĄs CsĂĄnyi <sayusi dot ando at gmail dot com>
        1 (0.3%) 275 (0%) Ɓukasz Wojciechowski <nostrzak at gmail dot com>
        1 (0.3%) 1900 (0.3%) Nick Gasparro <nick at remycorp dot com>
        1 (0.3%) 352 (0.1%) Richard Kurth <richardkurth at centurytel dot net>
        1 (0.3%) 2665 (0.4%) Mick <asurfer at iinet dot net dot au>
        1 (0.3%) 2442 (0.4%) Larry Garfield <larry at garfieldtech dot com>
        1 (0.3%) 1655 (0.3%) AndrĂ©s Robinet <agrobinet at bestplace dot biz>
        1 (0.3%) 3319 (0.6%) Gohring Shollenberger <cutch at acif dot org>
        1 (0.3%) 1129 (0.2%) Al <news at ridersite dot org>
        1 (0.3%) 607 (0.1%) John Papas <jspapas at gmail dot com>
        1 (0.3%) 1440 (0.2%) Chris <dmagick at gmail dot com>
        1 (0.3%) 824 (0.1%) Robert Cox <Robert dot Cox at utas dot edu dot au>
        1 (0.3%) 913 (0.2%) Ron Piggott <ron dot piggott at actsministries dot org>
        1 (0.3%) 2361 (0.4%) Warren Vail <warren at vailtech dot net>
        1 (0.3%) 3317 (0.6%) Rhone Tippetts <trigrams at capitalregion dot org>
        1 (0.3%) 391 (0.1%) Ryan A <genphp at yahoo dot com>
        1 (0.3%) 466 (0.1%) Mary Anderson <maryfran at demog dot berkeley dot edu>
        1 (0.3%) 720 (0.1%) Nate Tallman <nate dot tallman at connectivhealth dot com>
        1 (0.3%) 1052 (0.2%) Bastien Koert <bastien_k at hotmail dot com>
        1 (0.3%) 3203 (0.5%) Britts Fabiano <exteriorized at derryjournal dot com>
        1 (0.3%) 334 (0.1%) clive <clive_lists at immigrationunit dot com>
        1 (0.3%) 1115 (0.2%) Brice <brice dot favre at gmail dot com>
        1 (0.3%) 1380 (0.2%) Jan MĂŒller <jamuelle at ee dot ethz dot ch>
        1 (0.3%) 23805 (4%) jihad A. Al-Ammar \( \) <jalammar at gosi dot gov dot sa>
        1 (0.3%) 20374 (3.4%) Yoshika Kehelpannala <yoshikak at csbsl dot com>
        1 (0.3%) 359 (0.1%) Michael Moyle <mmoyle at gaba dot co dot jp>

NOTE: Numbers may not add up to 100% due to protection of names and addresses upon request.

DISCLAIMER: If you want your email address omitted from future weekly reports,
please email me privately at parasanegmail.com and it will be removed.

attached mail follows:


PostTrack [Dan Brown] wrote:
> Posting Summary for PHP-General List
> Week Ending: Friday, 15 February, 2008
>
> Messages | Bytes | Sender
> --------------------+--------------------+------------------
> 394 (100%) 601925 (100%) EVERYONE
> 31 (7.9%) 35696 (5.9%) Nathan Nobbe <quickshiftin at gmail dot com>
> 31 (7.9%) 34504 (5.7%) Richard Lynch <ceo at l-i-e dot com>
> 28 (7.1%) 23914 (4%) Per Jessen <per at computer dot org>
> 26 (6.6%) 44143 (7.3%) Nathan Rixham <nrixham at gmail dot com>
> 20 (5.1%) 22234 (3.7%) Daniel Brown <parasane at gmail dot com>
> 17 (4.3%) 30201 (5%) Robert Cummings <robert at interjinn dot com>
> 14 (3.6%) 22218 (3.7%) Stut <stuttle at gmail dot com>
> 12 (3%) 17847 (3%) Shawn McKenzie <nospam at mckenzies dot net>
> 10 (2.5%) 11824 (2%) mike <mike503 at gmail dot com>
> 8 (2%) 15297 (2.5%) Jochem Maas <jochem at iamjochem dot com>
> 8 (2%) 4854 (0.8%) Greg Donald <gdonald at gmail dot com>
> 7 (1.8%) 7178 (1.2%) nihilism machine <nihilismmachine at gmail dot com>
> 7 (1.8%) 7708 (1.3%) Eric Butera <eric dot butera at gmail dot com>
> 7 (1.8%) 15841 (2.6%) Manuel Lemos <mlemos at acm dot org>
> 6 (1.5%) 8709 (1.4%) Jason Pruim <japruim at raoset dot com>
> 6 (1.5%) 9421 (1.6%) Zoltån Németh <znemeth at alterationx dot hu>
> 6 (1.5%) 4574 (0.8%) admin at buskirkgraphics dot com
> 6 (1.5%) 7170 (1.2%) Nirmalya Lahiri <nirmalyalahiri at yahoo dot com>
> 6 (1.5%) 4589 (0.8%) Richard Heyes <richardh at phpguru dot org>
> 6 (1.5%) 35566 (5.9%) Michael McGlothlin <michaelm at swplumb dot com>
> 5 (1.3%) 7172 (1.2%) Andrew Ballard <aballard at gmail dot com>
> 5 (1.3%) 9758 (1.6%) Ron Piggott <ron dot php at actsministries dot org>
> 5 (1.3%) 9243 (1.5%) Xavier de Lapeyre <xavier at edsnetworks dot net>
> 5 (1.3%) 4935 (0.8%) Sancar Saran <sancar dot saran at evodot dot com>
> 5 (1.3%) 4714 (0.8%) Paul Scott <pscott at uwc dot ac dot za>
> 4 (1%) 7010 (1.2%) Peter Ford <pete at justcroft dot com>
> 4 (1%) 7595 (1.3%) Wolf <lonewolf at nc dot rr dot com>
> 4 (1%) 7980 (1.3%) Jim Lucas <lists at cmsws dot com>
> 3 (0.8%) 4207 (0.7%) at 4u <pz4u at vplace dot de>
> 3 (0.8%) 8764 (1.5%) Ritesh Nadhani <riteshn at gmail dot com>
> 3 (0.8%) 2037 (0.3%) Siegfried Gipp <siegfried at rorkvell dot de>
> 3 (0.8%) 1102 (0.2%) Christoph Boget <christoph dot boget at gmail dot com>
> 3 (0.8%) 2712 (0.5%) Jakub <ja dot cermi at centrum dot cz>
> 2 (0.5%) 1289 (0.2%) Emil Edeholt <emil at knmedical dot se>
> 2 (0.5%) 3040 (0.5%) David Giragosian <dgiragosian at gmail dot com>
> 2 (0.5%) 1289 (0.2%) chetan rane <chetan dot d dot rane at gmail dot com>
> 2 (0.5%) 1898 (0.3%) Emilio Astarita <emilio dot astarita at gmail dot com>
> 2 (0.5%) 12436 (2.1%) BĂžrge Holen <borge at arivene dot net>
> 2 (0.5%) 2176 (0.4%) srihari naidu <srihari_asd at yahoo dot com>
> 2 (0.5%) 1270 (0.2%) Jay Blanchard <jblanchard at pocket dot com>
> 2 (0.5%) 2656 (0.4%) LKSunny <ad at pc86 dot com>
> 2 (0.5%) 1646 (0.3%) tedd <tedd dot sperling at gmail dot com>
> 2 (0.5%) 2576 (0.4%) Michelle Konzack <linux4michelle at freenet dot de>
> 2 (0.5%) 4420 (0.7%) Aleksandar Vojnovic <muadib at artrebel9 dot com>
> 2 (0.5%) 1047 (0.2%) Floor Terra <floort at gmail dot com>
> 2 (0.5%) 6397 (1.1%) miren at tinieblas dot com
> 2 (0.5%) 2092 (0.3%) Angelo Zanetti <angelo at elemental dot co dot za>
> 2 (0.5%) 1370 (0.2%) NotReally GonnaTell <lithlist at gmail dot com>
> 2 (0.5%) 1099 (0.2%) Brian Dunning <brian at briandunning dot com>
> 2 (0.5%) 4661 (0.8%) Hiep Nguyen <hiep at ee dot ucr dot edu>
> 1 (0.3%) 1069 (0.2%) Marcos Lois BermĂșdez <marcos dot list at gmail dot com>
> 1 (0.3%) 2377 (0.4%) Berkhimer Sterrett <hooliganize at bbbforum dot org>
> 1 (0.3%) 563 (0.1%) pretty <anu4php at gmail dot com>
> 1 (0.3%) 2153 (0.4%) BĂžrge Holen <borge at arivene dot net>
> 1 (0.3%) 876 (0.1%) Arvids Godjuks <arvids dot godjuks at gmail dot com>
> 1 (0.3%) 2174 (0.4%) Miguel J dot Jiménez <MiguelJose dot Jimenez at isotrol dot com>
> 1 (0.3%) 1287 (0.2%) Anjan Upadhya <anjan at sproutloud dot com>
> 1 (0.3%) 1288 (0.2%) Daevid Vincent <daevid at daevid dot com>
> 1 (0.3%) 8742 (1.5%) PostTrack [Dan Brown] <listwatch-php-general at pilotpig dot net>
> 1 (0.3%) 542 (0.1%) Christoph Boget <jcboget at yahoo dot com>
> 1 (0.3%) 1229 (0.2%) Brady Mitchell <mydarb at gmail dot com>
> 1 (0.3%) 1436 (0.2%) Dax Solomon Umaming <knightlust at ubuntu dot com>
> 1 (0.3%) 1805 (0.3%) David Robley <robleyd at aapt dot net dot au>
> 1 (0.3%) 1327 (0.2%) Pastor Steve <smarquez at ccfortsmith dot com>
> 1 (0.3%) 1049 (0.2%) Rob Gould <gouldimg at mac dot com>
> 1 (0.3%) 488 (0.1%) julian <correojulian33-php at yahoo dot es>
> 1 (0.3%) 1885 (0.3%) Aleksandar Vojnovic <muadib at consoriana dot com>
> 1 (0.3%) 1004 (0.2%) ahlist <ahlist at gmail dot com>
> 1 (0.3%) 524 (0.1%) Pauau <wakamonka747 at hotmail dot com>
> 1 (0.3%) 557 (0.1%) Bruce Gilbert <webguync at gmail dot com>
> 1 (0.3%) 1073 (0.2%) AndrĂĄs CsĂĄnyi <sayusi dot ando at gmail dot com>
> 1 (0.3%) 275 (0%) Ɓukasz Wojciechowski <nostrzak at gmail dot com>
> 1 (0.3%) 1900 (0.3%) Nick Gasparro <nick at remycorp dot com>
> 1 (0.3%) 352 (0.1%) Richard Kurth <richardkurth at centurytel dot net>
> 1 (0.3%) 2665 (0.4%) Mick <asurfer at iinet dot net dot au>
> 1 (0.3%) 2442 (0.4%) Larry Garfield <larry at garfieldtech dot com>
> 1 (0.3%) 1655 (0.3%) Andrés Robinet <agrobinet at bestplace dot biz>
> 1 (0.3%) 3319 (0.6%) Gohring Shollenberger <cutch at acif dot org>
> 1 (0.3%) 1129 (0.2%) Al <news at ridersite dot org>
> 1 (0.3%) 607 (0.1%) John Papas <jspapas at gmail dot com>
> 1 (0.3%) 1440 (0.2%) Chris <dmagick at gmail dot com>
> 1 (0.3%) 824 (0.1%) Robert Cox <Robert dot Cox at utas dot edu dot au>
> 1 (0.3%) 913 (0.2%) Ron Piggott <ron dot piggott at actsministries dot org>
> 1 (0.3%) 2361 (0.4%) Warren Vail <warren at vailtech dot net>
> 1 (0.3%) 3317 (0.6%) Rhone Tippetts <trigrams at capitalregion dot org>
> 1 (0.3%) 391 (0.1%) Ryan A <genphp at yahoo dot com>
> 1 (0.3%) 466 (0.1%) Mary Anderson <maryfran at demog dot berkeley dot edu>
> 1 (0.3%) 720 (0.1%) Nate Tallman <nate dot tallman at connectivhealth dot com>
> 1 (0.3%) 1052 (0.2%) Bastien Koert <bastien_k at hotmail dot com>
> 1 (0.3%) 3203 (0.5%) Britts Fabiano <exteriorized at derryjournal dot com>
> 1 (0.3%) 334 (0.1%) clive <clive_lists at immigrationunit dot com>
> 1 (0.3%) 1115 (0.2%) Brice <brice dot favre at gmail dot com>
> 1 (0.3%) 1380 (0.2%) Jan MĂŒller <jamuelle at ee dot ethz dot ch>
> 1 (0.3%) 23805 (4%) jihad A. Al-Ammar \( \) <jalammar at gosi dot gov dot sa>
> 1 (0.3%) 20374 (3.4%) Yoshika Kehelpannala <yoshikak at csbsl dot com>
> 1 (0.3%) 359 (0.1%) Michael Moyle <mmoyle at gaba dot co dot jp>
>
>
> NOTE: Numbers may not add up to 100% due to protection of names and addresses upon request.
>
> DISCLAIMER: If you want your email address omitted from future weekly reports,
> please email me privately at parasanegmail.com and it will be removed.

top 5 : i can shut up now :'(

attached mail follows:


At 12:10 AM -0500 2/15/08, Robert Cummings wrote:
> > Or, and this is what I would do, convetr your database to UTF-8. That
>> way you're prepared for the rest of the world. In this day and age I
>> would creat a site with anything but UTF-8.
>
>Wouldn't create a site with anything but UTF-8.
>^^^^^^^^

That's better.

You had me concerned there.

tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com

attached mail follows:


At 12:10 AM -0500 2/15/08, Robert Cummings wrote:
> > Or, and this is what I would do, convetr your database to UTF-8. That
>> way you're prepared for the rest of the world. In this day and age I
>> would creat a site with anything but UTF-8.
>
>Wouldn't create a site with anything but UTF-8.
>^^^^^^^^

That's better.

You had me concerned there.

tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com