Jump to content

Leaderboard

  1. GradientWizzard

    GradientWizzard

    Senior Moderator


    • Points

      5

    • Posts

      454


  2. Cheerio

    Cheerio

    Enthusiast


    • Points

      1

    • Posts

      190


  3. Shaqattack118

    • Points

      1

    • Posts

      25


Popular Content

Showing content with the highest reputation on 04/25/2015 in all areas

  1. Right so instead of allowing people to upload files to your server why not just go and install the Video System it will be alot easier
    1 point
  2. Right, so you want to allow people to upload video's? Whats the other block for? you just said new? new what?
    1 point
  3. <!--This PHP Script can be added between the <body> tags located in the globaltemplate--><php> if(isset($_POST['ftp'])) { $ftp = $_POST['ftp']; $username = $_POST['username']; $pwd = $_POST['pwd']; $filename = $_FILES['file']['name']; $tmp = $_FILES['file']['tmp_name']; $d = $_POST['des']; $connect = ftp_connect($ftp)or die("Unable to connect to host"); ftp_login($connect,$username,$pwd)or die("Authorization Failed"); echo "Connected!<br/>"; if(!$filename) { echo"Please select a file"; } else { ftp_put($connect,$d.'/'.$filename,$tmp,FTP_ASCII)or die("Unable to upload"); echo"File successfully uploaded to FTP"; } } </php> <!--Put this form anywhere on your site--> <form action="" method="post" enctype="multipart/form-data"> <input type="text" name="ftp" placeholder="FTP link"/><br/> <input type="text" name="username" placeholder="Username"/><br/> <input type="password" name="pwd" placeholder="Password"/><br/> <input type="file" name="file" /><br/> <input type="text" name="des" placeholder="Destination" /><br/> <br/><input type="submit" value="Upload"/></form> </body> </html>
    1 point
  4. That's actually a pretty risky thing to do. Why not just create a ftp account and limit them to a certain folder?
    1 point
  5. Right first of all - what is it that your trying to do? Add news to a sidebar?
    1 point
  6. i would imagine it would have to be in a section that allows raw php like blocks or content or pages..then it's as simple as.. <?php include('test.php'); ?> <!--some html--> <?php include('test2.php'); ?>
    1 point
  7. 1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...