Advertisement
vishnu3006

Untitled

Sep 30th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. $nodes_id = $node->nid;
  2.   $contents = freeway_dashboard_build_filter_query($nodes_id);
  3.  
  4.   while ($latest_node = db_fetch_object($contents)) {
  5.    
  6.      $body = $latest_node->body ;
  7.      $fh = fopen("myfileV.txt", "w+");
  8.  
  9.         if($fh==false)
  10.         die("unable to create file");
  11.  
  12.     fwrite($fh, $body);
  13.  
  14.     $file = file_get_contents("myfileV.txt");
  15.     $byteArr = str_split($file);   
  16.     $byteArr = array_map('ord', $byteArr);
  17. ....
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement