<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=750491702-11022006><FONT face=Arial
color=#0000ff size=2>If it has output in the script, then you'll still get
session errors.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=750491702-11022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=750491702-11022006><FONT face=Arial
color=#0000ff size=2>If it doesn't output anything in the script, then putting
it at the very to of the template should work like i put in my
example.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=750491702-11022006><FONT face=Arial
color=#0000ff size=2>Also be careful to make the <?php at the very top of
your template file. If there are any carriage returns in the top of the
file or spaces before the <?php then these will get output and you'll get the
same session errors.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=750491702-11022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=750491702-11022006><FONT face=Arial
color=#0000ff size=2>------</FONT></SPAN></DIV>
<DIV><SPAN><?php </SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN class=q><SPAN>virtual
("/cgi-bin/at/in.cgi"); </SPAN><BR></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>?></SPAN> </DIV>
<DIV><SPAN class=q><<SPAN>html</SPAN><SPAN> xmlns</SPAN>=<SPAN>"<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.w3.org/1999/xhtml" target=_blank>http://www.w3.org/1999/xhtml
</A>" </SPAN><SPAN>lang</SPAN>=<SPAN>"en"
</SPAN><SPAN>xml:lang</SPAN>=<SPAN>"en"</SPAN>><BR><<SPAN>head</SPAN>><BR></SPAN><SPAN
class=750491702-11022006></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>....</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=750491702-11022006></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=750491702-11022006></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=750491702-11022006></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=750491702-11022006>Regards,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=750491702-11022006></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=750491702-11022006>
<DIV align=left>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = st1
ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place
w:st="on"><st1:City w:st="on"><SPAN
style="FONT-SIZE: 12pt; COLOR: blue; FONT-FAMILY: Arial">Lawrence</SPAN></st1:City></st1:place><SPAN
style="FONT-SIZE: 12pt; COLOR: blue; FONT-FAMILY: Arial">
Sheed</SPAN><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><STRONG><SPAN
style="COLOR: #ff8000; FONT-FAMILY: Arial">COMPUTER
SOLUTIONS</SPAN></STRONG><B><SPAN
style="COLOR: blue; FONT-FAMILY: Arial"><BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial">Room 305 <st1:place
w:st="on"><st1:PlaceName w:st="on">Han</st1:PlaceName> <st1:PlaceName
w:st="on"><SPAN class=spelle>Wen</SPAN></st1:PlaceName> <st1:PlaceName
w:st="on"><SPAN class=spelle>Xuan</SPAN></st1:PlaceName> <st1:PlaceType
w:st="on">Building</st1:PlaceType></st1:place> <BR>No.14, 955 <SPAN
class=spelle>Yan</SPAN> <SPAN class=grame>An</SPAN> <st1:address
w:st="on"><st1:address w:st="on"><st1:Street w:st="on">Middle
Road</st1:Street></st1:address> <BR><st1:City w:st="on">Shanghai</st1:City>
<st1:country-region w:st="on">China</st1:country-region></st1:address>
200040<o:p></o:p></SPAN></P>
<P class=section1 style="MARGIN: auto 0in"><SPAN lang=ZH-CN
style="FONT-SIZE: 10pt; COLOR: blue">延安中路</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">955</SPAN><SPAN
lang=ZH-CN style="FONT-SIZE: 10pt; COLOR: blue">弄</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">14</SPAN><SPAN
lang=ZH-CN style="FONT-SIZE: 10pt; COLOR: blue">号瀚文轩</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">305</SPAN><SPAN
lang=ZH-CN style="FONT-SIZE: 10pt; COLOR: blue">室</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial"><BR><B><BR>Tel:</B>
+86 21 62890765<BR></SPAN><SPAN lang=ZH-CN
style="FONT-SIZE: 8pt; COLOR: blue"> </SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial">
+86 21 62890056<BR><B>Fax:</B> +86 21
62890765<B><BR>Web: <A
title=http://www.computersolutions.cn/
href="blocked::blocked::blocked::http://www.computersolutions.cn/">www.computersolutions.cn</A><BR>E-mail:
<A title=mailto:support@computersolutions.cn
href="blocked::blocked::blocked::mailto:support@computersolutions.cn">support@computersolutions.cn</A><o:p></o:p></B></SPAN></P></DIV></SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> support-bounces@drupal.org
[mailto:support-bounces@drupal.org] <B>On Behalf Of </B>Noonien
Soong<BR><B>Sent:</B> Saturday, February 11, 2006 8:42 AM<BR><B>To:</B>
support@drupal.org<BR><B>Subject:</B> Re: [support] Traffic Trade
Script<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>I just put the two examples here, to see if one of them loads. I´m only
need one. Ths script is just a trade script to count incoming hits.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Cristian<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>2006/2/10, Lawrence Sheed <<A
href="mailto:Lawrence@shanghaiguide.com">Lawrence@shanghaiguide.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>You can't
send any html before you do sessions.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>From the
look of things I'd start again.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>what are
you trying to achieve?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>It looks
suspiciously like a cgi script you are calling through php. It also
looks like you might be calling it twice </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Do you
have an alias in apache for /cgi-bin to <FONT face="Times New Roman"
color=#000000 size=3>/home/wtfzone/www/cgi-bin?</FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN></SPAN><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Depending
on what you are trying to do</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN><?php </SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN class=q><SPAN>virtual
("/cgi-bin/at/in.cgi"); </SPAN><BR></SPAN><SPAN class=q><SPAN>virtual
("/home/wtfzone/www/cgi-bin/at/in.cgi"); </SPAN></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>?></SPAN> </DIV><SPAN class=q><<SPAN>html</SPAN><SPAN>
xmlns</SPAN>=<SPAN>"<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.w3.org/1999/xhtml" target=_blank>http://www.w3.org/1999/xhtml
</A>" </SPAN><SPAN>lang</SPAN>=<SPAN>"en"
</SPAN><SPAN>xml:lang</SPAN>=<SPAN>"en"</SPAN>><BR><<SPAN>head</SPAN>><BR>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV></SPAN>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>may work for
you. I'd test with and without the 2nd virtual line to see
if you are calling the script twice.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>But does your script output
anything? If it does, you'll have to do it
differently...</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Again, it looks like you're
confused more than anything else!</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN>
<DIV align=left>
<P style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; COLOR: blue; FONT-FAMILY: Arial">Lawrence</SPAN><SPAN
style="FONT-SIZE: 12pt; COLOR: blue; FONT-FAMILY: Arial"> Sheed</SPAN></P>
<P style="MARGIN: 0in 0in 0pt"><STRONG><SPAN
style="COLOR: #ff8000; FONT-FAMILY: Arial">COMPUTER
SOLUTIONS</SPAN></STRONG><B><SPAN
style="COLOR: blue; FONT-FAMILY: Arial"><BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial">Room 305 Han
<SPAN>Wen</SPAN> <SPAN>Xuan</SPAN> Building <BR>No.14, 955 <SPAN>Yan</SPAN>
<SPAN>An</SPAN> Middle Road <BR>Shanghai China 200040</SPAN></P>
<P style="MARGIN: auto 0in"><SPAN lang=ZH-CN
style="FONT-SIZE: 10pt; COLOR: blue">延安中路</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">955</SPAN><SPAN
lang=ZH-CN style="FONT-SIZE: 10pt; COLOR: blue"> 弄</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">14</SPAN><SPAN
lang=ZH-CN style="FONT-SIZE: 10pt; COLOR: blue">号瀚文轩</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">305</SPAN><SPAN
lang=ZH-CN style="FONT-SIZE: 10pt; COLOR: blue"> 室</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial"><BR><B><BR>Tel:</B>
+86 21 62890765<BR></SPAN><SPAN lang=ZH-CN
style="FONT-SIZE: 8pt; COLOR: blue"> </SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: blue; FONT-FAMILY: Arial">
+86 21
62890056<BR><B>Fax:</B> +86 21
62890765<B><BR>Web: <A
title=http://www.computersolutions.cn/>www.computersolutions.cn</A><BR>E-mail:
<A title=mailto:support@computersolutions.cn>support@computersolutions.cn
</A></B></SPAN></P></DIV></SPAN></DIV>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support-bounces@drupal.org"
target=_blank>support-bounces@drupal.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support-bounces@drupal.org" target=_blank>
support-bounces@drupal.org</A>] <B>On Behalf Of </B>Noonien
Soong<BR><B>Sent:</B> Friday, February 10, 2006 12:34 PM<BR><B>To:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support@drupal.org"
target=_blank>support@drupal.org</A><BR><B>Subject:</B> Re: [support] Traffic
Trade Script<BR></FONT><BR> </DIV>
<DIV><SPAN class=q id=q_1095309f00769b8b_6>
<DIV></DIV>
<DIV><FONT color=#ff0000><STRONG>If i place the code on template i get
this inside the source when i see the site:</STRONG></FONT></DIV>
<DIV><BR><BR><<SPAN>html</SPAN><SPAN> xmlns</SPAN>=<SPAN>"<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.w3.org/1999/xhtml"
target=_blank>http://www.w3.org/1999/xhtml</A>"
</SPAN><SPAN>lang</SPAN>=<SPAN>"en"
</SPAN><SPAN>xml:lang</SPAN>=<SPAN>"en"</SPAN>><BR><<SPAN>head</SPAN>><BR><BR><SPAN><?php
virtual ("/cgi-bin/at/in.cgi"); ?></SPAN> <BR><SPAN><?php virtual
("/home/wtfzone/www/cgi-bin/at/in.cgi"); ?> </SPAN></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT color=#ff0000>It´s like if the code not has been procesed
by php. And when i put the code on index.php the code works but i get
this error in all pages:</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><STRONG>Warning</STRONG>: session_start(): Cannot send session cache
limiter - headers already sent (output started at
/home/wtfzone/public_html/index.php:2) in
<B>/home/wtfzone/public_html/includes/session.inc</B> on line <B>10</B><BR><PRE>warning: Cannot modify header information - headers already sent by (output started at /home/wtfzone/public_html/index.php:2) in /home/wtfzone/public_html/includes/common.inc on line 99.</PRE><PRE><FONT color=#ff0000>
<STRONG>Regards<BR>Cristian</STRONG></FONT></PRE></DIV>
<DIV> </DIV>
<DIV> </DIV>
<P> </P>
<P> </P>
<DIV><BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>2006/2/10, Peter Apockotos <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:drupal@apockotos.com"
target=_blank>drupal@apockotos.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR>On
Feb 9, 2006, at 9:08 PM, Noonien Soong wrote:<BR><BR>>
Hi!<BR>><BR>> I´m trying to include the code for a traffic trade
script on my <BR>> drupal but i cant. I try to include the code on the
template and on<BR>> index.php but i cant get them work. The code
is:<BR>><BR>> <?php virtual ("/cgi-bin/at3/in.cgi");
?><BR>><BR>> Any idea ? <BR>><BR>> .Cristian<BR><BR>Try using
the full path to the cgi-bin.<BR><BR>Peter Apockotos<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.apockotos.com/" target=_blank>http://www.apockotos.com
</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.macmariner.com/" target=_blank>http://www.macmariner.com
</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.knightrider.org--/"
target=_blank>http://www.knightrider.org--</A><BR>[ Drupal support list | <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.drupal.org/" target=_blank>http://lists.drupal.org/</A>
]<BR></BLOCKQUOTE></DIV><BR></SPAN></DIV><BR>--<BR>[ Drupal support list | <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.drupal.org/" target=_blank>http://lists.drupal.org/</A>
]<BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>