> > If you use the file() function to open up the file, it will > > put each line of the file into an array. At that point you > > can say: > But how can i put into a var $total the total lines that i > have into the file? After you've used the file() function as suggestion above, the total number of lines in the file is: count( $myFile ); Chris
- RE: [PHP] Lines Boget, Chris
- RE: [PHP] Lines Maxim Maletsky
- RE: [PHP] Lines Rafael Faria
- [PHP] Upload a File Rafael Faria
- Re: [PHP] Upload a File Rafael Faria
- Re: [PHP] Upload a File Rasmus Lerdorf
- [PHP] Count.... Rafael Faria
- RE: [PHP] Count.... Henning Kilset Pedersen
- RE: [PHP] Count.... ... Henning Kilset Pedersen
- RE: [PHP] Lines Maxim Maletsky
- RE: [PHP] Lines Jason Murray