Re: [PHP] INAPPROPRIATE IOCTL ERROR

2001-02-02 Thread Nathan Crause
An IOCTL (Input/Ouput Control) is an OS's internal mechanism for dealing with ANYTHING pertaining to Input and Output (in your case a URL). I'm not 100% sure of this, but you may simply be suffering from a typing error. Perhaps "cgi-win" should read "cgi-bin" ""Kif"" <[EMAIL PROTECTED]> wrote

[PHP] INAPPROPRIATE IOCTL ERROR

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