Advertisement

10.28.2005 at 10:29AM PDT, ID: 21611894
[x]
Attachment Details

What does the 1 represent? - fread($file, 1)

Asked by jfill89 in PHP Scripting Language

Tags: , , ,

I am converting a script from PHP and I need to know what the following is doing.  I know it is reading the file, but what does the 1 mean?

fread($file, 1)

thanksStart Free Trial
 
 
Loading Advertisement...
 
[+][-]10.28.2005 at 10:52AM PDT, ID: 15181201

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Tags: does, php, what, fread
Sign Up Now!
Solution Provided By: mensuck
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.28.2005 at 12:26PM PDT, ID: 15181987

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.28.2005 at 01:32PM PDT, ID: 15182483

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.28.2005 at 01:57PM PDT, ID: 15182669

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32