View Single Post
Old 09-19-2004, 08:54 PM  
archael
Registered User
 
Join Date: Jun 2003
Posts: 51
Well I was able to get it to work perfectly for one but I have 227 pages to get done. So now it looks like the script is timing out or something and its not creating anything. Heres what I have:

$body1 = `$pathof/search1.pl`;

$body2 = `$pathof/search2.pl`;

$body3 = `$pathof/search3.pl`;

down to 227, then I have this:

open(PAGE,">$pathoff/search1.html") or die "Writing Failed\n";
print PAGE "$html $body1 $htmlll\n";
close(PAGE);

open(PAGE,">$pathoff/search2.html") or die "Writing Failed\n";
print PAGE "$html $body2 $htmlll\n";
close(PAGE);

open(PAGE,">$pathoff/search3.html") or die "Writing Failed\n";
print PAGE "$html $body3 $htmlll\n";
close(PAGE);

Any faster way of getting this done so I dont have to put them all in different scripts?

Thanks,
Jon

By the way, $html and $htmlll are the header and footer but those work properly.
archael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote