Problem on fread!

From: Date: Tue, 14 May 2002 05:56:39 +0000
Subject: Problem on fread!
Groups: php.general 
Request: Send a blank email to php-general+get-97493@lists.php.net to get a copy of this message
Dear all I had a problem with fread function! I had a text file containning a date, so inside the text file, it was something look like this : 05032002 then now i want to read this file but want to seperate the dd -mm-yyyy, so i want to get the first two digit as the (day), then nex two as the (month) and last four as (year) to display in my "INPUT BOX". How i can read a file by telling it how much digit i want? -- Thx a lot! Jack nedcor4@nedcor.com.hk

« previous php.general (#97493) next »