php nuke

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joker7

    #1

    php nuke

    I know php nuke has it's own forum but I'm having a problem posting the
    code:

    <?php

    if (eregi("block-moon_block.php" , $_SERVER['PHP_SELF'])) {
    Header("Locatio n: index.php");
    die();
    }

    $content = " <script language=\"Java Script\" type=\"text/javascript\">
    var ccm_cfg = { n:'1', pof:'1', dt:'1', tc:'#FFCC00', pth:'' } </script>";
    $content = " <td align=\"center\ " style=\"border: 1px solid
    #000000;color:# FFCC00;padding-top:5px;padding-bottom:5px;\"
    bgcolor=\"#0000 00\"> ";
    $content = " <font face=\"arial,ve rdana,sans-serif\" size=\"1\"
    color=\"#FFCC00 \"><span
    style=\"font-size:10px;font-family:arial,ve rdana,sans-serif;color:#FF CC00\">CURRENT
    MOON<br> ";
    $content = " <script language=\"Java Script\" type=\"text/javascript\"
    src=\"cs/ccm_b.js\"></script> ";
    $content = " <script language=\"Java Script\" type=\"text/javascript\"
    src=\"cs/ccm_v.js\"></script> ";

    ?>

    I'm trying to make the above block to show Javascript but I'm not having
    much luck so far! can anyone see where I'm going wrong.

    Cheers
    Chris


    --
    Cheap As Chips Broadband http://yeah.kick-butt.co.uk


  • guitarromantic@gmail.com

    #2
    Re: php nuke

    I'm only a newbie myself but it seems you're just replacing each
    occurence of $content with something new so when you actually come to
    call it you'll just get the very last one you changed? Try changing
    $content to "<echo: "<html/js code here">;" ?

    Comment

    • Joker7

      #3
      Re: php nuke


      <guitarromantic @gmail.com> wrote in message
      news:1140281003 .339557.166850@ f14g2000cwb.goo glegroups.com.. .
      : I'm only a newbie myself but it seems you're just replacing each
      : occurence of $content with something new so when you actually come to
      : call it you'll just get the very last one you changed? Try changing
      : $content to "<echo: "<html/js code here">;" ?
      :

      I've been down that way I think it's a problem with :
      <script language=\"Java Script\" type=\"text/javascript\"> var ccm_cfg = {
      n:'1', pof:'1', dt:'1', tc:'#FFCC00', pth:'' } </script>

      this line of code,properly some special way to include :
      var ccm_cfg = { n:'1', pof:'1', dt:'1', tc:'#FFCC00', pth:'' }

      Cheers
      Chris



      Comment

      Working...