You are here: Re: [PHP] String to Stream « PHP « IT news, forums, messages
Re: [PHP] String to Stream

Posted by Jochem Maas on 08/05/05 22:36

Eric Gorr wrote:
> This should be a fairly easy question for someone who already knows the
> answer...
>
> What I would like to be able to do is take a string and place it into a
> 'resource' so I can use functons like fscanf, fseek to process the string.
>
> Is this possible? If so, how?

http://php.net/manual/en/function.stream-wrapper-register.php is as close as it gets
I think. - total overkill for manipulating strings IMHO - (me thinks there is atleast
one other in agreement) - there is a reason php has all those built in string functions :-)

>
> p.s. While I would be interested in possible alternative solutions, I
> would like to know how to accomplish this task even if it does not end
> up being the solution I use.
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация