Harlequin wrote:
Hi all.
I've been through the PHP manual and wonder which file option will best suit
my needs.
I basically want to take a file that the user uploads and parse it into a
variable or string so I can insert it into a field in my database.
Do I use:
File()
creates an array
file_get
On Wednesday, November 26, 2003, at 12:44 PM, Jason Williard wrote:
I would like some assistance in creating a script that will parse a
file
line by line. The file that I need to parse has a designator at the
beginning of most lines. I need the script to search for a specific
designators (list
On Tue, 25 Nov 2003 17:44:09 -0800
"Jason Williard" <[EMAIL PROTECTED]> wrote:
...[snipped]...
> Does anyone have any ideas for me?
Okay, this is just an idea.
Use file() to put everything in an array.
http://www.php.net/manual/en/function.file.php
Then find a function here that would let y
Quiller wrote:
You can certainly do this with regular expressions, rewriting
your source file.
Why don't you just use Smarty templates and be over with it?
_justin
>
> This is for a very inefficient skin script I'm writing; the CMS I am using
> is based in PHP but generates static files, so in
4 matches
Mail list logo