From esrefatak@hotmail.com Wed Jul 30 10:33:08 2003 X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9E9A5D1C98E for ; Wed, 30 Jul 2003 10:33:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 48612-07 for ; Wed, 30 Jul 2003 07:32:09 -0300 (ADT) Received: from BAY0-HMR17.adinternal.hotmail.com (bay0-hmr17.bay0.hotmail.com [65.54.241.216]) by svr1.postgresql.org (Postfix) with ESMTP id 954AED1C958 for ; Wed, 30 Jul 2003 07:33:06 -0300 (ADT) Received: from hotmail.com ([64.4.10.17]) by BAY0-HMR17.adinternal.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 30 Jul 2003 03:33:08 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 30 Jul 2003 03:33:08 -0700 Received: from 213.153.198.194 by bay7-dav45.bay7.hotmail.com with DAV; Wed, 30 Jul 2003 10:33:08 +0000 X-Originating-IP: [213.153.198.194] X-Originating-Email: [esrefatak@hotmail.com] From: "esrefatak" To: Subject: RedirectING (asp) by PHP? Date: Wed, 30 Jul 2003 13:34:25 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009C_01C3569F.4B418600" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 30 Jul 2003 10:33:08.0741 (UTC) FILETIME=[F7F89B50:01C35685] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.6 tagged_above=0.0 required=5.0 tests=BAYES_60, HTML_80_90 X-Spam-Level: * X-Archive-Number: 200307/59 X-Sequence-Number: 2171 This is a multi-part message in MIME format. ------=_NextPart_000_009C_01C3569F.4B418600 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable Hi, "redirect" command in PHP? ------=_NextPart_000_009C_01C3569F.4B418600 Content-Type: text/html; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable
 
Hi,
 
"redirect" command in PHP?
 
 
 
 
 
------=_NextPart_000_009C_01C3569F.4B418600-- From duncan.adams@vcontractor.co.za Wed Jul 30 11:03:48 2003 X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 53993D1C4D0 for ; Wed, 30 Jul 2003 11:03:48 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 48182-09 for ; Wed, 30 Jul 2003 08:02:49 -0300 (ADT) Received: from mfwj021.mfw.is.co.za (mfwj021.mfw.is.co.za [196.35.77.11]) by svr1.postgresql.org (Postfix) with ESMTP id 40BDAD1C4C9 for ; Wed, 30 Jul 2003 08:03:43 -0300 (ADT) Received: from zablv02002.vodacom.corp (Not Verified[196.6.129.74]) by mfwj021.mfw.is.co.za with MailMarshal (v5, 0, 3, 91) id ; Wed, 30 Jul 2003 13:04:41 +0200 Received: from zablv02004.vodacom.corp ([10.121.7.74]) by zablv02002.vodacom.corp with Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Jul 2003 13:03:33 +0200 Received: from zactn02001.vodacom.corp ([10.126.1.15]) by zablv02004.vodacom.corp with Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Jul 2003 13:03:33 +0200 Received: from ZABLV02001.vodacom.corp ([10.121.7.130]) by zactn02001.vodacom.corp with Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Jul 2003 13:03:33 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3568A.3757E430" Subject: Re: RedirectING (asp) by PHP? Date: Wed, 30 Jul 2003 13:03:33 +0200 Message-ID: <034A824BAA3FBA4CA0CBEF1031A02F3502EB0099@zablv02001.vodacom.corp> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP] RedirectING (asp) by PHP? Thread-Index: AcNWiEQORFDx6jmqQyqOUR1a5itZKQAAPaqQ From: "Duncan Adams (DNS)" To: X-OriginalArrivalTime: 30 Jul 2003 11:03:33.0140 (UTC) FILETIME=[3765CD40:01C3568A] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=HTML_50_60, HTML_FONT_COLOR_BLUE, HTML_JAVASCRIPT X-Spam-Level: X-Archive-Number: 200307/60 X-Sequence-Number: 2172 This is a multi-part message in MIME format. ------_=_NextPart_001_01C3568A.3757E430 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable header("location:URL"); =20 there must be noting send to the web page before this (not even a white spa= ce) or u will get an error. if u have to send something first use javascrip= t to redirect =20 some thing like=20 =20 =20 -----Original Message----- From: esrefatak [mailto:esrefatak@hotmail.com] Sent: Wednesday, July 30, 2003 12:34 PM To: pgsql-php@postgresql.org Subject: [PHP] RedirectING (asp) by PHP? =20 Hi, =20 "redirect" command in PHP? =20 =20 =20 =20 =20 =93This e-mail is sent on the Terms and Conditions that can be accessed by = Clicking on this link http://www.vodacom.net/legal/email.asp " ------_=_NextPart_001_01C3568A.3757E430 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
header("location:URL");
 
there=20 must be noting send to the web page before this (not even a white space) or= u=20 will get an error. if u have to send something first use javascript to=20 redirect
 
some=20 thing like
 
<script>
    location.href=3D"url"
</script>
 
-----Original Message-----
From: esrefatak=20 [mailto:esrefatak@hotmail.com]
Sent: Wednesday, July 30, 2003 1= 2:34=20 PM
To: pgsql-php@postgresql.org
Subject: [PHP] Redire= ctING=20 (asp) by PHP?

 
Hi,
 
"redirect" command in PHP?
 
 
 
 
 
