Re: INAPPROPRIATE IOCTL ERROR

From: Date: Fri, 02 Feb 2001 17:59:08 +0000
Subject: Re: INAPPROPRIATE IOCTL ERROR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37878@lists.php.net to get a copy of this message
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"" <kif@angusinternet.com> wrote in message news:004701c08c4c$04003720$6634de3e@angus... > 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 i get an error > > fopen("http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&PropertyCo > de=1050003/SAPHI/14665/3","r") - > Inappropriate ioctl for device in /home/httpd/docs/test.php on line 6 > > So can someone please tell me, what the blazes an ioctl is and why do i have > an inappropriate one? > > The remote file is fine, > > Thanks > > Kif > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#37878) next »