yes you are right, im very pensive today, :) thanks chris and mako "Chris Wesley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 11 Dec 2002, Mekrand wrote: > > > i solved problem, -not a good solution- > > i changed only > > $adam=fread($ip,filesize($ip)); > > You have: > $string = fread( $fileHandle, filesize( $fileHandle ) ); > > The example at php.net you looked at has: > $string = fread( $fileHandle, filesize( $fileName ) ); > > Just change your call to filesize() to use the file name as the argument. > No need to have a dirty solution, if you don't want to :) > > g.luck, > ~Chris >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php