Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. <?php
  2. if (!$argv[1]) { print("Please enter the file path"); exit(); }
  3. else {
  4.     $fp=fopen($argv[1],'w');
  5.     fwrite($fp, '
  6.  
  7.  
  8.     hohoho
  9.  
  10.  
  11.     ');
  12.     fclose($fp);
  13.     print('the file has been created succesfuly');
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement