View Single Post
Old 04-17-2005, 10:14 AM  
Naughty
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,484
Quote:
Originally Posted by prodiac
Code:
#!/usr/local/bin/perl
 
$file_orig = "_somefile.html";
$files = "filename_list.txt 
 
open (FILE, $files);      
@allfiles=<FILE>;     
close(FILE);   
 
foreach $name (@allfiles) {
 chop($name);
 system("/bin/cp $file_orig $name");
 }
 
exit;
And what if you want to edit the text between the TITLE tags on the html page as well, and in php instead of perl?
__________________
seks.ai for sale - ping me
Naughty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote