10-19-2004, 01:47 PM
|
|
|
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 
|
|
|