Expert help needed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Expert help needed

    echo "<div class='fileList'>";
    $thumb = str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
    $thumb = substr($thumb,0,strrpos($thumb,'.')).'.jpg';
    if(is_file($thumb)){
    echo "<img src='$thumb' /><br/>";
    }
    echo substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/><a style='color:orange;' href='".$file."'>Download File</a></div>";

    i want to include z.php in place of <a style='color:orange;' href='".$file."'>Download File</a>
    plz help

    http://WapTops.com- Get Real High Traffic
    http://WapFun.info-Fun 4 Wap

    #2
    Please Place this in your css style.css

    PHP Code:
    a.vb:link {
    color FF6600

    PHP Code:
    echo "<div class='fileList'>";
    $thumb str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
    $thumb substr($thumb,0,strrpos($thumb,'.')).'.jpg';
    if(
    is_file($thumb)){
    echo 
    "<img src='$thumb' /><br/>";
    }
    echo 
    substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/><a class='vb'  href='".$file."'>Download File</a></div>"
    Last edited by subzero; 01.10.09, 12:32.
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      ^ bro plz read carefully, i want 2 include z.php in place of <a style='color:orange;' href='".$file."'>Download File</a>

      http://WapTops.com- Get Real High Traffic
      http://WapFun.info-Fun 4 Wap

      Comment


        #4
        you want z.php to replace your link ?
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          Originally posted by subzero View Post
          you want z.php to replace your link ?
          ya bro. Bro. Plz tel

          http://WapTops.com- Get Real High Traffic
          http://WapFun.info-Fun 4 Wap

          Comment


            #6
            Try this

            include("z.php?link=$file");
            Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
            Visit: WapMasterz Coming Back Soon!
            _______
            SCRIPTS FOR SALE BY SUBZERO
            Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
            FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
            _______
            Info & Tips
            php.net
            w3schools.com

            Comment


              #7
              In z.php link is already there. See
              z.php contains following code
              <script type='text/javascript'>
              function focusWindow() {
              open('<?php echo $mob_ad_link;?>');
              }
              </script>
              <a style='color:orange;' href='".$file."' onclick='focusWindow()'>Download Above File</a>

              http://WapTops.com- Get Real High Traffic
              http://WapFun.info-Fun 4 Wap

              Comment


                #8
                <script language="JavaScript" type="text/javascript">
                function focusWindow() {
                open('<?php echo $mob_ad_link;?>');
                }
                </script>
                PHP Code:
                echo "<div class='fileList'>";
                $thumb str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
                $thumb substr($thumb,0,strrpos($thumb,'.')).'.jpg';
                if(
                is_file($thumb)){
                echo 
                "<img src='$thumb' /><br/>";
                }
                echo 
                substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/>";  
                echo
                "<a class=\"vb\"  href=\"".$file."\" onclick=\"focusWindow()\">Download File</a></div>"

                Comment


                  #9
                  Oh thanx anshul. Now working f9. Dis forum helped me alot. Now m addicted to CT

                  http://WapTops.com- Get Real High Traffic
                  http://WapFun.info-Fun 4 Wap

                  Comment

                  Working...
                  X