Re: [PHP] www. not working

2008-02-21 Thread Børge Holen
On Thursday 21 February 2008 13:41:20 Jason Pruim wrote: > On Feb 21, 2008, at 5:13 AM, Richard Heyes wrote: > Spider webs have existed for many a year... > >> > >>Not long before the eggs hatched. > > > > Debatable. > > Are we about to go into another chicken/egg then? Or in this case, >

Re: [PHP] www. not working

2008-02-21 Thread Jason Pruim
On Feb 21, 2008, at 5:13 AM, Richard Heyes wrote: Spider webs have existed for many a year... Not long before the eggs hatched. Debatable. Are we about to go into another chicken/egg then? Or in this case, spider porn/egg -- Jason Pruim Raoset Inc. Technology Manager MQC Specialis

Re: [PHP] www. not working

2008-02-21 Thread HostWare Kft.
"A form" of the web existing long before that depending on your definition of the web. To me it's a way for people to share information. That would cover the BBS world which pre-dates LANs by some distance. Spider webs have existed for many a year... Yeah, but when was the last time you sa

Re: [PHP] www. not working

2008-02-21 Thread Richard Heyes
Spider webs have existed for many a year... Not long before the eggs hatched. Debatable. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software hosted for you - no installation, no maintenance, new features automatic and free -- PHP General Mailing L

Re: [PHP] www. not working

2008-02-21 Thread Richard Heyes
"A form" of the web existing long before that depending on your definition of the web. To me it's a way for people to share information. That would cover the BBS world which pre-dates LANs by some distance. Spider webs have existed for many a year... Yeah, but when was the last time you saw

Re: [PHP] www. not working

2008-02-20 Thread Robert Cummings
On Wed, 2008-02-20 at 17:07 +, Stut wrote: > Richard Heyes wrote: > >> "A form" of the web existing long before that depending on your > >> definition of the web. To me it's a way for people to share > >> information. That would cover the BBS world which pre-dates LANs by > >> some distance

Re: [PHP] www. not working

2008-02-20 Thread Daniel Brown
On Feb 20, 2008 12:07 PM, Stut <[EMAIL PROTECTED]> wrote: > Richard Heyes wrote: > >> "A form" of the web existing long before that depending on your > >> definition of the web. To me it's a way for people to share > >> information. That would cover the BBS world which pre-dates LANs by > >> some d

Re: [PHP] www. not working

2008-02-20 Thread Stut
Richard Heyes wrote: "A form" of the web existing long before that depending on your definition of the web. To me it's a way for people to share information. That would cover the BBS world which pre-dates LANs by some distance. Spider webs have existed for many a year... Yeah, but when was

Re: [PHP] www. not working

2008-02-20 Thread Richard Heyes
"A form" of the web existing long before that depending on your definition of the web. To me it's a way for people to share information. That would cover the BBS world which pre-dates LANs by some distance. Spider webs have existed for many a year... -- Richard Heyes http://www.websupportsolut

Re: [PHP] www. not working

2008-02-20 Thread Nathan Rixham
Jason Pruim wrote: On Feb 20, 2008, at 11:41 AM, Daniel Brown wrote: On Feb 19, 2008 10:42 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: On Tuesday 19 February 2008, Daniel Brown wrote: On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: Don't do that. Some sites may or may not us

Re: [PHP] www. not working

2008-02-20 Thread Daniel Brown
On Feb 20, 2008 11:47 AM, Stut <[EMAIL PROTECTED]> wrote: > Daniel Brown wrote: > > Jocularity aside, DNS was invented in 1983 (shortly after TCP/IP), > > whereas the WorldWide Web was first "invented" in 1990. However, if > > 1989 actually. Without putting too much issue into semantics,

Re: [PHP] www. not working

2008-02-20 Thread Jason Pruim
On Feb 20, 2008, at 11:41 AM, Daniel Brown wrote: On Feb 19, 2008 10:42 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: On Tuesday 19 February 2008, Daniel Brown wrote: On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: Don't do that. Some sites may or may not use www. for whateve

Re: [PHP] www. not working

