1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with Java Redirect

Discussion in 'Cloaking and Content Generators' started by renxiii, Jun 18, 2009.

  1. renxiii

    renxiii Newbie

    May 7, 2008
    Likes Received:
    Please help me w/ my java script redirect.
    how do I use a php variable for a java script redirect?

    ex. <? $link = ("h**p://site.com/"); ?>
    <script type="text/javascript">
    window.location = "<?$link?>"

    is this possible? or i am wrong?

    I need this so i can set a global variable to dynamically redirect pages to different urls.