RE: [PHP] String to Stream

From: Date: Fri, 05 Aug 2005 18:24:52 +0000
Subject: RE: [PHP] String to Stream
Groups: php.general 
Request: Send a blank email to php-general+get-220086@lists.php.net to get a copy of this message
[snip] 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? 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. [/snip] If you place the string into a variable then you would be able to work with it that way. There are probably better functions for dealing with a string than the ones you have mentioned (fseek is a file pointer).

« previous php.general (#220086) next »