2008-02-20 Thread Stut
Daniel Brown wrote: Jocularity aside, DNS was invented in 1983 (shortly after TCP/IP), whereas the WorldWide Web was first "invented" in 1990. However, if 1989 actually. you remember ENQUIRE (on ARPANET), which was created by Tom Berners-Lee (I had to look up his name, I couldn't remembe

Re: [PHP] www. not working

2008-02-20 Thread Daniel Brown
On Feb 19, 2008 10:42 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: > On Tuesday 19 February 2008, Daniel Brown wrote: > > On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: > > > > Don't do that. > > > > Some sites may or may not use www. for whatever reason... > > > > Usually screwed-u

Re: [PHP] www. not working

2008-02-19 Thread Larry Garfield
On Tuesday 19 February 2008, Daniel Brown wrote: > On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: > > > Don't do that. > > > Some sites may or may not use www. for whatever reason... > > > Usually screwed-up A-name records by incompetent sysadmins, but there > > > it is... > > > > Re

Re: [PHP] www. not working

2008-02-19 Thread Wolf
Christoph <[EMAIL PROTECTED]> wrote: > > Don't do that. > > Some sites may or may not use www. for whatever reason... > > Usually screwed-up A-name records by incompetent sysadmins, but there > > it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.downloads.com >

Re: [PHP] www. not working

2008-02-19 Thread Daniel Brown
These new kids have no respect. ;-P On Feb 19, 2008 2:33 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: > > > On Tue, February 19, 2008 3:43 am, Christoph wrote: > >> Don't do that. > >> Some sites may or may not use www. for whatever reason... > >> Usually screwed-up A-name records by incompe

Re: [PHP] www. not working

2008-02-19 Thread Richard Lynch
On Tue, February 19, 2008 3:43 am, Christoph wrote: >> Don't do that. >> Some sites may or may not use www. for whatever reason... >> Usually screwed-up A-name records by incompetent sysadmins, but >> there >> it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.downloads

Re: [PHP] www. not working

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: > > Don't do that. > > Some sites may or may not use www. for whatever reason... > > Usually screwed-up A-name records by incompetent sysadmins, but there > > it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.

Re: [PHP] www. not working

2008-02-19 Thread Philip Thompson
On Feb 19, 2008, at 3:43 AM, Christoph wrote: Don't do that. Some sites may or may not use www. for whatever reason... Usually screwed-up A-name records by incompetent sysadmins, but there it is... Really? So games.yahoo.com blogreport.salon.com mirror1.downloads.com are examples of screwed

Re: [PHP] www. not working

2008-02-19 Thread Børge Holen
On Tuesday 19 February 2008 10:43:04 Christoph wrote: > > Don't do that. > > Some sites may or may not use www. for whatever reason... > > Usually screwed-up A-name records by incompetent sysadmins, but there > > it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.download

Re: [PHP] www. not working

2008-02-19 Thread Christoph
Don't do that. Some sites may or may not use www. for whatever reason... Usually screwed-up A-name records by incompetent sysadmins, but there it is... Really? So games.yahoo.com blogreport.salon.com mirror1.downloads.com are examples of screwed up records by incompetent sysadmins? thnx, Chr

Re: [PHP] www. not working

2008-02-18 Thread Richard Lynch
On Fri, February 15, 2008 2:46 pm, nihilism machine 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? Don't do that. Some sites may or may not use www. for whatever rea

Re: [PHP] www. not working

2008-02-16 Thread Shawn McKenzie
Nathan Rixham wrote: > Shawn McKenzie wrote: >> Shawn McKenzie wrote: >>> Shawn McKenzie wrote: Jim Lucas wrote: > nihilism machine 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 >>

Re: [PHP] www. not working

2008-02-16 Thread Nathan Rixham
Shawn McKenzie wrote: Shawn McKenzie wrote: Shawn McKenzie wrote: Jim Lucas wrote: nihilism machine 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? If you are running Ap

Re: [PHP] www. not working

2008-02-16 Thread M. Sokolewicz
Jim Lucas wrote: Valedol wrote: On Fri, 15 Feb 2008 23:46:57 +0300, nihilism machine <[EMAIL PROTECTED]> 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? checkWWW();

Re: [PHP] www. not working

2008-02-16 Thread Valedol
On Sat, 16 Feb 2008 05:45:54 +0300, Jim Lucas <[EMAIL PROTECTED]> wrote: Valedol wrote: just try "if ($POS !== 0) {" well, that said, isn't the first position in a string 0 ? So, in the above example the OP would need // This would mean that www. was found any where in the string if ( $P

Re: [PHP] www. not working

2008-02-15 Thread Shawn McKenzie
Shawn McKenzie wrote: > Shawn McKenzie wrote: >> Jim Lucas wrote: >>> nihilism machine 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? >>> If you are running

Re: [PHP] www. not working

2008-02-15 Thread Shawn McKenzie
Shawn McKenzie wrote: > Jim Lucas wrote: >> nihilism machine 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? >>> >> If you are running Apache, you do realize that al

Re: [PHP] www. not working

2008-02-15 Thread Shawn McKenzie
Jim Lucas wrote: > nihilism machine 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? >> > > If you are running Apache, you do realize that all of this can be done > in

Re: [PHP] www. not working

2008-02-15 Thread Micky Hulse
Jim Lucas wrote: If you are running Apache, you do realize that all of this can be done in Apache instead of PHP right? .htaccess example: # Power-up the rewrite engine: RewriteEngine on # Redirect all non-www traffic: RewriteCond %{HTTP_HOST} ^mysite\.com [NC] RewriteRule ^/?(.*)$ http://www.

Re: [PHP] www. not working

2008-02-15 Thread Jim Lucas
nihilism machine 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? If you are running Apache, you do realize that all of this can be done in Apache instead of PHP right?

Re: [PHP] www. not working

2008-02-15 Thread Jim Lucas
Valedol wrote: On Fri, 15 Feb 2008 23:46:57 +0300, nihilism machine <[EMAIL PROTECTED]> 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? // Public Functions

Re: [PHP] www. not working

2008-02-15 Thread Valedol
On Fri, 15 Feb 2008 23:46:57 +0300, nihilism machine <[EMAIL PROTECTED]> 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? checkWWW(); $this->ServerName

Re: [PHP] www. not working

2008-02-15 Thread Daniel Brown
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 <[EMAIL PROTECTED]> wrote: > Go back to the original thread you started (https ). > > > > On Fri, Feb 15, 2008 at 3:46 PM, nihilism machine >

Re: [PHP] www. not working

2008-02-15 Thread Daniel Brown
Go back to the original thread you started (https ). On Fri, Feb 15, 2008 at 3:46 PM, nihilism machine <[EMAIL PROTECTED]> 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 >