If i place the code on template i get this inside the source when i see the site:


<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>

<?php virtual ("/cgi-bin/at/in.cgi"); ?>
<?php virtual ("/home/wtfzone/www/cgi-bin/at/in.cgi"); ?>
 
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:
 
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/wtfzone/public_html/index.php:2) in /home/wtfzone/public_html/includes/session.inc on line 10
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.

Regards
Cristian
 
 

 

 



 
2006/2/10, Peter Apockotos <drupal@apockotos.com>:

On Feb 9, 2006, at 9:08 PM, Noonien Soong wrote:

> Hi!
>
> I´m trying to include the code for a traffic trade script on my
> drupal but i cant. I try to include the code on the template and on
> index.php but i cant get them work. The code is:
>
>  <?php virtual ("/cgi-bin/at3/in.cgi"); ?>
>
> Any idea ?
>
> .Cristian

Try using the full path to the cgi-bin.

Peter Apockotos
http://www.apockotos.com
http://www.macmariner.com
http://www.knightrider.org--
[ Drupal support list | http://lists.drupal.org/ ]