Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-06-15, 09:59 AM   #1
Jeremy
Remember to rebel against the authorities, kids!
 
Jeremy's Avatar
 
Join Date: Aug 2003
Location: AU
Posts: 406
Good thinking! That could well be the answer. I'm using AVG, MS Anti-Spyware and also have the MS SP2 Security Center running. Any one of those three could be checking the html file, which opens, appends and closes each time.

I've had a quick look at how WinXP can log things, but not in much details yet. Hopefully, that'd give me the definite answer.

This is the section of the code I'm using with the html output file bolded. It's probably not terribly elegant or efficient but as I'm a relative newbie to perl and it works okay outputting to txt files, it does the job currently. I can always rename the txt to html if necc :-)

Basically it reads each line of a file (http://domain.tld) into the variable and prints it out with an href around it and the domain.tld completing the link.

Code:
open (CLEANLINKSFILE, "$WorkingDir/InputLinks.txt");
	foreach $CleanedLinksGrab (<CLEANLINKSFILE>) 
		{
			chomp $CleanedLinksGrab;
			$CleanedLinks = "$CleanedLinksGrab";
			
			open (XENULINKSFILE, ">>$WorkingDir/OutputLinks.html");
			print XENULINKSFILE "<a href=\"$CleanedLinks\">$CleanedLinks</a><br>\n";
			close (XENULINKSFILE);
		
		} 	
close (CLEANLINKSFILE);
__________________
XXX Porno Hardcore
Jeremy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:54 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc