View Single Post
Old 10-19-2004, 01:47 PM  
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally posted by swedguy
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).
ty i owe you one
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote