Re: php + lynx + grep

From: Date: Tue, 06 Apr 2004 16:55:33 +0000
Subject: Re: php + lynx + grep
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-182500@lists.php.net to get a copy of this message
> Functions like system, exec etc aren't supported by most ISP > ( at least over here in germany ). But you might give > > file_get_contents(); > file(); > ... > > a look as they can read the output of HTTP request which might > be easier: > > $var = file > ( 'http://weather.noaa.gov/weather/current/KTOL.html' > ); > foreach ( $var AS $line ) { > if ( preg_match( "41-35-19N" , $var ) ) > ... etc pp > } I am the ISP, but I'll try that and see if it helps... (o; ---------------------------------------------------------------- | Brian Ollom | | | NiteHawke.Com | http://www.nitehawke.com/ | | An Authorized Firefly Dealer | email bollom@nitehawke.com | ----------------------------------------------------------------

« previous php.general (#182500) next »