Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Reading a Specific Character in php

Sun Oct 26, 2008 9:15 pm

Read a specific character in php, In this code i seek until i reach specific index
Code:
<?php

  $myfile 
"./test.txt";
  
$openfile fopen ($myfile"r") or die ("Couldn *** open the file");

  
fseek ($openfile10);
  
$chunk fgetc ($openfile);
  echo 
$chunk;

  
?>




Post a reply
  Related Posts  to : Reading a Specific Character in php
 Specific Colors for Specific Forum     -  
 character recognition     -  
 Character Operations     -  
 ANSI code value of character     -  
 Sending One lakh character in ajax     -  
 Find occurrences of each character in a string     -  
 Handle Key event-keyboard-Get typed Character and its code     -  
 character running automatically / jump /duck/ functions     -  
 Reading the all file in php     -  
 Multithreaded File Reading     -  

Topic Tags

PHP Files and I/O