Re: Closing file pointer

From: Date: Mon, 29 Jul 2002 08:35:53 +0000
Subject: Re: Closing file pointer
Groups: php.general 
Request: Send a blank email to php-general+get-110124@lists.php.net to get a copy of this message
> Suppose I'm opening a socket connection to a server on some >port, and I do some transactions, and generate html. But I 'm not >closing the file pointer(socket). Only after the user clicks 'logout' >or something should I close the file pointer. How do I do this?? >I'm not understanding how to keep track of the file pointer, >even after generating the html. Help. You're not understanding it because you can't do that. :-) When a single PHP script ends, *ALL* file pointers are closed. Period. Otherwise, you'd have a zillion dangling file pointers hanging around, from users that never did log out, and just surfed away to some other site. -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#110124) next »