Inappropriatte ioctl

From: Date: Thu, 01 Feb 2001 21:04:55 +0000
Subject: Inappropriatte ioctl
Groups: php.general 
Request: Send a blank email to php-general+get-37720@lists.php.net to get a copy of this message
help... ok, now this looks quite straightforward... $filename="http://remoteserver/path/file"; $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

« previous php.general (#37720) next »