Recent content by mysticdr

  1. M

    putting two codes together

    YAY IT WORKED! thanks you!
  2. M

    putting two codes together

    <?php # if already visited, redirect to another page if ( $_COOKIE[visited] == "br549" ) { header("location: www.mysticdragonforest.myadopts.com/pages.php?page=tootired"); exit; } else { # Set Cookie & Expire Time $expire = time()+60*60*24; setcookie( "visited", "br549", $expire); }...
  3. M

    putting two codes together

    now i'm getting this error: Parse error: syntax error, unexpected $end in /home/mysticdr/public_html/MGexp3.php on line 27 here is my code <?php # if already visited, redirect to another page if ( $_COOKIE[visited] == "br549" ) { header("location...
  4. M

    putting two codes together

    yeah.... i'm just using it for this small thing and thats all. do you know what the problom is? if its too complicated, ill try something else.
  5. M

    putting two codes together

    huh? are you sure? i got the random redirect from here http://www.webdeveloper.com/forum/showthread.php?t=97626 and the cookie code here http://www.myadopts.com/forum/showthread.php?tid=9602 and it says on both, they are .php
  6. M

    putting two codes together

    i have a Site on My Adopts. and i'm using X10Hosting as a side host. i have these two codes i got, and they work fine by themselves. but when i put them together it has an error and it says the page doesnt exist. here is the code # if already visited, redirect to another page if (...
Top