No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I am trying to understand & code web crawling. I want to crawl only my local data[Pages related to a particular site]. Apart from that i want to fetch only particular data from the related web page. I also have to store the fetched data in a mysql database. … |
|
Hi All, I am trying a simple program in PERL, but unable to get it working [CODE] $log="test.log"; open(LOGFILE, $log) or die("Could not open log file."); foreach $line (<LOGFILE>) { chomp($line); if($line eq "Raghu") { print "Found a group\n"; $var=<LOGFILE>; chomp($var); print "$var\n"; } } [/CODE] Whenever the line contains … |
|
How to toggle check boxes using JavaScript in Linux? I was able to do the same in Windows with the below code.... [code] function toggle_checkboxes(id) { if (!document.getElementById){ return; } if (!document.getElementsByTagName){ return; } var inputs = document.getElementById(id).getElementsByTagName("input"); for(var x=0; x < inputs.length; x++) { if (inputs[x].type == 'checkbox'){ inputs[x].checked … |
|
Hi , I am trying to use XDR to encode an integer variable. I am trying to use xdr_int function [icode] xdr_int(&xdrs, &i); [/icode] But to use this function I have to set XDR_ENCODE somewhere. I am unable to go about how to do this. How should I proceed? |
|
Hi All, I want to write a generic function which takes in a void pointer and length as input and writes the data referenced by the pointer to a file. Another generic function which takes in a void pointer, length and offset and reads back the data to the memory … |