Re: [PHP] Inappropriate ioctl for device

2001-02-03 Thread Richard Lynch
> $filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&Proper > tyCode=1050003/SAPHI/14665/3"; Shouldn't that second ? be a & instead?... > $file=fopen($filename,"r") or die("cant open $filename"); > while(!feof($file)){ > $line=fgets($file,4096); > echo $line; > } > > but when

[PHP] Inappropriate ioctl for device

2001-02-01 Thread Kif
help... ok, now this looks quite straightforward... $filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&Proper tyCode=1050003/SAPHI/14665/3"; $file=fopen($filename,"r") or die("cant open $filename"); while(!feof($file)){ $line=fgets($file,4096); echo $line; } but when i run it