Warning: fopen(./file_info/descriptions/QRZ_Scraper.txt.0) [function.fopen]: failed to open stream: Permission denied in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 261

Warning: fwrite(): supplied argument is not a valid stream resource in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 262

Warning: fclose(): supplied argument is not a valid stream resource in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 263

Warning: Cannot modify header information - headers already sent by (output started at /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php:261) in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 279

Warning: Cannot modify header information - headers already sent by (output started at /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php:261) in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 280

Warning: Cannot modify header information - headers already sent by (output started at /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php:261) in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 281

Warning: Cannot modify header information - headers already sent by (output started at /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php:261) in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 282

Warning: Cannot modify header information - headers already sent by (output started at /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php:261) in /home/uts/if/ifzb/banks/public_html/ham/downloads/index.php on line 283
#! /usr/bin/php // Roger Banks 30 Mar 2007 // This script is an html screen scraper. It is target at the details page // on the QRZ.Com website. It take a single argument containg the callsign // and returns the information from the website. $tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; $tag = 'Addr1'; $regexp = "/>$tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; $tag = 'Addr2'; $regexp = "/>$tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; $tag = 'Country'; $regexp = "/>$tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; $tag = 'State'; $regexp = "/>$tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; $tag = 'County'; $regexp = "/>$tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; $tag = 'Grid'; $regexp = "/>$tag:<\/td>(.*?)<\/b>/s"; preg_match($regexp, $html, $hit); print "$tag: ". $hit[1] . "\n"; ?