1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

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.