Posted: Thu Dec 15, 2005 5:19 pm
I can't say i'm familiar with what a string parser is???feyd wrote:I feel a string parser would fair a lot easier and faster (performance) to do this task.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
I can't say i'm familiar with what a string parser is???feyd wrote:I feel a string parser would fair a lot easier and faster (performance) to do this task.
A very good idea.Maybe i'll just use the PHP tokenizer
You build it totally out of PHP. A search string parsing example can be found here (along with a competing, regexp solution) as well as another example built for parsing HTML.I can't say i'm familiar with what a string parser is???
IndeedAmbush Commander wrote:Would you like me to write one?
That one.Or a more trivial PHP class which knows only the rules which I stipulate earlier???
And how would you go about reusing that regexp?Is that what Feyd meant? That was kinda the route I was hoping to avoid, because locating statements is JUST one task of many which I wanted to perform on the source code...
Thats what I thought you/Feyd meant...Ambush Commander wrote:A very good idea.Maybe i'll just use the PHP tokenizer
You build it totally out of PHP. A search string parsing example can be found here (along with a competing, regexp solution) as well as another example built for parsing HTML.I can't say i'm familiar with what a string parser is???
Problem is...the verison on my computer is 2.4 or some stupid thing...so I don't have PHP tokenizing functions...Ambush Commander wrote:Quite a bit of post phasing, hmm? Well, read my earlier post. Tokenizing all the way.
My website server has everything, but some times...I don't feel like cluttering my server with a bunch of projects...and then there's the fact...that some code...I like to keep confidential...having it on a shared host isn't a great ideaAmbush Commander wrote:Actually, it's really the MySQL setup (and making 4.1's passwords work with 4.0), which was the main problem with me. If you want, you can start a new thread and get your PHP up to date. You are missing out on a lot with such an ancient version.