Hi,
i'm using jooma as environment for my site.
I have a script, that when someone comes to the site, an email is send to me, saying that someone is there :-)
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$httpref = $_SERVER['HTTP_REFERER'];
$httpagent = $_SERVER['HTTP_USER_AGENT'];
$remadres = $_SERVER['REMOTE_ADDR']
?>
<?php
$todayis = date("l, j F Y, H:i") ;
$subject = "Bezoeker op Website Zoete Zweep, IP=$ip";
$message = "Op $todayis uur \n
is er een bezoeker geweest op http://www.mysite.com \n
met ip-adres: $ip \n
Browser Informatie: $httpagent \n
Referentie : $httpref \n
";
$from = "From: website@mysite.com";
$to =funga@mysite.com;
mail($to, $subject, $message, $from);
?>
My problem is, that when I try to add code to the index.php (that one under template) and save the page.... I get an empy, white browser window, in stead of the fancy site....
What am I doing wrong?
greetings
funga