Syntax
int fseek (file_handle ,offset [, whence ] )
<?php
$file=fopen("roseindia.txt","r");
echo fread($file,240);
echo "<br><br>now
position set to 40 bytes <br><br>";
fseek($file,40);
echo fread($file,240);
?>
Output
This site contains many quality Java, JSP Tutorials, Hibernate
Tutorials,
Struts Tutorials, JSF Tutorials, RMI, MySQL Tutorials, Spring
Tutorials, source
codes and links to other java resources. We have large number of links
to the
tutorial
now position set to 40 bytes
P Tutorials, Hibernate Tutorials, Struts Tutorials, JSF Tutorials, RMI,
MySQL
Tutorials, Spring Tutorials, source codes and links to other java
resources. We
have large number of links to the tutorials on java which will help you
learn
java
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.