=93This e-mail is sent on the Terms and Conditions that can be accessed by= =20 Clicking on this link http://www.vodacom.net/lega= l/email.asp=20 " ------_=_NextPart_001_01C3568A.3757E430-- From esrefatak@hotmail.com Wed Jul 30 11:34:23 2003 X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1B0B5D1C4E7 for ; Wed, 30 Jul 2003 11:34:23 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 51869-06 for ; Wed, 30 Jul 2003 08:33:24 -0300 (ADT) Received: from hotmail.com (bay7-dav40.bay7.hotmail.com [64.4.10.97]) by svr1.postgresql.org (Postfix) with ESMTP id B2E92D1CA1B for ; Wed, 30 Jul 2003 08:34:20 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 30 Jul 2003 04:34:23 -0700 Received: from 213.153.198.194 by bay7-dav40.bay7.hotmail.com with DAV; Wed, 30 Jul 2003 11:34:23 +0000 X-Originating-IP: [213.153.198.194] X-Originating-Email: [esrefatak@hotmail.com] From: "esrefatak" To: References: <034A824BAA3FBA4CA0CBEF1031A02F3502EB0099@zablv02001.vodacom.corp> Subject: Re: RedirectING (asp) by PHP? Date: Wed, 30 Jul 2003 14:35:41 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_014A_01C356A7.DA0D7CB0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 30 Jul 2003 11:34:23.0491 (UTC) FILETIME=[864AF530:01C3568E] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=HTML_50_60, HTML_FONT_COLOR_BLUE, HTML_JAVASCRIPT, REFERENCES X-Spam-Level: X-Archive-Number: 200307/61 X-Sequence-Number: 2173 This is a multi-part message in MIME format. ------=_NextPart_000_014A_01C356A7.DA0D7CB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you. You tired me via your reply. :) I received just 4 number reply. :) Again thanks ----- Original Message -----=20 From: Duncan Adams (DNS)=20 To: pgsql-php@postgresql.org=20 Sent: Wednesday, July 30, 2003 2:03 PM Subject: Re: [PHP] RedirectING (asp) by PHP? header("location:URL"); there must be noting send to the web page before this (not even a white s= pace) or u will get an error. if u have to send something first use javascr= ipt to redirect some thing like=20 -----Original Message----- From: esrefatak [mailto:esrefatak@hotmail.com] Sent: Wednesday, July 30, 2003 12:34 PM To: pgsql-php@postgresql.org Subject: [PHP] RedirectING (asp) by PHP? Hi, "redirect" command in PHP? "This e-mail is sent on the Terms and Conditions that can be accessed by = Clicking on this link http://www.vodacom.net/legal/email.asp "=20 ------=_NextPart_000_014A_01C356A7.DA0D7CB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Thank you.
You tired me via your reply. :)
I received just 4 number reply. :)<= /DIV>
Again=20 thanks
 
----- Original Message -----
Fro= m:=20 Duncan Adams (DNS)
To: pgsql-php@postgresql.org
Sent: Wednesday, July 30, 2003 2:0= 3=20 PM
Subject: Re: [PHP] RedirectING (as= p) by=20 PHP?

header("location:URL");
 
there must be noting send to the web page before this (not even = a white=20 space) or u will get an error. if u have to send something first use=20 javascript to redirect
 
some=20 thing like
 
<script>
    location.href=3D"url"
</script>
 
-----Original Message-----
From: esrefatak=20 [mailto:esrefatak@hotmail.com]
Sent: Wednesday, July 30, 2003= =20 12:34 PM
To: pgsql-php@postgresql.org
Subject: [PHP= ]=20 RedirectING (asp) by PHP?

 
Hi,
 
"redirect" command in PHP?
 
 
 
 
 
=93Thi= s e-mail is=20 sent on the Terms and Conditions that can be accessed by Clicking on this= =20 link http://www.vodacom.net/le= gal/email.asp=20 " ------=_NextPart_000_014A_01C356A7.DA0D7CB0-- From busby@pnts.com Wed Jul 30 17:35:36 2003 X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C90E5D1C4B7 for ; Wed, 30 Jul 2003 17:35:36 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 73533-05 for ; Wed, 30 Jul 2003 14:34:34 -0300 (ADT) Received: from seapdc01.PNTS (ip63.c216.blk1.bel.nwlink.com [209.20.216.63]) by svr1.postgresql.org (Postfix) with ESMTP id 6DA12D1C4D0 for ; Wed, 30 Jul 2003 14:35:34 -0300 (ADT) Received: from busbydev (BUSBY-DEV [10.0.0.17]) by seapdc01.PNTS with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id PRCQ8002; Wed, 30 Jul 2003 10:51:55 -0700 Message-ID: <003f01c356c0$1cb7c120$1100000a@busbydev> Reply-To: "David Busby" From: "David Busby" To: "esrefatak" , References: Subject: Re: RedirectING (asp) by PHP? Date: Wed, 30 Jul 2003 10:29:21 -0700 Organization: Pacific Northwest Ticket Service MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=BAYES_30, REFERENCES, UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200307/62 X-Sequence-Number: 2174 I use this // redirect *************************************************************** // Redirects to relative URL function redirect($to) { $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; if (headers_sent()) return false; else { header("Location: $schema://$host$to"); exit(); } } ----- Original Message ----- From: "esrefatak" To: Sent: Wednesday, July 30, 2003 03:34 Subject: [PHP] RedirectING (asp) by PHP? Hi, "redirect" command in PHP?