Guest User

Untitled

a guest
Jun 24th, 2017
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.                      
  3. $ftp_server = "ftp.0fees.net";
  4. $ftp_user = "fees0_6623900";
  5. $ftp_pass = "not for andrew";@h@
  6.  
  7. // set up a connection or die
  8. $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
  9.  
  10. // try to login
  11. if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) {
  12.     echo "Connected as $ftp_user@$ftp_server\n";
  13. } else {
  14.     echo "Couldn't connect as $ftp_user\n";
  15. }
  16.  
  17. // close the connection
  18. ftp_close($conn_id);  
  19. ?>
RAW Paste Data