View Single Post
Old 10-19-2004, 01:44 PM  
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
PHP Code:
$content implode(''file('http://www.domain.com/sup.txt'));
$fp fopen("file.txt""w");
if (
$fp) {
  
fwrite($fp$content);
  
fclose($fp);

A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote