$5 - Fix error in my script php/java

Discussion in 'Design Contests' started by phantomddl, Jan 23, 2007.

  1. #1
    i need a php/java expert to fix an error in my script
    it is about showing popups..

    more info:
    ----------------
    sample.php
    ----------------
    <?php
    include("common.php");
    .
    .
    .(some php codes above)
    ?>

    function popnow()
    {
    a=window.open('http://www.<?php $domain ?>/url.php?traffic=<?php print "$cPopURL"; ?>','_blank');
    a.blur();
    window.focus();
    }
    popnow();
    ------------------END OF THE FILE------------------
    and then i use that code on a html page:
    <script src="http://siteaddress.com/sample.php?id=1"></script>
    but it is not working, it is giving error
    and when i remove ?id=1 popup shows, but it is like:
    http://./url?traffic=

    php veriables arent there


    will pay to paypal only, wont pay before you fix
     
    phantomddl, Jan 23, 2007 IP