RE: String to Stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
Again, I would like to treat the string as a stream.

One possible way to accomplish this would be to simply write the string 
to a temporary file, open the file with fopen and then use fscanf, 
fseek, etc. to process the text.

However, I am assuming there is an easier way (i.e. a method without the

file io overhead) to be able to treat the string as a stream.
[/snip]

Treating a string as a stream (the most common thing is to convert a
stream to a string and work with the string using the string functions I
showed you or writing custom functions) is going to incur additioanl
overhead. What, exactly, do you want to accomplish? Can you give an
example?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux