Image Redirect 14.08.08
I am setting up a redirect that goes like this…
redirect 301 /image.jpg http://www.mydomain.com/file.php
in the file.php I have this code
<?php
$stuff = file(’http://www.mydomain.com/trackingcode.php’);
for ($i = 0; $i < count($stuff); $i++)
{
echo ‘<span”‘;
echo ($i % 2 == 0) ? ‘even”>’ : ‘odd”>’;
echo htmlspecialchars($stuff[$i]);
echo ‘</span>’;
}
?>
How ever. If I was to place a tracking cookie on my users computer to monitor their log in, how would I get this cookie onto their computer. As this code seems to be placing it on my server.
I ask this as I want the referrer to show as my server, but have the cookie placed on their computer.
If this can be done by other mean than php then will be open to suggestions.
Thanks.



