Hi I need to add some php to one of my mu blogs that was created at http://coffeenews.ilocals.info
Here's the code:
<?php
if (!empty($_GET['jrox']))
{
$cookie_expires = 1 * 60 * 60 * 24 * 365;
$cookie_domain = '.your_domain.com'; //DON'T FORGET THE . (dot) before the domain
setcookie("jrox", $_GET['jrox'], time()+$cookie_expires,"/", $cookie_domain);
}
?>
Apparently I can create a cookiepage.php and place it at mudomain.com/cookiepage.php
But how do I do it at
http://coffeenews.ilocals.info/cookiepage.php
?
There must be another solution where I just add this php code to one of my existing php pages.
Thanks for helping.
Johan